CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 Platforms > Check Point SecurePlatform (SPLAT)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-01-25
Junior Member
 
Join Date: 2006-12-13
Posts: 9
Rep Power: 0
truerelaxation has an average reputation (10+)
Default Log files in /opt are actually in /var

I recently had an issue where my SPLAT harddrive was filled with logs. When I cd to $FWDIR/log I can see from pwd that I'm in /opt/CPSuite-R65/fw1/log. I ran a df -k and saw that I had a healthy amount of space in /opt. A week or so later my SPLAT SmartCenter server stopped logging. After some investigation I found that the logs were actually in /var and that volume was filled. I removed some log files and now everything is working fine.

I'd like to learn how log files that appeared to be in the /opt volume based on the ouput of pwd ended up in /var.

Is this something that is unique to Check Point and SPLAT as a flavor of Linux or is this something verifiable that I can check using standard LInux tools? Which tools/commands, if any, can I use?

Thanks,
TR
Reply With Quote
  #2 (permalink)  
Old 2008-01-25
Senior Member
 
Join Date: 2006-09-26
Posts: 856
Rep Power: 3
cciesec2006 has an average reputation (10+)
Default Re: Log files in /opt are actually in /var

As you can see, /opt/CPfw1-R55/log is symlink to /var/opt/CPfw1-R55/log
That is how SPLAT works.

[Expert@testgw1]# pwd
/opt/CPfw1-R55
[Expert@testgw1]# ls -la
total 58116
drwxr-x--- 13 root bin 4096 Jun 4 2007 .
drwxr-xr-x 9 root root 4096 Nov 26 21:20 ..
-rwxrwx--- 1 root bin 16456 Dec 22 2003 LICENSE.TXT
drwxr-x--- 4 root bin 4096 Jun 4 2007 SU
drwxr-x--- 5 root bin 4096 Jun 4 2007 bin
lrwxrwxrwx 1 root bin 12 Sep 26 19:54 boot -> /etc/fw.boot
drwxrwx--- 2 root bin 4096 Dec 22 2003 cisco
lrwxrwxrwx 1 root bin 23 Sep 26 19:54 conf -> /var/opt/CPfw1-R55/conf
lrwxrwxrwx 1 root root 27 Sep 26 19:54 database -> /var/opt/CPfw1-R55/database
drwxrwx--- 2 root bin 4096 Dec 22 2003 doc
-rw-rw---- 1 root root 29187078 Oct 9 14:23 fw1_HOTFIX_HFA_R55_17_bcp.tgz
-rw-rw---- 1 root root 30159553 Dec 11 22:01 fw1_HOTFIX_HFA_R55_20_bcp.tgz
drwxr-x--- 2 root bin 4096 Jun 4 2007 hash
drwxr-x--- 4 root bin 4096 Jun 4 2007 lib
drwxr-x--- 2 root bin 4096 Jun 4 2007 libsw
lrwxrwxrwx 1 root root 22 Sep 26 19:54 log -> /var/opt/CPfw1-R55/log
lrwxrwxrwx 1 root root 20 Sep 26 19:54 modules -> /etc/fw.boot/modules
drwxrwx--- 2 root bin 4096 Sep 26 19:54 scripts
lrwxrwxrwx 1 root root 24 Sep 26 19:54 spool -> /var/opt/CPfw1-R55/spool
drwx------ 6 root root 4096 Dec 10 16:05 state
drwxr-x--- 5 root bin 4096 Jun 4 2007 sup
lrwxrwxrwx 1 root bin 22 Sep 26 19:54 tmp -> /var/opt/CPfw1-R55/tmp
-rwxr-x--- 1 root bin 6277 Nov 1 2005 uninstall_fw1_HOTFIX_HFA_R55_17
-rwxr-x--- 1 root bin 6277 Jun 4 2007 uninstall_fw1_HOTFIX_HFA_R55_20
drwxrwx--- 2 root bin 4096 Sep 26 19:54 well
[Expert@testgw1]#
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 06:42.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0