ZM 1.22 'zmpkg.pl start' Cannot Get it to Start

Support and queries relating to all previous versions of ZoneMinder
Locked
wolfram
Posts: 29
Joined: Sat Nov 26, 2005 12:36 pm

ZM 1.22 'zmpkg.pl start' Cannot Get it to Start

Post by wolfram »

Hi All,
I have installed ZM 1.22. Everything went very well so far.
Here is my problem when I tried to run ZM.

The command : zmpkg.pl start
Gives me:
Can't connect: Connection refused at /usr/lib/perl5/site_perl/5.8.7/ZoneMinder/Debug.pm line 321
ZoneMinder::Debug::Fatal('Can\'t connect: Connection refused') called at /usr/local/bin/zmdc.pl line 141

OK When I check the zm.conf I have db, user,password set. And I cann manually log into mysql with these settings.
When I change the password in the zm.conf file I get many other errors, so I assume the password and user name is correct.

Now here is the logfile output of zmpkg.log:

02/28/06 21:42:47.058687 zmpkg[12076].INF [Command: start]
02/28/06 21:42:57.903584 zmpkg[12076].ERR [Unable to run 'su nobody -c '/usr/local/bin/zmdc.pl startup'', output is 'Starting server']

Does anybody know where to look for an entry point to my errors ?

Regards Wolfram

:?:
wolfram
wolfram
Posts: 29
Joined: Sat Nov 26, 2005 12:36 pm

Forgot zmdc.log infos

Post by wolfram »

I forgot to post this log of zmdc.log

02/28/06 21:42:47.825016 zmdc[12093].INF [Server starting at 06/02/28 21:42:47]
02/28/06 21:42:50.056132 zmdc[12093].FAT [Can't bind: Address already in use]
02/28/06 21:42:57.890625 zmdc[12091].FAT [Can't connect: Connection refused]
tmp #
Does anyone have an idea what it tries to bind ?
wolfram
wolfram
Posts: 29
Joined: Sat Nov 26, 2005 12:36 pm

Delete zmdc.sock..helps but why...

Post by wolfram »

I did a delete to the zmdc.sock file and I could start

zmpkg.pl start

without an error message.

What I dont know is why is this sock file still there shouldn t it be delete by the zmpkg.pl script before it tries to create it new ?

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

Post by zoneminder »

Yes, it should if it closed down properly and it has permissions. If it is killed or crashes then it may get left behind.
Phil
Locked