Hi all!
my installation is functionable, but my zmdc.log shows the following since this morning:
--------------------------------------------------------------------------------------------
...
'zmaudit.pl -d 900 -y' starting at 04/10/31 15:09:17, pid = 24794
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 153.
'zmaudit.pl -d 900 -y' crashed at 04/10/31 15:09:17, exit status 2
--------------------------------------------------------------------------------------------
I have the same permissions in my log-directory like this:
--------------------------------------------------------------------------------------------
-rw-r--r-- 1 wwwrun www 0 2004-10-31 15:00 zmaudit.log
-rw-r--r-- 1 wwwrun www 22036 2004-10-31 14:53 zmdc.log
...
--------------------------------------------------------------------------------------------
but zmaudit.pl doesn't find my zmaudit.log or can't open it even if i change permissions to
-rw-rw-rw- 1 wwwrun www 0 2004-10-31 15:00 zmaudit.log
Any suggestion?
Best regards
Andreas
zmaudit.pl <-> zmaudit.log
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi Phil,
the reason for the mentioned mismatch of "file-creation-times" is because i created myself a new zmaudit.log file.
My log-directory is:
------------------------------------------------------------------------
/srv/www/htdocs/zm/temp
drwxrwxrwx 2 wwwrun www 4096 2004-10-31 16:19 temp
------------------------------------------------------------------------
Yesterday night everything was ok. This morning I played a bit with some options. May it have any relation to the option:
ZM_OPT_FAST_DELETE When deleting events should the client only
delete the database records for speed (?)
I may be wrong but after playing with that i realized the zmaudit-crash.
Here the last output of my zmdc.log
-----------------------------------------------------------------------------
Server starting at 04/10/31 16:24:56
'zmc -d 0' started at 04/10/31 16:24:59
'zmc -d 0' starting at 04/10/31 16:24:59, pid = 19367
'zmfilter.pl' started at 04/10/31 16:24:59
'zmfilter.pl' starting at 04/10/31 16:24:59, pid = 19371
'zmaudit.pl -d 900 -y' started at 04/10/31 16:25:00
'zmaudit.pl -d 900 -y' starting at 04/10/31 16:25:00, pid = 19375
'zmwatch.pl' started at 04/10/31 16:25:00
'zmwatch.pl' starting at 04/10/31 16:25:00, pid = 19380
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 153.
'zmaudit.pl -d 900 -y' crashed at 04/10/31 16:25:00, exit status 2
'zmaudit.pl -d 900 -y' started at 04/10/31 16:25:00
'zmaudit.pl -d 900 -y' starting at 04/10/31 16:25:00, pid = 19384
'zmupdate.pl -c' starting at 04/10/31 16:25:01, pid = 19386
'zmupdate.pl -c' started at 04/10/31 16:25:01
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 153.
'zmaudit.pl -d 900 -y' crashed at 04/10/31 16:25:01, exit status 2
------------------------------------------------------------------------
and the directory content with the logs:
------------------------------------------------------------------------
-rw-rw-rw- 1 wwwrun www 0 2004-10-31 15:00 zmaudit.log
-rw-rw-rw- 1 wwwrun www 45451 2004-10-31 16:35 zmdc.log
srwxr-xr-x 1 wwwrun www 0 2004-10-31 16:24 zmdc.sock
-rw-rw-rw- 1 wwwrun www 15313 2004-10-31 16:37 zmfilter.log
-rw-rw-rw- 1 wwwrun www 6836 2004-10-31 16:25 zmpkg.log
-rw-rw-rw- 1 wwwrun www 537 2004-10-31 16:25 zmupdate.log
-rw-rw-rw- 1 wwwrun www 2665 2004-10-31 16:25 zmwatch.log
------------------------------------------------------------------------
As you see all log files are up to date but not the zmaudit.log file.
Thanks for your help
Andreas
the reason for the mentioned mismatch of "file-creation-times" is because i created myself a new zmaudit.log file.
My log-directory is:
------------------------------------------------------------------------
/srv/www/htdocs/zm/temp
drwxrwxrwx 2 wwwrun www 4096 2004-10-31 16:19 temp
------------------------------------------------------------------------
Yesterday night everything was ok. This morning I played a bit with some options. May it have any relation to the option:
ZM_OPT_FAST_DELETE When deleting events should the client only
delete the database records for speed (?)
I may be wrong but after playing with that i realized the zmaudit-crash.
Here the last output of my zmdc.log
-----------------------------------------------------------------------------
Server starting at 04/10/31 16:24:56
'zmc -d 0' started at 04/10/31 16:24:59
'zmc -d 0' starting at 04/10/31 16:24:59, pid = 19367
'zmfilter.pl' started at 04/10/31 16:24:59
'zmfilter.pl' starting at 04/10/31 16:24:59, pid = 19371
'zmaudit.pl -d 900 -y' started at 04/10/31 16:25:00
'zmaudit.pl -d 900 -y' starting at 04/10/31 16:25:00, pid = 19375
'zmwatch.pl' started at 04/10/31 16:25:00
'zmwatch.pl' starting at 04/10/31 16:25:00, pid = 19380
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 153.
'zmaudit.pl -d 900 -y' crashed at 04/10/31 16:25:00, exit status 2
'zmaudit.pl -d 900 -y' started at 04/10/31 16:25:00
'zmaudit.pl -d 900 -y' starting at 04/10/31 16:25:00, pid = 19384
'zmupdate.pl -c' starting at 04/10/31 16:25:01, pid = 19386
'zmupdate.pl -c' started at 04/10/31 16:25:01
Can't open log file: No such file or directory at /usr/local/bin/zmaudit.pl line 153.
'zmaudit.pl -d 900 -y' crashed at 04/10/31 16:25:01, exit status 2
------------------------------------------------------------------------
and the directory content with the logs:
------------------------------------------------------------------------
-rw-rw-rw- 1 wwwrun www 0 2004-10-31 15:00 zmaudit.log
-rw-rw-rw- 1 wwwrun www 45451 2004-10-31 16:35 zmdc.log
srwxr-xr-x 1 wwwrun www 0 2004-10-31 16:24 zmdc.sock
-rw-rw-rw- 1 wwwrun www 15313 2004-10-31 16:37 zmfilter.log
-rw-rw-rw- 1 wwwrun www 6836 2004-10-31 16:25 zmpkg.log
-rw-rw-rw- 1 wwwrun www 537 2004-10-31 16:25 zmupdate.log
-rw-rw-rw- 1 wwwrun www 2665 2004-10-31 16:25 zmwatch.log
------------------------------------------------------------------------
As you see all log files are up to date but not the zmaudit.log file.
Thanks for your help
Andreas
Error found.
In the options dialog I switched back to the original settings:
------------------------------------------------------------------------------
ZM_PATH_SOCKS
Path to the various Unix domain socket files that ZoneMinder uses (?) -> /tmp (here was the wrong setting)
ZM_PATH_LOGS
Path to the various logs that the ZoneMinder daemons generate (?)
-> /tmp
-----------------------------------------------------------------------------
Best regards
Andreas
In the options dialog I switched back to the original settings:
------------------------------------------------------------------------------
ZM_PATH_SOCKS
Path to the various Unix domain socket files that ZoneMinder uses (?) -> /tmp (here was the wrong setting)
ZM_PATH_LOGS
Path to the various logs that the ZoneMinder daemons generate (?)
-> /tmp
-----------------------------------------------------------------------------
Best regards
Andreas