zmcontrol not loading new control module [SOLVED]

Support and queries relating to all previous versions of ZoneMinder
ris2t
Posts: 43
Joined: Thu Jan 22, 2009 8:44 am

Post by ris2t »

ris2t wrote:...
I'm having similar issues (Intrepid 8.10, Zoneminder 1.24-rc1-2740). zmcontrol.pl seems to hang/halt on the load module part.
...

Code: Select all

        load "ZoneMinder::Control::$protocol";
Finally found the fault for this. Seems my copy of the mjpgStreamer.pm has some syntax errors in it. The module was failing to compile and hence load.

Interesting aspect though is no error information going into any of the zoneminder or syslog log files.

Once I corrected the errors the "load" command nolonger hung and the socket file is created so I don't get the following error:

Code: Select all

Feb  8 21:34:01 Hammerstien zmcontrol[11652]: FAT [Can't connect: No such file or directory, /tmp/zmcontrol-6.sock]
OTHER NOTES that got me up and running:
Control Type - created one (mjpegStreamer)
Control Device - left blank
Control Address - this parameter need to be host address (including port) of the mjpg_streamer URL, e.g. localhost:8080

Control:
Name: mjpegStreamer - can be anything you want to call it
Type: Remote
Protocol: mjpgStreamer - MUST match the name of the file script mjpgStreamer.pm in /usr/local/share/perl/5.10.0/ZoneMinder/Control (for my Intrepid install).
Locked