Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fw log cron job

Status
Not open for further replies.

jdurick

Programmer
Jul 1, 2003
3
US
When I run a cronjob on my checkpoint logswitched file and output it to another file, it creates the file but does not write to it...

05 08 * * * fw log -lng /var/opt/CPfw1-53/2003-07-21_235900.log > /tools/logfile

I have also tried putting it in a shell script, then croning that one but no luck, same result (0 file size)..what am I missing here...

tia, jd
 
I keep getting this error after the cron job has completed:

Your &quot;cron&quot; job on <fwname>
/opt/CPfw1-53/bin/fw log -nl /var/opt/CPfw1-53/log/2003-07-21_235900.log > /export/home/jdurick/2003-07-21_235900.log

produced the following output:

ld.so.1: /opt/CPfw1-53/bin/fw: fatal: libfw1.so: open failed: No such file or directory
ld.so.1: /opt/CPfw1-53/bin/fw: fatal: relocation error: file /opt/CPfw1-53/bin/fw: symbol fw_environ: referenced symbol not found
Killed

any help would be great....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top