Page 1 of 1

ZM from SVN problems

Posted: Wed Feb 09, 2011 10:28 pm
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

Posted: Fri Feb 11, 2011 12:21 pm
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.

Re: ZM from SVN problems - won't start

Posted: Mon May 16, 2011 6:28 pm
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.

Re: ZM from SVN problems

Posted: Mon May 16, 2011 6:35 pm
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.