ZM from SVN problems

Forum for questions and support relating to the 1.24.x releases only.
Locked
SteveWrightNZ
Posts: 7
Joined: Thu Jan 13, 2011 10:18 am
Location: New Zealand

ZM from SVN problems

Post by SteveWrightNZ »

Greetings,

svn co http://svn.zoneminder.com/svn/zm/trunk zm

Built and running mostly ok on Ubuntu 10.04.2 LTS on AMD Athlon(tm) 64 Processor 3000+


Except, ZM does not survive a reboot unless I do a fresh `make install`

After a fresh reboot ;

root@zm:~# /etc/init.d/zm restart
Stopping ZoneMinder: Warning, overriding installed ./zm.conf file with local copy
failure
Starting ZoneMinder: Warning, overriding installed ./zm.conf file with local copy
Can't connect: No such file or directory at /usr/local/share/perl/5.10.1/ZoneMinder/Debug.pm line 349
ZoneMinder::Debug::Fatal('Can\'t connect: No such file or directory') called at /usr/local/bin/zmdc.pl line 168
failure

root@zm:~# cd /usr/src/zm/ && make install 2>&1 >>/dev/null && /etc/init.d/zm restart
Stopping ZoneMinder: Warning, overriding installed ./zm.conf file with local copy
failure
Starting ZoneMinder: Warning, overriding installed ./zm.conf file with local copy
success
root@zm:/usr/src/zm#


Also, ZM waits for an event as it should, and then stays recording for hours.


Any hint?

Thanks,
Steve
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The warnings you are getting imply that you are starting ZM from somewhere that has a local zm.conf file. Try cd'ing somewhere else and trying again.
Phil
nogero
Posts: 14
Joined: Fri Apr 22, 2011 5:32 pm

Re: ZM from SVN problems - won't start

Post by nogero »

I am now getting the similar error. ZM will not start with message:
---
# /etc/init.d/zm start
Starting ZoneMinder: Can't connect: No such file or directory at /usr/local/share/perl/5.10.1/ZoneMinder/Debug.pm line 349
ZoneMinder::Debug::Fatal('Can\'t connect: No such file or directory') called at /usr/local/bin/zmdc.pl line 168
failure

---
I am not in a folder that contains a zm.conf.
Running Ubuntu 11.04 64bit Zoneminder 1.24.3 from SVN, FFmpeg, libjpeg-turbo, Webmin, Cambozola
nogero
Posts: 14
Joined: Fri Apr 22, 2011 5:32 pm

Re: ZM from SVN problems

Post by nogero »

I got it to start but don't understand how.

- I noticed the folder /tmp/zm did not exist so I re-created it. I reboot system yesterday. I tried to restart zm and it still failed.

- then I cleaned log files in /var/log/zm so I could catch a fresh log of failure

After that it restarted just fine.
Running Ubuntu 11.04 64bit Zoneminder 1.24.3 from SVN, FFmpeg, libjpeg-turbo, Webmin, Cambozola
Locked