apache2 refuses to start, Zoneminder crashing
Posted: Sun Aug 28, 2011 12:08 am
I just installed Zoneminder 1.24 via RPM. apache2 fails to start given some preset (default) Zoneminder config, and zm crashes almost immediately after it was started:
Could anyone please help me with these errors?
Thank You.
and then:linux@linux-vzzc:~ # rcapache2 start
Starting httpd2 (prefork) Syntax error on line 3 of /etc/apache2/conf.d/zm.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
I should note that even when apache2 did actually start (only once after installing zm), that the same permissions error caused zoneminder service to crash shortly after it started.linux@linux-vzzc:~ # rczm start
Starting ZoneMinder Daemon done
linux@linux-vzzc:~ # sudo: unable to execute /usr/bin/zmfix: Permission denied
dunno about the first error, but from my end mysql service is installed and running fine:linux@linux-vzzc:~ # chkconfig zm on
insserv: FATAL: service mysql has to be enabled to use service zm
insserv: FATAL: service apache2 has to be enabled to use service zm
insserv: Service syslog is missed in the runlevels 4 to use service vboxdrv
insserv: Service network is missed in the runlevels 2 to use service VMware
insserv: exiting now!
/sbin/insserv failed, exit code 1
insserv: FATAL: service mysql has to be enabled to use service zm
insserv: FATAL: service apache2 has to be enabled to use service zm
insserv: Service syslog is missed in the runlevels 4 to use service vboxdrv
insserv: Service network is missed in the runlevels 2 to use service VMware
insserv: exiting now!
/sbin/insserv failed, exit code 1
While I'm posting, and this is not working with apache2, could anyone please point me to directions on how to get Zoneminder working with lighttpd? apache2 is not my favorite webserver.linux@linux-vzzc:~ # ps -a
PID TTY TIME CMD
9260 pts/0 00:00:00 mysqld_safe
9380 pts/0 00:00:00 mysqld
9451 pts/0 00:00:00 su
9457 pts/0 00:00:00 bash
9472 pts/0 00:00:00 ps
Could anyone please help me with these errors?
Thank You.