zm can't start

Forum for questions and support relating to the 1.24.x releases only.
Locked
madmatrix
Posts: 11
Joined: Wed May 18, 2011 8:59 pm

zm can't start

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

Re: zm can't start

Post 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.
Phil
madmatrix
Posts: 11
Joined: Wed May 18, 2011 8:59 pm

Re: zm can't start

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

Re: zm can't start

Post by zoneminder »

Not sure then. Maybe try chkconfig del and then add it again?
Phil
Locked