[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [FW-1] AW: [FW-1] Running "fw" commands from cron under NG on Solaris!
Title: Firewall Logs This
means it can't find libfw1.so, which it needs. Cron will set up a default
environment for all cron jobs, and that default environment probably does not
include an environment variable or two that FW-1 needs. Check Your environment
variables under a root shell (where fw logswitch works) and comare them to what
cron uses (write a cron job that just outputs the environment variables using
"env"). Check especially for LD_LIBRARY_PATH, because You'll probably have to
set it. Or perhaps just FWDIR. Also, check the ld.so.1 man
page.
Sorry for the rather vague answer. I
hope this works on Solaris 8, because all i have in front of me is
2.6.
-&
Hi,
I am
running NG FP1 on Solaris 8 and would like to automate the command
"/opt/CPfw1-50/bin/fw logswitch" using cron. With 4.1, this was not an issue,
it worked fine but under NG, I get the error "ld.so.1: /opt/CPfw1-50/bin/fw:
fatal: libfw1.so: open failed: No such file or directory"
I
think that means it has a problem with STDOUT but I am not
sure!
Can
anyone shed a little light on this or has anyone seen this issue? I figure
that this could cause administrative havoc for many people if "fw" commands
cannot be automated with cron jobs under NG!
Thanks
DF
|