| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| for some reason on splat cron fwm logexport won't make a full file. Doesn't write any error to var/log/messages or /var/log/cron. Any troubleshooting ideas? commandline works fine - creates a full file=789MB command: /opt/CPsuite-R62/fw1/bin/fwm logexport -n -i /var/opt/CPsuite-R62/fw1/log/2007-06-21_235900.log -o /var/opt/CPsuite-R62/fw1/log/2007-06-21.log Starting... There are 3911606 log records in the file same command in script called from cron script creates only partial file=170MB cron: 00 30 * * * /usr/local/bin/log.export script: #!/bin/sh . /opt/CPshrd-R62/tmp/.CPprofile.sh /opt/CPsuite-R62/fw1/bin/fwm logexport -n -i /var/opt/CPsuite-R62/fw1/log/2007-06-21_235900.log -o /var/opt/CPsuite-R62/fw1/log/2007-06-21.log |
| |||
| Thanks, I figured it out. It was something else. To cron fwm logexport you need to make sure to send console messages somewhere. Otherwise all the "Processed 1930000 out of 3855499 records (50%)" messages make the job die. e.g. cron: 10 00 * * * /usr/local/bin/exportlog.sh > /dev/null 2>&1 exportlog.sh: #!/bin/sh . /opt/CPshrd-R62/tmp/.CPprofile.sh $FWDIR/bin/fwm logexport -n -i $FWDIR/log/2007-06-24_235900.log -o $FWDIR/log/2007-06-24.log |
![]() |
| Thread Tools | |
| Display Modes | |
| |