Forum for questions and support relating to the 1.28.x releases only.
vskatus
Posts: 5 Joined: Tue May 05, 2015 4:40 pm
Post
by vskatus » Tue May 05, 2015 4:44 pm
UBUNTU 14.10 Server AMD54 install with openSSH and LAMP!
Hi I followed the guide to the tooth at
http://www.zoneminder.com/wiki/index.ph ... se_systemd
When I executed the last statement
12. Check to see that Zoneminder is running
systemctl status zoneminder.service
I get the following message:
root@zm:/home/sk# systemctl start zoneminder.service
Job for zoneminder.service failed. See 'systemctl status zoneminder.service' and 'journalctl -xn' for details.
root@zm:/home/sk#
Any help would be appreciated!
bbunge
Posts: 2951 Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania
Post
by bbunge » Tue May 05, 2015 8:03 pm
Did you reboot the server?
IMPORTANT: At this point the /var/run/zm directory has not been created. You may restart the PC which will create the directory or create it manually with the command "mkdir /var/run/zm"
Or if you continue to have problems drop back to Ubuntu 14.04 LTS and follow these instructions:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way
or
http://www.zoneminder.com/wiki/index.ph ... e_easy_way
You do not need to use systemd to run Zoneminder. I wrote the procedure to show that it could be done. Oh, even Ubuntu 15.04 does not use systemd to start Zoneminder...
Bill
vskatus
Posts: 5 Joined: Tue May 05, 2015 4:40 pm
Post
by vskatus » Tue May 05, 2015 8:16 pm
Bill,
I restarted and I get this message. Is this ok now? Forget about the not able to connect one of the camera's (this is a known issue from my end)
zoneminder.service - ZoneMinder CCTV recording and security system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled)
Active: active (running) since Tue 2015-05-05 16:07:00 EDT; 6min ago
Process: 3203 ExecStop=/usr/bin/zmpkg.pl stop (code=exited, status=0/SUCCESS)
Process: 3241 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 3254 (zmdc.pl)
CGroup: /system.slice/zoneminder.service
ââ3254 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
ââ3283 /usr/bin/zmc -m 1
ââ3289 /usr/bin/zmc -m 2
ââ3299 /usr/bin/perl -wT /usr/bin/zmfilter.pl
ââ3307 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
ââ3319 /usr/bin/perl -wT /usr/bin/zmwatch.pl
May 05 16:13:06 zm zmc_m2[3289]: INF [Front: 11000 - Capturing at 30.30 fps]
May 05 16:13:36 zm zmc_m3[3378]: WAR [Can't connect to remote camera: Connection timed out]
May 05 16:13:36 zm zmc_m3[3378]: ERR [Unable to connect to the remote camera, aborting]
May 05 16:13:36 zm zmc_m3[3378]: ERR [Unable to connect to camera]
May 05 16:13:36 zm zmc_m3[3378]: ERR [Failed to pre-capture monitor 3 (0/1)]
May 05 16:13:36 zm zmc_m3[3378]: INF [Terminating Logger]
May 05 16:13:36 zm zmdc[3254]: ERR ['zmc -m 3' exited abnormally, exit status 255]
May 05 16:13:39 zm systemd[1]: Started ZoneMinder CCTV recording and security system.
May 05 16:13:39 zm zmc_m1[3283]: INF [Back: 12000 - Capturing at 30.30 fps]
May 05 16:13:40 zm zmc_m2[3289]: INF [Front: 12000 - Capturing at 29.41 fps]
What is systemd? If I restart my server as a whole do I need to restart systemd as well? or does it restart automatically?
bbunge
Posts: 2951 Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania
Post
by bbunge » Tue May 05, 2015 8:35 pm
See:
http://en.wikipedia.org/wiki/Systemd
It is another way to start services in Linux.
If you can connect to your ZM web gui and add monitors you are OK. Try to start and stop ZM from the web gui. That will be the test if you have it right.
vskatus
Posts: 5 Joined: Tue May 05, 2015 4:40 pm
Post
by vskatus » Tue May 05, 2015 8:42 pm
If you can connect to your ZM web gui and add monitors you are OK. Try to start and stop ZM from the web gui. That will be the test if you have it right.
Yes I can -- Thanks