I am trying to get swatch started and am having some troubles.
I am running as user root, on a HP-UX 11.31 system.
When I kick off swatch, I get the following;
*** swatch version 3.2.3 (pid:10900) started at Mon May 3 14:23:52
EDT 2010
If your swatch.rc is similar, then that "-F" may be getting in the way, as it looks like HPUX doesn't support "-F" If so, then you might try removing the "-F"
hth,
-sk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am trying to get swatch started and am having some troubles.
I am running as user root, on a HP-UX 11.31 system.
When I kick off swatch, I get the following;
*** swatch version 3.2.3 (pid:10900) started at Mon May 3 14:23:52
EDT 2010
Usage: tail
tail
tail
Obsolescent usage: tail [+-]
Any help would be appreciated, as I am really hitting some walls here.
looks like HPUX's 'tail' command takes different arguments than what you are passing to it
my /etc/init.d/swatch file (i.e. swatch.rc) looks something like this:
/opt/local/script/swatch -c /opt/local/etc/swatch/swatch.conf -t /var/log/syslog -tail-args -F -script-dir=/home/swatch
If your swatch.rc is similar, then that "-F" may be getting in the way, as it looks like HPUX doesn't support "-F" If so, then you might try removing the "-F"
hth,
-sk
Hello SK,
Thanks for the reply. I kind of have something going now, unlike when I initially posted. I added the following option when running swatch;
-use-cpan-file-tail
Seems to work like a champ now.
Thanks,
AI