OS: Debian Linux 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux, Testing
Packages:
swatch 3.2.1-1
perl 5.8.8-7
All perl-packages listed in the dependencies for swatch are installed, status is good on all packages.
My setup is a simple .switchrc:
watchfor /Firefox/
mail addresses=root
subject=Meldung
## Starting it:
root@isau02:~> swatch -t /var/log/apache2/access.log &
[1] 32552
root@isau02:~>
*** swatch version 3.2.1 (pid:32552) started at Fr 20. Jul 15:01:54 CEST 2007
#### Looking good so far:
root@isau02:~> ps -ef| grep swatch
root 32552 16932 0 15:01 pts/4 00:00:00 /usr/bin/perl /usr/bin/swatch -t /var/log/apache2/access.log
root 32553 32552 0 15:01 pts/4 00:00:00 /usr/bin/perl /root/.swatch_script.32552
#### accessing the apache and producing an entry gets me following:
root@isau02:~> Undefined subroutine &main::subject called at /root/.swatch_script.32552 line 93, <TAIL> line 1.
#### After that it's leaving me completely:
root@isau02:~> ps -ef| grep swatch
root 32552 16932 0 15:01 pts/4 00:00:00 /usr/bin/perl /usr/bin/swatch -t /var/log/apache2/access.log
root 32553 32552 0 15:01 pts/4 00:00:00 /usr/bin/perl /root/.swatch_script.32552
root 32635 16932 0 15:06 pts/4 00:00:00 grep swatch
root@isau02:~> ps -ef| grep swatch
root 32637 16932 0 15:06 pts/4 00:00:00 grep swatch
[1]+ Done swatch -t /var/log/apache2/access.log
root@isau02:~> ps -ef| grep swatch
root 32639 16932 0 15:06 pts/4 00:00:00 grep swatch
I didn't find any hint in the web.
Thanks in forward
Markus
Logged In: NO
Sorry for double post - delete one of them please, ty.