Installed but status is Stopped via URL but running in cli

Forum for questions and support relating to the 1.24.x releases only.
Locked
canadadry
Posts: 4
Joined: Sun May 03, 2009 7:39 am

Installed but status is Stopped via URL but running in cli

Post by canadadry »

I just installed zoneminder on Centos. After a couple hours figuring it out. When you start the service in the command line it start fine. When you go to the webpage on the top is states stopped. Even when you click on it and go to start it refreshes as stopped.

Does anyone have any ideas?
canadadry
Posts: 4
Joined: Sun May 03, 2009 7:39 am

Error log update

Post by canadadry »

when looking into the /var/log/httpd/error I notice a couple messages like the one below:

[error] [client 192.168.4.158] PHP Warning: symlink() [<a>function.symlink</a>]: Permission denied in /var/www/html/zone/includes/actions.php on line 1169, referer: http://192.168.4.199/zone/index.php
mitch
Posts: 169
Joined: Thu Apr 30, 2009 4:18 am

Post by mitch »

One common issue is the web interface (more importantly php scripts) must run as the user zoneminder was configured with (ie apache) if they are running as a different user then it won't be able to communicate with the zm backend properly so the web interface will seem detached.
mitch
Posts: 169
Joined: Thu Apr 30, 2009 4:18 am

Post by mitch »

the symlink error means the user php scripts execute as does not have write permission to the events folder. Make sure the php user has ownership access on all of the zoneminder folders the install should take care of this again if the user is wrong that would also explain it.
canadadry
Posts: 4
Joined: Sun May 03, 2009 7:39 am

Specify a user....

Post by canadadry »

How do you specify a user? ATM it's open.
canadadry
Posts: 4
Joined: Sun May 03, 2009 7:39 am

Post by canadadry »

what's the location of the "events" directory?
Locked