Page 1 of 1

Zoneminder fails to startup!

Posted: Mon Jun 04, 2012 10:27 am
by teraquad
Hi, Again....

Upon installation and database setup, i find that i am unable to start zoneminder. I have noticed that the zoneminder service is not running and reports an error, also i am unable to find logs under /var/log/zoneminder. The time zone also appears to be incorrect as the time does not represent current local time.

Thanks to all!

Re: Zoneminder fails to startup!

Posted: Tue Jun 05, 2012 6:29 am
by cordel
Since I think I'm the only one that created a package for Fedora that actually put logs in /var/log/zoneminder you might want to check /tmp for the logs.
Trying to start it manually from the command line will likely give you some hint as well.

Re: Zoneminder fails to startup!

Posted: Tue Jun 05, 2012 9:22 am
by Paranoid
The timezone being displayed might be controlled by PHP.
Look under the /etc directory for a file called "php.ini" (there might be more than one) and within this file you will find a line like this:

date.timezone = 'UTC'

Change the timezone to your one and restart apache. You can find a list of valid timezones here: http://www.php.net/manual/en/timezones.others.php

Re: Zoneminder fails to startup!

Posted: Tue Jun 05, 2012 10:36 am
by teraquad
Hi,

Thanks for the replys. I am not sure how to start it via command line. perhaps an example is in order. I have changed the timezone in php.ini and found it to now display correctly. I initally had a problem with mysql starting at boot time. but i think i have that problem cleared up now. I will look for the log files.

Thanks again!

Code: Select all

2012-06-05 06:43:02.640844	zmfix	2120	ERR	Can't stat /dev/video1: Permission denied	zmfix.cpp	86
2012-06-05 06:43:02.639262	zmfix	2120	ERR	Can't stat /dev/video0: Permission denied	zmfix.cpp	86
2012-06-05 06:43:02.579335	web_js	981	ERR	form.elements['newMonitor[Channel]'] is undefined	zm/index.php	69
2012-06-05 06:42:25.976186	zmfix	1950	ERR	Can't stat /dev/video0: Permission denied	zmfix.cpp	86
2012-06-05 06:42:25.813039	web_js	1852	ERR	form.elements['newMonitor[Channel]'] is undefined	zm/index.php	68
2012-06-04 05:52:35.328460	zmpkg	2357	ERR	Unable to find valid 'su' syntax	zmpkg.pl	
2012-06-04 05:52:35.148860	zmpkg	2357	INF	Command: start	zmpkg.pl	
2012-06-03 20:31:05.606680	zmpkg	7534	ERR	Unable to find valid 'su' syntax	zmpkg.pl	
2012-06-03 20:31:05.545550	zmpkg	7534	INF	Command: start	zmpkg.pl	
2012-06-03 20:31:00.242860	zmpkg	7262	ERR	Unable to find valid 'su' syntax	zmpkg.pl	
2012-06-03 20:31:00.043350	zmpkg	7262	INF	Command: start	zmpkg.pl	

Re: Zoneminder fails to startup!

Posted: Thu Jun 07, 2012 11:20 pm
by snerfu
This looks like an selinux problem to me? Try "setenforce 0" as root and see if you can start it. That will only stay until you reboot. If that is the problem edit /etc/selinux/conf <--I forgot the exact name of the file and set enforcing to disabled, or try and fix selinux!

Re: Zoneminder fails to startup!

Posted: Sun Jun 10, 2012 10:42 am
by teraquad
Thanks for the reply.

The problem is solved. It was a combination of the database and services not starting properly.

Again, thanks for the reply!

Re: Zoneminder fails to startup!

Posted: Mon Jun 18, 2012 6:31 pm
by mcouture
How does one get Zoneminder to run under Fedora 17 ???

libgnutls-openssl.so.26 is no longer supplied in Fedora 17 and Zoneminder requires this library.....

Please help!

Re: Zoneminder fails to startup!

Posted: Wed Jun 20, 2012 1:44 am
by bb99
Maybe the 1.25.0-1 package available via yum could give you a working system.

Re: Zoneminder fails to startup!

Posted: Thu Jun 21, 2012 12:57 pm
by mcouture
bb99 -

Been there tried that.

Still fails to start due to libgnutls-openssl.so.26 not being there...and following the Fedora bugzilla threads, they are no longer supplying this library in Fedora.

Help?