View Single Post
  #2 (permalink)  
Old 2007-03-15
Maliklahore Maliklahore is offline
Junior Member
 
Join Date: 2007-02-09
Posts: 8
Rep Power: 0
Maliklahore has an average reputation (10+)
Default Re: Redirecting Log Files To Another Drive

Hi

I need same solution for Redhat Linux Enterprise 3 please help me urgent.

Thanks
Malik

Redirecting VPN-1/Firewall-1 log files to another drive or path







Product: VPN-1 Pro (VPN-1/FW-1)
Version: NG, NG AI, NGX
Last Modified: 29-Nov-2006









Solution






To redirect log files to another drive or path:

Windows NT/2000
1. Add to registry a new string value of FWLOGDIR under one of the following registry locations:

FireWall-1 4.1:

HKEY_LOCAL_MACHINE\SOFTWARE\CheckPoint\FW1\4.1


FireWall-1 NG and NGX:

HKEY_LOCAL_MACHINE\SOFTWARE\CheckPoint\FW1\5.0
2. Create a new directory (for example C:\MyLogs) and define a String value named FWLOGDIR containing the log path (C:\MyLogs) under HKEY_LOCAL_MACHINE\SOFTWARE\CheckPoint\FW1\5.0

Note: The target path directory must exist prior to modifying the registry. In NGX, you should enter "6.0" in the path mentioned, instead of "5.0".
3. Reboot server.


NOTE: Disable ANTI-VIRUS software.

UNIX

On UNIX machines, symbolically link $FWDIR/log directory to another drive.

Example:

fwstop (cpstop on NG and NGX)
mv $FWDIR/log $FWDIR/log.old
ln -s /path/to/new/logdir $FWDIR/log
fwstart (cpstart on NG and NGX)


WARNING:
DO NOT place log directory on a remote file system. This might result an unpredicted corruptions in active log files (fw.log, fw.adtlog).


Applies To:






• VPN-1 Pro NGX and all previous versions
• Windows OS
• Unix
• Logging
• Redirect log files
• Log Directory
Reply With Quote