Newbie ??'s - No logs, no local access, filters do not run
Newbie ??'s - No logs, no local access, filters do not run
First off, what a wonderful system ZoneMinder is!! I have ZM installed on Ubuntu and it works real good w/the PV-149...anyways, I can't seem to find the logs at /var/log/zm. I was troubleshooting why the purgewhenfull filter was not running when I discovered no logs. I no longer can access ZM from the localhost url. I have to use the dynamic dns url to access it...I assume this was due to changing the lan ip to static because I had sql probs at the same time. But it works, I can capture, review events, modetect works good, just those couple things.
Thanks, I found the logs. The zmfilter.log is empty and I have several of these in the zmaudit.logs:
04/02/08 08:27:01.032303 zmdc[5108].INF ['zmfilter.pl' starting at 08/04/02 08:27:01, pid = 6693]
04/02/08 08:27:01.470528 zmdc[5108].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
I searched the forum and I think I dont have all the perl modules loaded...am I on the right track? I can execute the filter manually but I can't seem to get it to run automatically. TIA
04/02/08 08:27:01.032303 zmdc[5108].INF ['zmfilter.pl' starting at 08/04/02 08:27:01, pid = 6693]
04/02/08 08:27:01.470528 zmdc[5108].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
I searched the forum and I think I dont have all the perl modules loaded...am I on the right track? I can execute the filter manually but I can't seem to get it to run automatically. TIA
OK, I ran" zmfilter.pl status" and it complained about permissions on /etc/zm/zm.conf and /tmp/zmfilter.log...so I "chmod 666" on these files and now the "zmfilter.pl staus" returns:
sysadmin@SENTINEL:~$ zmfilter.pl status
Can't locate MIME/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/bin/zmfilter.pl line 82.
I am still on the right track of missing perl modules?
sysadmin@SENTINEL:~$ zmfilter.pl status
Can't locate MIME/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/bin/zmfilter.pl line 82.
I am still on the right track of missing perl modules?
Yup-missing PERL module...for anyone using Ubuntu, the MIME perl lite module is named libmime.lite.perl (search for this in Synaptic). Still not perfect but I am getting content in the zmfilter.log that I can go by. RECAP:
PROBLEM: purgewhenfull filter not running.
TROUBLESHOOTING: (find!) check zmdc.log. Found these entries:
04/02/08 07:46:25.861127 zmdc[5108].INF [Starting pending process, zmfilter.pl]
04/02/08 07:46:25.864166 zmdc[5108].INF ['zmfilter.pl' starting at 08/04/02 07:46:25, pid = 5352]
04/02/08 07:46:26.324289 zmdc[5108].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
zmfilter.log was empty
Ran zmfilter.pl from terminal and revealed permission errors on zmfilter.log & zm.conf. Changed permissions on these files to 666
Ran zmfilter.pl again, output:
sysadmin@SENTINEL:~$ zmfilter.pl status
Can't locate MIME/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/bin/zmfilter.pl line 82.
Installed libmime.lite.perl using Synaptic
Ran zmfilter.pl and checked zmfilter.log
PROBLEM: purgewhenfull filter not running.
TROUBLESHOOTING: (find!) check zmdc.log. Found these entries:
04/02/08 07:46:25.861127 zmdc[5108].INF [Starting pending process, zmfilter.pl]
04/02/08 07:46:25.864166 zmdc[5108].INF ['zmfilter.pl' starting at 08/04/02 07:46:25, pid = 5352]
04/02/08 07:46:26.324289 zmdc[5108].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
zmfilter.log was empty
Ran zmfilter.pl from terminal and revealed permission errors on zmfilter.log & zm.conf. Changed permissions on these files to 666
Ran zmfilter.pl again, output:
sysadmin@SENTINEL:~$ zmfilter.pl status
Can't locate MIME/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/bin/zmfilter.pl line 82.
Installed libmime.lite.perl using Synaptic
Ran zmfilter.pl and checked zmfilter.log