Unable to start ZM

Forum for questions and support relating to the 1.24.x releases only.
Locked
planet4
Posts: 3
Joined: Thu May 26, 2011 10:20 am

Unable to start ZM

Post by planet4 »

Hi! I have installed ZM 1.24.3 on ubuntu 64bit today and after installation it runs fine. The problem is after reboot. The etc/init.d script was created but when I start it manually it tells me:

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 have tried all kinds of configuration without succsess. Any one who has the same problem?
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Unable to start ZM

Post by mastertheknife »

Open /usr/bin/zmdc.pl (or /usr/bin/local/zmdc.pl depending on your installation) with an editor
Find this piece of code:

Code: Select all

socket( CLIENT, PF_UNIX, SOCK_STREAM, 0 ) or Fatal( "Can't open socket: $!" );

my $saddr = sockaddr_un( SOCK_FILE );
my $server_up = connect( CLIENT, $saddr );
Add this above it:

Code: Select all

mkdir(ZM_PATH_SOCKS);
mastertheknife
Kfir Itzhak.
planet4
Posts: 3
Joined: Thu May 26, 2011 10:20 am

Re: Unable to start ZM

Post by planet4 »

Wonderful! Works perfect. Thanks for a very quick reply.

:D
Locked