Fwd restart via CLI
Problem
1) A firewall is logging locally. Symptoms will include:
A) No new logs are coming into the SmartCenter or CLM according to the SmartViewTracker or fw log command
B) The $FWDIR/log/fw.log file is increasing in size on the firewall in question
2) There is not TCP log connection between the firewall fwd process and the log server / SmartCenter / CLM.
You should normally see an ESTABLISHED connection when running the following command on a firewall that is configured to log remotely.
[Expert@chkpfw]# netstat -anp | grep ":257" | grep -v -E "LISTEN|127.0.0.1" tcp 0 0 172.16.0.254:48956 192.168.1.100:257 ESTABLISHED 31856/fwd
where 172.16.0.254 = local firewall address and 192.168.1.100 = remote log server address
Solution
1) Make sure fwd is running on the SmartCenter or other logger and that there is free disk space.
2) Restart fwd on the firewall(s).
command line fwd restart
start command
# cpwd_admin stop -name FWD -path "$FWDIR/bin/fw" -command "fw kill fwd"
stop command
# cpwd_admin start -name FWD -path "$FWDIR/bin/fw" -command "fwd"