Page 1 of 1

zm can't start

Posted: Wed May 18, 2011 9:06 pm
by madmatrix
Hi All,

I'm a newbie to zoneminder. This is pretty cool application as I think. I have installed centos 5.6 server. At the last step of installation, when I tried to start zm by "service zm start". It gave me the error "env: /etc/init.d/zm: No such file or directory". But this file is there and has correct privilege: -rwxr-xr-x 1 root root 2649 May 18 15:52 /etc/init.d/zm.

I copied this file from the installation package of version 1.24.3. I manually ran the command "zmpkg.pl start" and succeeded. I tried "stop" and "restart". All good. So I guess I miss something for the server start script. Could someone help me on this? Thanks a lot!

Lou

Re: zm can't start

Posted: Wed May 18, 2011 9:13 pm
by zoneminder
You probably need to do

Code: Select all

chkconfig --add zm
so that the symbolic links to the rcX.d directories are set up.

Re: zm can't start

Posted: Wed May 18, 2011 9:48 pm
by madmatrix
zoneminder wrote:You probably need to do

Code: Select all

chkconfig --add zm
so that the symbolic links to the rcX.d directories are set up.
Thank you for quick response. I checked the chkconfig.
zm 0:off 1:off 2:on 3:on 4:on 5:on 6:off

It's already there. But anyway I run the command you advised. It still complained about path. :(

Re: zm can't start

Posted: Fri May 20, 2011 9:49 am
by zoneminder
Not sure then. Maybe try chkconfig del and then add it again?