trying to get Zmxap working

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Posts: 1
Joined: Fri Feb 28, 2020 12:25 am

trying to get Zmxap working

Post by lorenjz » Fri Feb 28, 2020 3:43 am


I'm trying to get Zmxap working. I started by following this: ... ostcount=1

I also consulted the wiki which mentioned that the www-data user would need to execute the pearl script. The only way I could find to accomplish this was like this:
sudo -u www-data /usr/local/zmxap/ -path=/usr/local/zmxap &
but that doesn't appear to be working. The logs don't seem to have been created.

Did I miss something or is there a better way to start the pearl script as the www-user when my ubuntu instance starts?


User avatar
Posts: 1049
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto

Re: trying to get Zmxap working

Post by iconnor » Sat Feb 29, 2020 2:04 pm

I would look into adding a proper systemd .service file for it. Something like :

# ZoneMinder zmxap systemd unit file
# This file is intended to work with all Linux distributions

Description=ZoneMinder CCTV recording and security system zmxap mysqld.service httpd.service zonoeminder.service



Put that in /lib/systemd/system/zmxap.service
sudo systemctl enable zmxap.service
sudo systemctl start zmxap.service

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests