Zoneminder fails to startup!

Forum for questions and support relating to the 1.25.x releases only.
Locked
User avatar
teraquad
Posts: 90
Joined: Fri Mar 09, 2012 2:03 pm
Location: New Bern, NC

Zoneminder fails to startup!

Post 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!
Fedora 23, ZM 1.28
N4ZPO (ham Radio)
8)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: Zoneminder fails to startup!

Post 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.
Paranoid
Posts: 129
Joined: Thu Feb 05, 2009 10:40 pm

Re: Zoneminder fails to startup!

Post 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
User avatar
teraquad
Posts: 90
Joined: Fri Mar 09, 2012 2:03 pm
Location: New Bern, NC

Re: Zoneminder fails to startup!

Post 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	
Fedora 23, ZM 1.28
N4ZPO (ham Radio)
8)
snerfu
Posts: 8
Joined: Wed Jun 06, 2012 11:05 pm

Re: Zoneminder fails to startup!

Post 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!
User avatar
teraquad
Posts: 90
Joined: Fri Mar 09, 2012 2:03 pm
Location: New Bern, NC

Re: Zoneminder fails to startup!

Post 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!
Fedora 23, ZM 1.28
N4ZPO (ham Radio)
8)
mcouture
Posts: 32
Joined: Sun Jan 20, 2008 2:15 pm
Location: US/Maine

Re: Zoneminder fails to startup!

Post 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!
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Zoneminder fails to startup!

Post by bb99 »

Maybe the 1.25.0-1 package available via yum could give you a working system.
mcouture
Posts: 32
Joined: Sun Jan 20, 2008 2:15 pm
Location: US/Maine

Re: Zoneminder fails to startup!

Post 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?
Locked