Zoneminder Config files location

Grinas

Contributor
Joined
May 4, 2017
Messages
174
I had zoneminder installed as a plugin. I stopped zoneminder(service zoneminder stop) and did a manual update and now it wont start.

Code:
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/local/lib/perl5/site_perl/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/local/lib/perl5/site_perl/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/local/lib/perl5/site_perl/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 34.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 34.
root@zoneminder:/ # service apache24 restart
apache24 does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable


I check the supposed config file(/usr/local/etc/zm.conf) but they dont appear to have any of my settings backup. Anyone know where they could be so I can delete this one and start again.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
What does sysrc -a show?
 

Grinas

Contributor
Joined
May 4, 2017
Messages
174
thanks for getting back to me.

Code:
root@zoneminder:/ # sysrc -a
cron_flags:  -J 15
fcgiwrap_enable: YES
fcgiwrap_flags: -c 4
fcgiwrap_socket_owner: www
fcgiwrap_user: www
hostname: zoneminder
ifconfig_epair0b: DHCP
ipv6_activate_all_interfaces: YES
mysql_enable: YES
nginx_enable: YES
php_fpm_enable: YES
sendmail_enable: NO
sendmail_msp_queue_enable: NO
sendmail_outbound_enable: NO
sendmail_submit_enable: NO
syslogd_enable: yes
zoneminder_enable: yes
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
So there it is. You don't have Apache, it's nginx.
 

Grinas

Contributor
Joined
May 4, 2017
Messages
174
I just delete the jail and started again as it was a lot quicker

Thanks for the help
 
Top