Cannot start ZoneMinder, HELP!

Support and queries relating to all previous versions of ZoneMinder
Locked
yg1976
Posts: 4
Joined: Tue Jan 24, 2006 1:39 pm
Location: Manchester, England

Cannot start ZoneMinder, HELP!

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
yg1976
Posts: 4
Joined: Tue Jan 24, 2006 1:39 pm
Location: Manchester, England

Post by yg1976 »

DOH! yep that was it. syslog was not running.

Whahey its running, cheers.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Good. Another satisfied customer! :D
Phil
Locked