on reboot pdnsd + zoneminder fail to start,

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

on reboot pdnsd + zoneminder fail to start,

Postby Dudeman » Sat Feb 22, 2014 2:06 pm

Finally got zoneminder, built from source, up and running but it never restarts properly upon reboot, it seems the mysql database isn't ready yet for connections as it can't connect to the db. If I restart it manually its fine.

$this->bbcode_second_pass_code('', '
zoneminder.service - Capture, analyse, record and monitor video security cameras
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Sat 2000-01-01 01:25:20 CET; 14 years 1 months ago
Process: 178 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)

Jan 01 01:25:20 u3 zmpkg.pl[178]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/site_perl/ZoneMinder/Config.pm line 89.
Jan 01 01:25:20 u3 zmpkg.pl[178]: Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/site_perl/ZoneMinder/Config.pm line 91.
Jan 01 01:25:20 u3 zmpkg.pl[178]: BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/ZoneMinder/Config.pm line 100.
Jan 01 01:25:20 u3 zmpkg.pl[178]: Compilation failed in require at /usr/share/perl5/site_perl/ZoneMinder.pm line 33.
Jan 01 01:25:20 u3 zmpkg.pl[178]: BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/ZoneMinder.pm line 33.
Jan 01 01:25:20 u3 zmpkg.pl[178]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Jan 01 01:25:20 u3 zmpkg.pl[178]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Jan 01 01:25:20 u3 systemd[1]: zoneminder.service: control process exited, code=exited status=255
Jan 01 01:25:20 u3 systemd[1]: Failed to start Capture, analyse, record and monitor video security cameras.
Jan 01 01:25:20 u3 systemd[1]: Unit zoneminder.service entered failed state.')

Just installed pdnsd and a simular issue, the eth0 isn't yet ready, but again I can restart it manually...
$this->bbcode_second_pass_code('', 'pdnsd.service - proxy name server
Loaded: loaded (/usr/lib/systemd/system/pdnsd.service; enabled)
Active: failed (Result: exit-code) since Sat 2000-01-01 01:25:20 CET; 14 years 1 months ago
Process: 176 ExecStart=/usr/bin/pdnsd (code=exited, status=3)
Main PID: 176 (code=exited, status=3)
CGroup: /system.slice/pdnsd.service

Jan 01 01:25:19 u3 systemd[1]: Started proxy name server.
Jan 01 01:25:19 u3 pdnsd[176]: Error in config file (line 11): Failed to get IP address of eth0: Cannot assign requested address
Jan 01 01:25:20 u3 systemd[1]: pdnsd.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Jan 01 01:25:20 u3 systemd[1]: Unit pdnsd.service entered failed state.
[root@u3 ~]# date')
I'm useing netctl and a dhcp connection can't see any error messages upon startup or any delay in getting the network.
Any ideas, where else to look ?

thanks
Dudeman
 
Posts: 8
Joined: Fri Dec 07, 2012 4:24 pm

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 9 guests