Page 1 of 1

Cannot start ZoneMinder, HELP!

Posted: Tue Jan 24, 2006 1:50 pm
by yg1976
Any help would be greatly appreciated , grovel grovel grovel. :(

I am trying to run ZM 1.22.0 on Ubuntu 5.10 on a lowly Pentium 2 with 256 MB of RAM.

Apache2 is up and running with all required modules,
MySQL up and running with ZM tables and users setup.
PHP installed and working ok, i think.

I compiled and installed from source and after a day or so fixing problems I am nearly there,
but ZM wont start when i type 'zmpkg.pl start'

Below are the errors i get:

root@ubuntu:/usr/local/bin# ./zmpkg.pl start
getservbyname failed for tcp at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 221
unix dgram connect: No such file or directory at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 221
stream /dev/conslog is not writable at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 221
console is not writable at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 221
no connection to syslog available at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 221
root@ubuntu:/usr/local/bin#

PLEASE PLEASE PLEASE anyone who knows about syslog or logging issues, please throw me a life line.

Posted: Tue Jan 24, 2006 2:54 pm
by zoneminder
Do you have a syslogd running?

Either way, I think you can disable script syslogging if you edit the scripts/ZoneMinder/lib/ZoneMinder/Debug.pm file and change the line

Code: Select all

our $dbg_to_syslog = DBG_INFO;
to

Code: Select all

our $dbg_to_syslog = DBG_NOSYSLOG;
then reinstall (or change the installed one if you can find it).

I've not tried it but hopefully it won't then try and open the syslogger from the scripts, though it still will from the binaries but they don't seem to generate this kind of error.

Posted: Tue Jan 24, 2006 4:17 pm
by yg1976
DOH! yep that was it. syslog was not running.

Whahey its running, cheers.

Posted: Tue Jan 24, 2006 8:17 pm
by zoneminder
Good. Another satisfied customer! :D