Menu

Swatch configuration issue

Help
Andrew Imm
2010-05-03
2013-04-25
  • Andrew Imm

    Andrew Imm - 2010-05-03

    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.

     
  • Stuart Kendrick

    Stuart Kendrick - 2010-05-04

    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

     
  • Andrew Imm

    Andrew Imm - 2010-05-04

    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

     

Log in to post a comment.