Daemon zmstats.pl

Forum for questions and support relating to the 1.31.x releases only.
Locked
juanmoura
Posts: 91
Joined: Fri Nov 24, 2017 11:46 am

Daemon zmstats.pl

Post by juanmoura »

The daemon zmstats.pl not starting automatically when I restart the server. It only starts if I start it myself via the terminal.

Does anyone know how to solve it? I would insert it in cron, but I wanted to see beforehand how to solve it in ZM itself.
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Daemon zmstats.pl

Post by bbunge »

Linux distro and version? Zoneminder version?
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Daemon zmstats.pl

Post by iconnor »

How about zmpkg logs?
al.semenenko88
Posts: 4
Joined: Mon Sep 17, 2018 9:34 am

Re: Daemon zmstats.pl

Post by al.semenenko88 »

version 1.31.47. Proxmox - lxc. The same thing happens. Fixed this in rc.local:
sleep 3
/usr/bin/zmstats.pl &

# without sleep 3 don't work
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Daemon zmstats.pl

Post by iconnor »

If this is a multi-server install, you may have to turn it on in the Server entry. Not all servers need to run it, just one.
al.semenenko88
Posts: 4
Joined: Mon Sep 17, 2018 9:34 am

Re: Daemon zmstats.pl

Post by al.semenenko88 »

iconnor wrote: Wed Sep 19, 2018 3:23 pm If this is a multi-server install, you may have to turn it on in the Server entry. Not all servers need to run it, just one.
Thanks!
Locked