Failed to launch Zoneminder

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Ronin
Posts: 1
Joined: Sun Jul 05, 2020 7:17 pm

Failed to launch Zoneminder

Post by Ronin »

Hi everyone!

I'm sorry I'm new to playing with linux servers :)
I have VPS run on Ubuntu 18.04 + Nginx + MariaDB

I confess I didn't follow the sequence of that instruction https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.34.x (I found it later than get zoneminder installed) However I was trying to made my confing complient with that (I did all those steps but in different order).

I'm getting the following error while launching Zoneminder

Code: Select all

zoneminder.service - ZoneMinder CCTV recording and surveillance system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Sun 2020-07-05 22:05:18 MSK; 5s ago
  Process: 15628 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)

Jul 05 22:05:18 ip-172-31-39-57 systemd[1]: zoneminder.service: Control process exited, code=exited status=255
Jul 05 22:05:18 ip-172-31-39-57 systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Jul 05 22:05:18 ip-172-31-39-57 systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
PHPInfo can be checked here http://18.220.60.227/info.php

Can anyone please help me with getting Zoneminder working?
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: Failed to launch Zoneminder

Post by burger »

Ronin wrote: Sun Jul 05, 2020 7:31 pm I'm sorry I'm new to playing with linux servers :)
I have VPS run on Ubuntu 18.04 + Nginx + MariaDB
In that case, rebuild the VPS, load ubuntu or debian, and use one of the wiki install guides, favoring apache over nginx. That is the easiest way for you to resolve this.

If you were inclined to get more details, you'd have to dig into the logs, and also check where/if the install failed (/var/lib/dpkg/info/zoneminder.preinst is the steps it uses to install).

You will want to do some firewalling, or at the very least activate auth after installing, if it's on a VPS and is WAN accessible. I'd recommend firewall rules.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply