Page 1 of 1

zmaudit.pl -c' exited abnormally, exit status 9

Posted: Tue Feb 05, 2008 8:42 pm
by kevin_robson
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

Posted: Wed Feb 06, 2008 7:04 am
by kevin_robson
Can I run zmaudit.pl from the command line to see what output get - what parameters should be passed to it?

Posted: Thu Feb 07, 2008 9:40 pm
by zoneminder
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.

Posted: Thu Feb 07, 2008 10:35 pm
by kevin_robson
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?

Posted: Thu Feb 07, 2008 10:45 pm
by zoneminder
I don't know what the Redwood bit means. Does that ring any bells at your end?

Posted: Thu Feb 07, 2008 10:57 pm
by kevin_robson
Yeah, sorry should have explained.
It is a directory in /tmp
No idea why the script would be picking it up though?

Posted: Thu Feb 07, 2008 11:02 pm
by kevin_robson
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.

Posted: Fri Feb 08, 2008 6:24 am
by kevin_robson
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

Posted: Sun Feb 10, 2008 8:09 pm
by zoneminder
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.

Posted: Mon Jan 03, 2011 4:57 pm
by infinity005

Code: Select all

hostname:/tmp# zmaudit.pl -c
directory (/tmp/) aptitude-root.5137:8ybHku is still tainted at /usr/share/perl/5.10/File/Find.pm line 869.
hostname:/tmp#
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