Page 1 of 1

Getting ZM to start zoneminder serice on boot.

Posted: Mon Aug 09, 2010 12:37 pm
by daveleebond
Having a bit of trouble with this, apart from that all working fine with 2 cameras :)

Running Ubuntu 10.4 32bit desktop.

zm installed via app manager.

Have tried this form Vicktoe Peterson's guide.

Code: Select all

Install the startup-script (from the official site):
sudo wget http://viktorpetersson.com/upload/zm -O /etc/init.d/zm
sudo chmod +x /etc/init.d/zm
sudo update-rc.d zm defaults
sudo /etc/init.d/zm start
nada :(

Installed BUM, but means nothing to me even read the guide, yes I a quite new to Linux.

Any pointers are most welcome. but for now just have to manually start from a terminal or through the zm console.

It's also in a remote location, my dads, but have access via VNC.

update
keep getting this error:

Code: Select all

Starting ZoneMinder: /etc/init.d/zm: 56: /usr/local/bin/zmpkg.pl: not found
failure
[/quote]

Posted: Wed Aug 11, 2010 8:38 pm
by KevinT
Hi,
I assume you have your zm scripts in /usr/local/bin list this

[tomlikp@zm init.d]$ ls -l /usr/local/bin/zm*
-rwxr-xr-x 1 root root 1559744 2010-03-10 20:11 /usr/local/bin/zma
-rwxr-xr-x 1 root root 13429 2010-03-10 20:11 /usr/local/bin/zmaudit.pl
-rwxr-xr-x 1 root root 1564106 2010-03-10 20:11 /usr/local/bin/zmc
-rwxr-xr-x 1 root root 6995 2010-03-10 20:11 /usr/local/bin/zmcontrol.pl
-rwxr-xr-x 1 root root 17847 2010-03-10 20:11 /usr/local/bin/zmdc.pl
-rwxr-xr-x 1 root root 1571087 2010-03-10 20:11 /usr/local/bin/zmf
-rwxr-xr-x 1 root root 36943 2010-03-10 20:11 /usr/local/bin/zmfilter.pl
-rwsr-xr-x 1 root root 132725 2010-03-10 20:11 /usr/local/bin/zmfix
-rwxr-xr-x 1 root root 8614 2010-03-10 20:11 /usr/local/bin/zmpkg.pl
-rwxr-xr-x 1 root root 5251 2010-03-10 20:11 /usr/local/bin/zmtrack.pl
-rwxr-xr-x 1 root root 12791 2010-03-10 20:11 /usr/local/bin/zmtrigger.pl
-rwxr-xr-x 1 root root 1582433 2010-03-10 20:11 /usr/local/bin/zmu
-rwxr-xr-x 1 root root 36960 2010-03-10 20:11 /usr/local/bin/zmupdate.pl
-rwxr-xr-x 1 root root 7290 2010-03-10 20:11 /usr/local/bin/zmvideo.pl
-rwxr-xr-x 1 root root 5564 2010-03-10 20:11 /usr/local/bin/zmwatch.pl
-rwxr-xr-x 1 root root 17244 2010-03-10 20:11 /usr/local/bin/zmx10.pl
[tomlikp@zm init.d]$