Zoneminder does not start [Done]

Having acquired a couple of CCTV cameras, recently, I thiught I'd set them up with a more sophisticated setup than the rather crude web based system that came with them
I picked Zonemander, largely because it was there. However, on installing it I had problems. Not with the install, which appeared to go without a hitch. The problem is with starting the Zoneminder daemon. The install creates an instance in the '"Manage System Services" in the Maggeia Control Center. The daemon is indicated as stopped and started at boot. Attempts to start the daemon fail. A re-boot does not start the daemon. Doing it the command line way, "service zoneminder start", similarly fails. But at least it does give an error message.
:-
Redirecting to /bin/systemctl start zoneminder.service
Job for zoneminder.service failed. See 'systemctl status zoneminder.service' and 'journalctl -n' for details..
Calling up systemctl gives the following_-
This was on my desktop machine running Mga 3, and is AMD powered. I also tried installing it on an IBM (Lenovo) Thinkpad T400 and an Asus 1225b netbook, both running Mga 4. With, as far as I can see, identical results
I picked Zonemander, largely because it was there. However, on installing it I had problems. Not with the install, which appeared to go without a hitch. The problem is with starting the Zoneminder daemon. The install creates an instance in the '"Manage System Services" in the Maggeia Control Center. The daemon is indicated as stopped and started at boot. Attempts to start the daemon fail. A re-boot does not start the daemon. Doing it the command line way, "service zoneminder start", similarly fails. But at least it does give an error message.
:-
Redirecting to /bin/systemctl start zoneminder.service
Job for zoneminder.service failed. See 'systemctl status zoneminder.service' and 'journalctl -n' for details..
Calling up systemctl gives the following_-
- Code: Select all
[root@down rod]# systemctl status zoneminder.service
zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled)
Active: failed (Result: exit-code) since Tue, 2015-04-07 18:31:31 BST; 28min ago
Process: 12049 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
CGroup: name=systemd:/system/zoneminder.service
Apr 07 18:31:31 down systemd[1]: Starting ZoneMinder CCTV recording and security system...
Apr 07 18:31:31 down zmpkg.pl[12049]: DBI connect('database=zm;host=localhost','zmuser',...) failed: Access de...ne 89.
Apr 07 18:31:31 down zmpkg.pl[12049]: Can't call method "prepare_cached" on an undefined value at /usr/lib/per...ne 91.
Apr 07 18:31:31 down zmpkg.pl[12049]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Z...e 100.
Apr 07 18:31:31 down zmpkg.pl[12049]: Compilation failed in require at /usr/lib/perl5/vendor_perl/5.16.3/ZoneM...ne 33.
Apr 07 18:31:31 down zmpkg.pl[12049]: BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Z...ne 33.
Apr 07 18:31:31 down zmpkg.pl[12049]: Compilation failed in require at /usr/bin/zmpkg.pl line 37.
Apr 07 18:31:31 down zmpkg.pl[12049]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
Apr 07 18:31:31 down systemd[1]: Failed to start ZoneMinder CCTV recording and security system.
Apr 07 18:31:31 down systemd[1]: Unit zoneminder.service entered failed state
[root@down rod]#
This was on my desktop machine running Mga 3, and is AMD powered. I also tried installing it on an IBM (Lenovo) Thinkpad T400 and an Asus 1225b netbook, both running Mga 4. With, as far as I can see, identical results