Hi All,
I am new to ZoneMinder. I ve just install the latest version of zm in my ubuntu machine, and wish to setup a surveillance system. I have completed the installation and able to view the main page. However, the status at the top shows "Stopped" (note: i try to connect a USB camera).
What i want to know is.. is that anything wrong with my setup? Or the status will only change to "Running" when we have a valid camera? Because i don;t know whether it is the camera issue or the ZM problem
p/s: i tried /etc/init.d/zm status and it shows "running"
Please help.. Thank You
ZoneMinder Stopped
Hii,
the status can be "running" without cameras working.
Did you try to change the status clicking on the button "Stopped" at the top?
If you tried but it didn't works, one possibility is verifing if you have the SELinux installed and enabled. If you have, disable it (/etc/selinux/config) and restart your machine.
the status can be "running" without cameras working.
Did you try to change the status clicking on the button "Stopped" at the top?
If you tried but it didn't works, one possibility is verifing if you have the SELinux installed and enabled. If you have, disable it (/etc/selinux/config) and restart your machine.
It is normal for ZM to be in the "stopped" state when you frist install. Just click the "stopped" and change the status to running.
P.S. You do not have to reboot to disable selinux, you can type "setenforce 0" to temporarily disable it immediately. To make it perm though you should edit the /etc/selinux/config as mentioned above, or edit your /etc/grub./conf and add "selinux=0" to your kernel parameters.
P.S. You do not have to reboot to disable selinux, you can type "setenforce 0" to temporarily disable it immediately. To make it perm though you should edit the /etc/selinux/config as mentioned above, or edit your /etc/grub./conf and add "selinux=0" to your kernel parameters.
I have just check the system.. It does not even install SELinux.. I had uninstall and reinstall the zoneminder again (according to the step-by-step at http://www.zoneminder.com/wiki/index.php/Documentation), but the problem is still there. Any other suggestion??
btw.. one thing i notice:
i tried to start the zm via "zmpkg.pl start" and check the /tmp/zmpkg.log, it shows:
03/17/2009 22:06:45.124045 zmpkg[10821].INF [Command: start]
03/17/2009 22:06:45.569473 zmpkg[10821].ERR [Unable to run "sudo -u apache /usr/local/bin/zmfix", output is ""]
may i know what is the problem?
Thanks
btw.. one thing i notice:
i tried to start the zm via "zmpkg.pl start" and check the /tmp/zmpkg.log, it shows:
03/17/2009 22:06:45.124045 zmpkg[10821].INF [Command: start]
03/17/2009 22:06:45.569473 zmpkg[10821].ERR [Unable to run "sudo -u apache /usr/local/bin/zmfix", output is ""]
may i know what is the problem?
Thanks
i tried to follow the instructions told in http://www.zoneminder.com/forums/viewtopic.php?p=29360 , and it shows:
T.T
and now my zmpkg.pl status show zm is running already.. however at the console page the top status stil showing "Stopped"..Upgrading database to version 1.24.1
Loading config from DB
No option 'ZM_OPT_MPEG' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_PATH_MPEG_ENCODE' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_MONTAGE_MAX_COLS' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_MONTAGE_WIDTH' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_MONTAGE_HEIGHT' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_DOUBLE_BUFFER' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_FRAMES_PER_LINE' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_FRAME_LINES' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
No option 'ZM_WEB_DVR_STREAMING' found, removing at /usr/local/share/perl/5.10.0/ZoneMinder/ConfigAdmin.pm line 1702, <STDIN> line 2.
Saving config to DB
Can't find upgrade from version '1.24.1' at /usr/local/bin/zmupdate.pl line 882, <STDIN> line 2.
T.T
Finally i am able to solved the "Stopped" issue and my zm is "Running" now.. and yes.. it is the permission problem. I trace thru the code to search the function where it call for changes of status, and then i found tat the cause of the bug is the zmdc.sock. Hence changing the owner and group of the zmdc.sock from apache to www-data, my zm is able to run.
Thanks for all the help provided. (However i still have problem setting up my IP cam via the ZM. )
Thank you
Thanks for all the help provided. (However i still have problem setting up my IP cam via the ZM. )

Thank you