| Author |
Message |
|
kevin_robson
Joined: Sun Jan 16, 2005 12:26 pm Posts: 247
|
 zmaudit.pl -c' exited abnormally, exit status 9
Installed 1.23.1 on suse 10.3. Everything seems to be OK but I get the following errors in the messages log.
Feb 5 20:36:11 gandalf zmdc[5365]: INF [Starting pending process, zmaudit.pl -c]
Feb 5 20:36:11 gandalf zmdc[5365]: INF ['zmaudit.pl -c' starting at 08/02/05 20:36:11, pid = 6421]
Feb 5 20:36:11 gandalf zmdc[6421]: INF ['zmaudit.pl -c' started at 08/02/05 20:36:11]
Feb 5 20:36:11 gandalf zmdc[5365]: ERR ['zmaudit.pl -c' exited abnormally, exit status 9]
zmdc.log shows the same.
At the time of the crashes zmaudit.log shows nothing eitehr.
Anyone any idea what is causing this?
THnaks
|
| Tue Feb 05, 2008 9:42 pm |
|
|
|
 |
|
kevin_robson
Joined: Sun Jan 16, 2005 12:26 pm Posts: 247
|
Can I run zmaudit.pl from the command line to see what output get - what parameters should be passed to it?
|
| Wed Feb 06, 2008 8:04 am |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
Yes, you can. By default (with no parameters) it will ask you to confirm all deletes and run one pass then exit. If you want it to run as it does normally then pass in -c as a parameter.
_________________ Phil
|
| Thu Feb 07, 2008 10:40 pm |
|
 |
|
kevin_robson
Joined: Sun Jan 16, 2005 12:26 pm Posts: 247
|
Thanks.
Running as root I get:
zmaudit.pl -c
directory (/tmp/) Redwood is still tainted at /usr/lib/perl5/5.8.8/File/Find.pm line 837.
Any ideas?
|
| Thu Feb 07, 2008 11:35 pm |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
I don't know what the Redwood bit means. Does that ring any bells at your end?
_________________ Phil
|
| Thu Feb 07, 2008 11:45 pm |
|
 |
|
kevin_robson
Joined: Sun Jan 16, 2005 12:26 pm Posts: 247
|
Yeah, sorry should have explained.
It is a directory in /tmp
No idea why the script would be picking it up though?
|
| Thu Feb 07, 2008 11:57 pm |
|
 |
|
kevin_robson
Joined: Sun Jan 16, 2005 12:26 pm Posts: 247
|
OK, I think I have it sussed now.
I had 2 directories in /tmp with spaces in the name - not ideal but copied from windows
If I rename them so they dont have a space then zmaudit.pl ooks to run OK.
I've restarted ZM and will confirm tomorrow if OK.
If so I've not got any idea why it is looking in /tmp, or why directories with spaces in the name throw it out.
Could some extra error checking be in order??
Thanks for your help - I'll let you know if it went OK tomorrow.
|
| Fri Feb 08, 2008 12:02 am |
|
 |
|
kevin_robson
Joined: Sun Jan 16, 2005 12:26 pm Posts: 247
|
OK, this has ran all night without causing any problems. I guess the script cannot handle filenames with spaces in them. Not a big deal as long as I know to avoid doing so. Is it just /tmp and the document root I need to avoid doing this in?
Cheers
|
| Fri Feb 08, 2008 7:24 am |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
I don't know about the space thing but /tmp is the default for temporary images, logs and socket files so that is why it is probably concerned about it.
_________________ Phil
|
| Sun Feb 10, 2008 9:09 pm |
|
 |
|
infinity005
Joined: Tue Nov 16, 2004 6:37 am Posts: 9
|
Once I deleted this file (aptitude-root.5137:8ybHku), zmaudit.pl started okay.
Looks like a bug in zmaudit.pl. I'm running Deb package 1.24.2-7
|
| Mon Jan 03, 2011 5:57 pm |
|
|