Page 1 of 1
Installed but status is Stopped via URL but running in cli
Posted: Sun May 03, 2009 7:44 am
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?
Error log update
Posted: Sun May 03, 2009 7:50 am
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
Posted: Sun May 03, 2009 7:51 am
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.
Posted: Sun May 03, 2009 7:56 am
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.
Specify a user....
Posted: Sun May 03, 2009 8:46 am
by canadadry
How do you specify a user? ATM it's open.
Posted: Sun May 03, 2009 8:49 am
by canadadry
what's the location of the "events" directory?