What version of Checkpoint are you using? NG, NG AI or NGx?
The command is quite simple for NG AI R55w or NGx:
[Expert@dca-SPLAT-CLM]# fwm logexport -i fw.log -o log.ascii -n
-n is not to do dns lookup, log.ascii is you ascii log file.
However, if you are thinking about doing it cron, I would suggest you
setup a script called "dumplog" and put the following in the content file:
source /opt/CPshrd-R60/tmp/.CPprofile.sh
HOSTNAME=`hostname`
DMY=`date +%H%M%h%d%Y`
cd $FWDIR/log
/opt/CPsuite-R60/fw1/bin/fwm logexport -i fw.log -o /tmp/log.ascii -n
Again, I am using NGx R60 so the "source" is different AI R55. If you don't
put
in the source, the cron will not work because it will not source all the
environment variable properly and you will be scratching your head wondering
why it works mannually but fails in cron.
Good Luck!!!!!
cisco4ng
Clive Luk <clive AT ILANET.NET DOT AU> wrote: Hi all,
I hope someone can help me here.
I want to export a raw log to an ASCII file.
I have used this command:
fw logexport -n -m raw -i fw.log -o out.txt
However, I got the following error message.
ld.so.1: fw: fatal: relocation error: file fw: symbol __user_mode_inet6__:
referenced symbol not found
Killed
Is that the right way to export a log file to ascii by using command(I don't
want to use the SmartDash Board, because I want to write a corn job to
export the file nightly). Can someone please give me a hand here.
Thanks in advance!
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
|