Cannot get ZM to "Start"
Cannot get ZM to "Start"
The start link at the top of the page brings up another little window with the option to "start" so I click apply, the page refreshes and nothing happens.
Is there any logs to see what may be going on, with it stopped like that I dont appear to be able to check my images or anything.
Thanks!
Is there any logs to see what may be going on, with it stopped like that I dont appear to be able to check my images or anything.
Thanks!
output from log file
Code: Select all
May 12 12:32:04 joshsphone zmc_m3[13900]: INF [Monitor-3: 125000 - Capturing at 8.13 fps]
May 12 12:34:13 joshsphone zmc_m3[13900]: INF [Monitor-3: 126000 - Capturing at 7.75 fps]
May 12 12:36:01 joshsphone zmc_m3[13900]: INF [Monitor-3: 127000 - Capturing at 9.26 fps]
May 12 12:36:44 joshsphone zmpkg[14882]: INF [Command: start]
May 12 12:36:44 joshsphone zmpkg[14882]: ERR [Unable to find valid 'su' syntax]
Using root has been an issue in the past if I remember correctly. It has been awhile since I have looked at this, but I am sure we can get you running.
Post a copy of your zm.conf file and let me take a look if you want.
Easiest thing to do would be to recompile using
--with-webuser=apache
--with-webgroup=apache
or whatever user you wish.
l8nite
Post a copy of your zm.conf file and let me take a look if you want.
Easiest thing to do would be to recompile using
--with-webuser=apache
--with-webgroup=apache
or whatever user you wish.
l8nite
Code: Select all
# ==========================================================================
#
# ZoneMinder Base Configuration, $Date: 2008-07-25 10:48:16 +0100 (Fri, 25 Jul 2008) $, $Revision: 2612 $
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#
# Current version of ZoneMinder
ZM_VERSION=1.24.2
# Path to build directory, used mostly for finding DB upgrade scripts
ZM_PATH_BUILD=/root/ZoneMinder-1.24.2
# Build time, used to record when to trigger various checks
ZM_TIME_BUILD=1273600856
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/local/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/local/lib
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/usr/local/etc
# Path to ZoneMinder web files
ZM_PATH_WEB=/var/www/html/zm
# Path to ZoneMinder cgi files
ZM_PATH_CGI=/var/www/zm/cgi-bin
# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=apache
ZM_WEB_GROUP=apache
# ZoneMinder database hostname or ip address
ZM_DB_HOST=localhost
# ZoneMinder database name
ZM_DB_NAME=zm
# ZoneMinder database user
ZM_DB_USER=zmuser
# ZoneMinder database password
ZM_DB_PASS=[MY SECRET]
-
- Posts: 184
- Joined: Tue Oct 14, 2008 5:59 pm
Code: Select all
May 12 15:19:20 joshsphone zmdc[13877]: INF ['zmwatch.pl ' stopping at 10/05/12 15:19:20]
May 12 15:19:20 joshsphone zmdc[13877]: INF ['zmwatch.pl ' exited, signal 14]
May 12 15:19:31 joshsphone zmdc[13877]: INF [Server shutdown at 10/05/12 15:19:31]
May 12 15:19:31 joshsphone zmpkg[15830]: INF [Command: start]
May 12 15:19:31 joshsphone zmfix[15840]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.15840]
May 12 15:19:31 joshsphone zmdc[15844]: INF [Server starting at 10/05/12 15:19:31]
May 12 15:19:34 joshsphone zmdc[15844]: INF ['zmc -m 3' starting at 10/05/12 15:19:34, pid = 15867]
May 12 15:19:35 joshsphone zmdc[15867]: INF ['zmc -m 3' started at 10/05/12 15:19:35]
May 12 15:19:35 joshsphone zmc_m3[15867]: INF [Debug Level = 0, Debug Log = <none>]
May 12 15:19:35 joshsphone zmc_m3[15867]: INF [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.15867]
May 12 15:19:35 joshsphone zmc_m3[15867]: INF [Starting Capture]
May 12 15:19:35 joshsphone zmdc[15844]: INF ['zmfilter.pl' starting at 10/05/12 15:19:35, pid = 15871]
May 12 15:19:35 joshsphone zmdc[15871]: INF ['zmfilter.pl' started at 10/05/12 15:19:35]
May 12 15:19:35 joshsphone zmdc[15844]: INF ['zmaudit.pl -c' starting at 10/05/12 15:19:35, pid = 15875]
May 12 15:19:35 joshsphone zmdc[15875]: INF ['zmaudit.pl -c' started at 10/05/12 15:19:35]
May 12 15:19:35 joshsphone zmfilter[15871]: INF [Scanning for events]
May 12 15:19:35 joshsphone zmdc[15880]: INF ['zmwatch.pl' started at 10/05/12 15:19:35]
May 12 15:19:36 joshsphone zmdc[15844]: INF ['zmwatch.pl' starting at 10/05/12 15:19:35, pid = 15880]
May 12 15:19:36 joshsphone zmwatch[15880]: INF [Watchdog starting]
May 12 15:19:36 joshsphone zmwatch[15880]: INF [Watchdog pausing for 30 seconds]
May 12 15:19:36 joshsphone zmdc[15844]: INF ['zmupdate.pl -c' starting at 10/05/12 15:19:36, pid = 15885]
May 12 15:19:36 joshsphone zmdc[15885]: INF ['zmupdate.pl -c' started at 10/05/12 15:19:36]
May 12 15:19:36 joshsphone Update agent starting at 10/05/12 15:19:36
Code: Select all
service zm restart
Hope this helps someone!
Code: Select all
[Sun May 09 04:02:14 2010] [notice] Digest: generating secret for digest authentication ...
[Sun May 09 04:02:14 2010] [notice] Digest: done
[Sun May 09 04:02:14 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue May 11 10:49:33 2010] [notice] caught SIGTERM, shutting down
[Tue May 11 10:51:56 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 11 10:51:56 2010] [notice] Digest: generating secret for digest authentication ...
[Tue May 11 10:51:56 2010] [notice] Digest: done
[Tue May 11 10:51:57 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue May 11 14:49:56 2010] [notice] caught SIGTERM, shutting down
[Tue May 11 14:51:29 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 11 14:51:29 2010] [notice] Digest: generating secret for digest authentication ...
[Tue May 11 14:51:29 2010] [notice] Digest: done
[Tue May 11 14:51:30 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed May 12 19:34:51 2010] [notice] caught SIGTERM, shutting down
[Wed May 12 19:36:25 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed May 12 19:36:25 2010] [notice] Digest: generating secret for digest authentication ...
[Wed May 12 19:36:25 2010] [notice] Digest: done
[Wed May 12 19:36:26 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[/code]
Code: Select all
May 12 21:21:15 joshsphone zmc_m3[3402]: INF [Monitor-3: 32000 - Capturing at 4.88 fps]
May 12 21:24:38 joshsphone zmc_m3[3402]: INF [Monitor-3: 33000 - Capturing at 4.93 fps]
May 12 21:26:50 joshsphone zmpkg[4165]: INF [Command: start]
May 12 21:26:50 joshsphone zmpkg[4165]: ERR [Unable to find valid 'su' syntax]
Good Luck, I'm not sure, I got a buddy I may get his zm web directory and copy it in case something is wrong with it.