[SOLVED] Zonminder fails to start on boot
Posted: Tue Nov 23, 2010 6:01 pm
Need a little help, system is a Dell Poweredge 4600 running 10.04 32bit. Followed this guide to get zoneminder working: http://www.zoneminder.com/wiki/index.ph ... 2C_etc.%29
Only problem is that I get this error on boot:
Zoneminder starts successfully after boot from either CLI or web console
Only problem is that I get this error on boot:
Code: Select all
* Starting AppArmor profiles [80G
[74G[ OK ]
Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 45.
failure
* Starting MD monitoring service mdadm --monitor [80G
[74G[ OK ]
* Starting web server apache2 [80G
[74G[ OK ]