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 12/8, (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 And Related Products > Installing And Upgrading
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-10-19
Junior Member
 
Join Date: 2006-10-18
Posts: 14
Rep Power: 0
paprichaat has an average reputation (10+)
Default HFA-04 upgrade on IP390 (flash) NGX R60

Hi,

Having problems tring to hotfix R60 on NGX60, all new out-the-box. Instructions refer to:

Verify that the files fw1_r60_591000xxx_1_IPSO.tgz and CPsuite.tgz exist, where
xxx indicates the original installed build number.
3) If ‘CPsuite.tgz’ does not exist in this directory, create it using the following command.
ln -sf fw1_R60_591000xxx_1_IPSO.tgz CPsuite.tgz

...Problem is the IPSO.tgz file isnt there and therfore the HFA install fails with the error that that I should install the firewall package 1st...but the package is installed and the firewall is operational...

BTW using IPSO 4.1 B16

Any ideas?

Last edited by paprichaat; 2006-10-19 at 04:03. Reason: More info
Reply With Quote
  #2 (permalink)  
Old 2006-10-19
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 853
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: HFA-04 upgrade on IP390 (flash) NGX R60

The problem is related to the way that Check Point was initially installed, and the way that the upgrade script works.

Remember that for flash-based platforms, it unpacks the package in /opt/packages/installed/ every time it boots, and puts the files in the appropriate locations under /opt/CPsuite-R60

So when a patch is installed, it needs to unpack that tarball, replace all the patched files, then pack it back up again. Depending on how you installed the initial package, you may have your firewall package as /opt/packages/installed/fw1_xxx.tgz, or it may be /opt/packages/installed/CPsuite.tgz.

The patch script is looking fo CPsuite.tgz. If it's not there, you can just create a symlink to the actual package, so the script works. What packages do you have under /opt/packages/installed?
Reply With Quote
  #3 (permalink)  
Old 2006-10-19
Administrator
 
Join Date: 2005-08-11
Location: San Francisco, CA
Posts: 582
Rep Power: 10
BarryStiefel has disabled reputation
Default Re: HFA-04 upgrade on IP390 (flash) NGX R60

Quote:
Originally Posted by northlandboy View Post
The problem is related to the way that Check Point was initially installed, and the way that the upgrade script works.

Remember that for flash-based platforms, it unpacks the package in /opt/packages/installed/ every time it boots, and puts the files in the appropriate locations under /opt/CPsuite-R60

So when a patch is installed, it needs to unpack that tarball, replace all the patched files, then pack it back up again. Depending on how you installed the initial package, you may have your firewall package as /opt/packages/installed/fw1_xxx.tgz, or it may be /opt/packages/installed/CPsuite.tgz.

The patch script is looking fo CPsuite.tgz. If it's not there, you can just create a symlink to the actual package, so the script works. What packages do you have under /opt/packages/installed?
Again, northlandboy comes through, really knowing his stuff.
Reply With Quote
  #4 (permalink)  
Old 2006-10-19
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 853
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: HFA-04 upgrade on IP390 (flash) NGX R60

Quote:
Originally Posted by BarryStiefel View Post
Again, northlandboy comes through, really knowing his stuff.
Thanks, but really it's just coincidental that I was going through this exact issue a few weeks back on my last contract.

One more thing I just thought of is that if the HFA script is complaining that you need to install the firewall package first, then make sure that you have enabled the package - do an echo $FWDIR to confirm it. If you've got a brand new box from Nokia, and you want to patch it before deployment, remember that they install the Check Point package, but don't activate it.
Reply With Quote
  #5 (permalink)  
Old 2006-10-20
Senior Member
 
Join Date: 2006-04-27
Location: Twillight zone
Posts: 464
Rep Power: 3
abusharif has an average reputation (10+)
Default Re: HFA-04 upgrade on IP390 (flash) NGX R60

the funny issue here is that there are several documents that explains the procedure, some from checkpoint, some only found on Nokias KB, that all explain the procedure in DIFFERENT way. For example Checkpoint released and made documents regarding this (release notes) that are only found on nokias KB and not vice versa. Nokias TAC was also a bit "ummmm" on the direct question which of those to follow.
Reply With Quote
  #6 (permalink)  
Old 2006-10-20
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 853
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: HFA-04 upgrade on IP390 (flash) NGX R60

Yeah, sometimes you'll see instructions for "flash-based platforms", but really they only refer to the IP265, which uses different methods for patching/installation/etc.

The documentation isn't always all that great (yet) for flash-based platforms, and some stuff you just have to work out yourself. Some things, like trying to work out which version of IPSO and which CP version you can use are a right PITA, as Check Point and Nokia's documentation is inconsistent. The answers you get from Nokia and CP support vary too, although I tend to trust Nokia's answers on Nokia-related questions.

You run into a few really silly mistakes too, like the bootstrap script where someone referred to Dallas (R60 codename) for the file locations, rather than using a variable for the version, like any half-decent script writer would. That's why you couldn't get cpsnmpd running on a flash platform for a while.

I think (hope) that these issues will be sorted out with the next few releases, as deployment of flash-based systems becomes more widespread.
Reply With Quote
  #7 (permalink)  
Old 2006-10-31
Junior Member
 
Join Date: 2006-10-18
Posts: 14
Rep Power: 0
paprichaat has an average reputation (10+)
Default Re: HFA-04 upgrade on IP390 (flash) NGX R60

In /opt/packages/installed I have the following:

*****************************
ls -al
total 46644
drwxr-xr-x 2 root 80 512 Oct 19 09:48 .
drwxr-xr-x 3 root wheel 512 Oct 19 09:42 ..
-rwxr-xr-x 1 root 80 22737 Mar 21 2006 BOOTSTRAP
-rw-r--r-- 1 root 80 59214 Oct 19 09:48 CPinfo.tgz
lrwxr-xr-x 1 root 80 28 Oct 19 09:48 CPsuite.tgz -> fw1_R60_59100045
8_1_IPSO.tgz
-rwxr-xr-x 1 root 80 2350 Nov 16 2005 REPLACE_BOOTSTRAP.sh
-rw-rw-r-- 1 root wheel 30720 Oct 18 16:01 Replace_bootstrap_sk31660.tar
-rw-r--r-- 1 root 80 47611354 Oct 19 09:43 fw1_R60_591000458_1_IPSO.tgz

******************
I think my attempted link (above) is wrong....
Thanks for your help.



Quote:
Originally Posted by northlandboy View Post
The problem is related to the way that Check Point was initially installed, and the way that the upgrade script works.

Remember that for flash-based platforms, it unpacks the package in /opt/packages/installed/ every time it boots, and puts the files in the appropriate locations under /opt/CPsuite-R60

So when a patch is installed, it needs to unpack that tarball, replace all the patched files, then pack it back up again. Depending on how you installed the initial package, you may have your firewall package as /opt/packages/installed/fw1_xxx.tgz, or it may be /opt/packages/installed/CPsuite.tgz.

The patch script is looking fo CPsuite.tgz. If it's not there, you can just create a symlink to the actual package, so the script works. What packages do you have under /opt/packages/installed?
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 12:39.


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