Hi all,
Just installed the new version of ZM 1.21.3 nad having a couple problems.
the problem #1 right now is that it does not record the events even when i force it to. it just creates an event entries with no frames in there..
here is how it looks:
Does anyone have or had this problem ??
P.S.
those evens that you just saw on the screenshot were deleted, so dot look for it in the logs.
here are the logs:
# cat zm*
10/13/05 11:36:45.229508 zmaudit_d900_y[26774].DBG [Found database monitor '1']
10/13/05 11:36:45.230864 zmaudit_d900_y[26774].DBG [Got 0 events]
10/13/05 11:36:45.231100 zmaudit_d900_y[26774].DBG [Found database monitor '2']
10/13/05 11:36:45.232184 zmaudit_d900_y[26774].DBG [Got 3 events]
10/13/05 11:36:45.239119 zmaudit_d900_y[26774].INF [Deleting 1 old images]
Server starting at 05/10/13 11:36:40
'zmc -d 1' started at 05/10/13 11:36:43
'zmc -d 1' starting at 05/10/13 11:36:43, pid = 26758
'zmc -d 0' started at 05/10/13 11:36:43
'zmc -d 0' starting at 05/10/13 11:36:43, pid = 26762
'zma -m 2' started at 05/10/13 11:36:43
'zma -m 2' starting at 05/10/13 11:36:43, pid = 26766
'zmfilter.pl' started at 05/10/13 11:36:44
'zmfilter.pl' starting at 05/10/13 11:36:44, pid = 26770
'zmaudit.pl -d 900 -y' started at 05/10/13 11:36:44
'zmaudit.pl -d 900 -y' starting at 05/10/13 11:36:44, pid = 26774
'zmwatch.pl' started at 05/10/13 11:36:45
'zmwatch.pl' starting at 05/10/13 11:36:45, pid = 26779
'zmupdate.pl -c' started at 05/10/13 11:36:46
'zmupdate.pl -c' starting at 05/10/13 11:36:46, pid = 26784
'zma -m 2' crashed at 05/10/13 11:38:34, exit status 255
'zma -m 2' started at 05/10/13 11:38:34
'zma -m 2' starting at 05/10/13 11:38:34, pid = 26832
'zma -m 2' crashed at 05/10/13 11:38:35, exit status 255
Starting pending process, zma -m 2
'zma -m 2' started at 05/10/13 11:38:40
'zma -m 2' starting at 05/10/13 11:38:40, pid = 26834
'zma -m 2' crashed at 05/10/13 11:38:41, exit status 255
Starting pending process, zma -m 2
'zma -m 2' started at 05/10/13 11:38:51
'zma -m 2' starting at 05/10/13 11:38:51, pid = 26840
'zma -m 2' crashed at 05/10/13 11:38:51, exit status 255
Starting pending process, zma -m 2
'zma -m 2' started at 05/10/13 11:39:11
'zma -m 2' starting at 05/10/13 11:39:11, pid = 26852
cat: zmdc.sock: No such device or address
10/13/05 11:36:46.255888 zmfilter[26770].INF [Scanning for events]
Command: restart
Executing: /usr/local/bin/zmdc.pl check
Executing: /usr/local/bin/zmdc.pl shutdown
Removing shared memory
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Executing: /usr/local/bin/zmdc.pl start zmc -d 1
Executing: /usr/local/bin/zmdc.pl start zmc -d 0
Executing: /usr/local/bin/zmdc.pl start zma -m 2
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
Executing: /usr/local/bin/zmdc.pl start zmupdate.pl -c
Update agent starting at 05/10/13 11:36:46
Watchdog starting at 05/10/13 11:36:45
Watchdog pausing for 30 seconds
No events are recorded
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
You wil need to provide a bit more from your logs like Phil posted and it would be helpfull to know wether this is built from source, installed by rpm, what distro, apache, php, and mysql versions?
Check the apache error log?
Check and see if there are any jpegs that are being captured and stored in the events directory?
Regards,
Cordel
Check the apache error log?
Check and see if there are any jpegs that are being captured and stored in the events directory?
Regards,
Cordel
Here is what i have:
The platform: Mandrake 10
ZM.1.213.: compiled from the source.
There are no new messages in the /var/log/messages
Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6mdk) mod_ssl/2.0.48
OpenSSL/0.9.7c
PHP/4.3.4
apache has no errors related to Zone Minder, PHP, or any files related
there are no permission denied errors.
There are no jpegs saved in the /events directory
including the subdirectories of ./events which are the 2 monitors that i have
1/ 2/ front_door@ USB@
another folder ./images has
front_door-Zones.jpg
USB-Zones.jpg
The only thing i could think of is that when I installed Zone Minder
in to the root of the website which wasnt the way i needed it. so i moved the PHP files in to a subfolder
This is a wrong thing to do. but the script worked
Do i need to recompile again ?
The platform: Mandrake 10
ZM.1.213.: compiled from the source.
There are no new messages in the /var/log/messages
Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6mdk) mod_ssl/2.0.48
OpenSSL/0.9.7c
PHP/4.3.4
apache has no errors related to Zone Minder, PHP, or any files related
there are no permission denied errors.
There are no jpegs saved in the /events directory
including the subdirectories of ./events which are the 2 monitors that i have
1/ 2/ front_door@ USB@
another folder ./images has
front_door-Zones.jpg
USB-Zones.jpg
The only thing i could think of is that when I installed Zone Minder
in to the root of the website which wasnt the way i needed it. so i moved the PHP files in to a subfolder
This is a wrong thing to do. but the script worked
Do i need to recompile again ?
Deleted the old php, cgi and database tables.
configured with the new the "correct" paths and recompiled the script, updated the database
now i'm having problems creating a new monitor:
Warning: mkdir(ZM_DIR_EVENTS/1): No such file or directory in /var/www/html/webcam/zm_actions.php on line 274
Warning: chdir(): No such file or directory (errno 2) in /var/www/html/webcam/zm_actions.php on line 275
apache error_log:
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
df: `ZM_DIR_EVENTS': No such file or directory
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
df: `ZM_DIR_EVENTS': No such file or directory
Reconfigured and compiled for the 3rd time now
configured with the new the "correct" paths and recompiled the script, updated the database
now i'm having problems creating a new monitor:
Warning: mkdir(ZM_DIR_EVENTS/1): No such file or directory in /var/www/html/webcam/zm_actions.php on line 274
Warning: chdir(): No such file or directory (errno 2) in /var/www/html/webcam/zm_actions.php on line 275
apache error_log:
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
df: `ZM_DIR_EVENTS': No such file or directory
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
Bareword "ZM_PATH_SOCKS" not allowed while "strict subs" in use at /usr/local/bin/zmdc.pl line 78.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmdc.pl line 79.
df: `ZM_DIR_EVENTS': No such file or directory
Reconfigured and compiled for the 3rd time now
Installing ZM
I think your skipping/missing a step:
make clean
./configure <your options>
perl zmconfig.pl
make
create your DB
perl zmconfig.pl -noi
make install
Regards,
Cordel
make clean
./configure <your options>
perl zmconfig.pl
make
create your DB
perl zmconfig.pl -noi
make install
Regards,
Cordel
This worked!
events can be recorded now.
the problem was created by me moving php files in to a subfolder,
and then missing the make clean when recompiling
the second "small" problem is still there though.
will post a new ticket for that one.
you guys are good !!!
thanks,
Victor
Ali G: "Respect! Boyakasha!"
events can be recorded now.
the problem was created by me moving php files in to a subfolder,
and then missing the make clean when recompiling
the second "small" problem is still there though.
will post a new ticket for that one.
you guys are good !!!
thanks,
Victor
Ali G: "Respect! Boyakasha!"