Starting over with fresh install

Forum for questions and support relating to the 1.28.x releases only.
Locked
keyboardgnome
Posts: 63
Joined: Sat Apr 08, 2006 10:18 pm

Starting over with fresh install

Post by keyboardgnome »

Thanks folks, in advance. I was using ZM 1.24 and decided to update it. With my setup, it was working great, but there were some new things that I wanted to do with it which caused the direction to update.

I have two camera sources: AXIS M2014-E and an AXIS M7014

Both were previously using ffmpeg to send their related rtsp streams to zoneminder. No problems, 30fps on all cameras. Life was peachy.

I saved the settings I used for the camera's, however even with version 1.25, I cannot connect back to the cameras. I've recompiled ffmpeg from scratch, and there's still an issue.

I stupidly forgot to save my previous settings for /etc/sysctl.conf, but I'm using

kernel.shmall = 33554432
kernel.shmmax = 536870912

Regardless, at this point, I'm just trying to get 1.28 installed on a fresh Debian Wheezy system.

Following the build instructions at https://github.com/ZoneMinder/ZoneMinder on how to build a 1.28 .deb

causes a failure with this patch https://github.com/ZoneMinder/ZoneMinde ... -perl.diff

The error is:

dpkg-buildpackage;
dpkg-buildpackage: source package zoneminder
dpkg-buildpackage: source version 1.28.0-wheezy
dpkg-buildpackage: source changed by Isaac Connor <iconnor@connortechnology.com>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build zoneminder
debian/rules clean
dh clean --with quilt,autoreconf
dh_testdir
dh_auto_clean
dh_quilt_unpatch
No patch removed
dh_autoreconf_clean
debian/rules override_dh_clean
make[1]: Entering directory `/root/zoneminder'
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make distclean
dh_clean
make[1]: Leaving directory `/root/zoneminder'
dpkg-source -b zoneminder
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: warning: source directory 'zoneminder' is not <sourcepackage>-<upstreamversion> 'zoneminder-1.28.0'
dpkg-source: info: building zoneminder in zoneminder_1.28.0-wheezy.tar.gz
dpkg-source: info: building zoneminder in zoneminder_1.28.0-wheezy.dsc
debian/rules build
dh build --with quilt,autoreconf
dh_testdir
dh_quilt_patch
Applying patch 01_vendor-perl.diff
patching file configure.ac
Hunk #1 FAILED at 443.
1 out of 1 hunk FAILED -- rejects in file configure.ac
Patch 01_vendor-perl.diff can be reverse-applied
dh_quilt_patch: quilt --quiltrc /dev/null push -a || test $? = 2 returned exit code 1
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2




Finally, obligatory shared memory information and other bits.

8 Gig's of RAM

Linux camserver 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64 GNU/Linux

ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 3906250
max total shared memory (kbytes) = 2048000
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767

------ Messages Limits --------
max queues system wide = 15823
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
keyboardgnome
Posts: 63
Joined: Sat Apr 08, 2006 10:18 pm

Re: Starting over with fresh install

Post by keyboardgnome »

Looks like the patch applied already, so I nulled the patch and tried again. The compile moved forward. Running 1.28

but now it looks like all the skin stuff for zoneminder is all jacked up (text is there, none of the html formatting is there)

and the cameras now work again like they did before! it's just not pretty to look at and configure :)
keyboardgnome
Posts: 63
Joined: Sat Apr 08, 2006 10:18 pm

Re: Starting over with fresh install

Post by keyboardgnome »

Yup, rebooted... now this

Notice: Use of undefined constant ZM_SKIN_DEFAULT - assumed 'ZM_SKIN_DEFAULT' in /usr/share/zoneminder/index.php on line 63

Notice: Use of undefined constant ZM_SKIN_DEFAULT - assumed 'ZM_SKIN_DEFAULT' in /usr/share/zoneminder/index.php on line 64

Notice: Use of undefined constant ZM_CSS_DEFAULT - assumed 'ZM_CSS_DEFAULT' in /usr/share/zoneminder/index.php on line 72

Notice: Use of undefined constant ZM_CSS_DEFAULT - assumed 'ZM_CSS_DEFAULT' in /usr/share/zoneminder/index.php on line 73

Fatal error: Call to undefined function Fatal() in /usr/share/zoneminder/index.php on line 82
keyboardgnome
Posts: 63
Joined: Sat Apr 08, 2006 10:18 pm

Re: Starting over with fresh install

Post by keyboardgnome »

Turns out that if i define those constants in index.php, everything works!
Locked