CPUG

The Check Point User Group

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

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have 72 attendees signed up from 20 countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3, 9/7.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. 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 2005-12-30
SamuelB SamuelB is offline
Junior Member
 
Join Date: 2005-12-30
Posts: 7
Rep Power: 0
SamuelB has an average reputation (10+)
Default Upgrade export issues

I am currently running a dedicated SmartCenter server.

It is running NG AI R55 on SecurePlatform.

When I run upgrade_export from the upgrade_tools directory, I receive the following error:

Error: FWDIR key is not define. Please fix it and try again

I have downloaded the upgrade tools from the website to be sure I have the latest version and I receive the same error. The Secure Knowledgebase does not have any solutions for this. Has anyone ever seen this before?

Thanks for your help!
Reply With Quote
  #2 (permalink)  
Old 2005-12-31
chillyjim chillyjim is offline
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,637
Rep Power: 5
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: Upgrade export issues

Check to make sure $FWDIR is set (%FWDIR% for windows). This should point to the directory where FW1 is installed (where the "conf" directory is located).
Reply With Quote
  #3 (permalink)  
Old 2006-01-02
Youngy Youngy is offline
Member
 
Join Date: 2005-09-20
Posts: 83
Rep Power: 3
Youngy has an average reputation (10+)
Default Re: Upgrade export issues

I could not find anything about this in the secure knowledgebase either! I guess it might be something simple - well I hope so. Were all the CP processes stopped before you did the export command?
Reply With Quote
  #4 (permalink)  
Old 2006-01-03
SamuelB SamuelB is offline
Junior Member
 
Join Date: 2005-12-30
Posts: 7
Rep Power: 0
SamuelB has an average reputation (10+)
Default Re: Upgrade export issues

chillyjim,

$FWDIR is set. That is the first thing that I checked.

Youngy,

I tried the command with the CP processes running and then again while all the CP processes were stopped. That is the second thing I checked/tried. :)

Thanks for the suggestions. Any other ideas?
Reply With Quote
  #5 (permalink)  
Old 2006-01-03
chillyjim chillyjim is offline
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,637
Rep Power: 5
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: Upgrade export issues

Did you see this one?

Symptoms

* The upgrade_export command fails following the upgrade to HFA_01 of NGX R60
* Upon launching the command, the following error message is displayed: "The procedure entry point CPPROD_SetHFSilentUninstall could not be located in the dynamic link library cpprod50.dll"
* Upon pressing the OK button of the error message window, a subsequent error message is displayed: "Error: FWDIR key is not define. Please fix it and try again"

Cause
The SmartCenter Server, residing on a Windows 2003 server, was upgraded from NGX R60 to HFA_01 of NGX R60. The SNMP daemon process remained running during this upgrade and had already locked the cpprod50.dll dynamic link library (dll) file. Consequently, this dll file could not be replaced with the newer one.
NOTE: This issue was only reported on Windows 2003 servers.
Solution
There are 2 available options to resolve the issue:
# Option 1 - Replace the existing cpprod50.dll file with the NGX R60 HFA_01 file version:

1. Obtain the needed cpprod50.dll file from the Check Point Download Center. Save the file to the SmartCenter Server host


2. Go to the "Program Files"\CheckPoint\CPShared\R60\lib\ directory and backup the existing cpprod50.dll file to a file named cpprod50.dll.r60bkp


3. Stop the SNMP process that is running on the SmartCenter Server host:

* Select Start menu > Settings > Control Panel > Administrative Tools > Services tool


* In the Services (Local) window, locate and select the SNMP service


* In the General tab, go to the Service status section (Service status displays as "Started"). Select the "Stop" button and then select the "OK" button
4. In this directory, replace the existing cpprod50.dll file with the downloaded, NGX R60 HFA_01 version of this file


5. Re-start the SNMP process on the SmartCenter Server host:
* Select Start menu > Settings > Control Panel > Administrative Tools > Services tool


* In the Services (Local) window, locate and select the SNMP service


* In the General tab, go to the Service status section (Service status displays as "Stopped"). Select the "Start" button and then select the "OK" button

# Option 2 - Re-perform the upgrade to HFA_01 of NGX R60:

1. Follow the installation guide procedure to uninstall HFA_01 of NGX R60 from the SmartCenter Server host


2. Reboot the SmartCenter Server host


3. Stop the SNMP process that is running on the SmartCenter Server host:

* Select Start menu > Settings > Control Panel > Administrative Tools > Services tool


* In the Services (Local) window, locate and select the SNMP service


* In the General tab, go to the Service status section (Service status displays as "Started"). Select the "Stop" button and then select the "OK" button

4. Follow the installation guide procedure to install HFA_01 of NGX R60

Check Point recommends implementing option 2, due to the concern that there may be other dll files which were locked during the initial upgrade and, therefore, not replaced.
NOTE: Starting with HFA_02 of NGX R60, Check Point will incorporate an upgrade process mechanism that will not allow the upgrade process to continue, if it identifies that certain processes are running. In such a case, the upgrade process will guide the security administrator to stop these processes before proceeding with the upgrade.
Reply With Quote
  #6 (permalink)  
Old 2006-01-04
SamuelB SamuelB is offline
Junior Member
 
Join Date: 2005-12-30
Posts: 7
Rep Power: 0
SamuelB has an average reputation (10+)
Default Re: Upgrade export issues

Quote:
Did you see this one?
Yes, I saw that one but it does not pertain to SecurePlatform. That is only for Windows Server 2003. I looked to see if there were any correlations I could make between that solution and something I could fix on SPLAT. But it seems that it is a Windows specific .dll problem. I have now opened up a case with Checkpoint. I will post my findings/solution here when they come up with one.
Reply With Quote
  #7 (permalink)  
Old 2006-01-08
jamesliao jamesliao is offline
Junior Member
 
Join Date: 2006-01-08
Posts: 4
Rep Power: 0
jamesliao has an average reputation (10+)
Default Re: Upgrade export issues

For csh

setenv CPDIR "/opt/CPshrd-R55"
if ( $?LD_LIBRARY_PATH ) then
/bin/echo "${LD_LIBRARY_PATH}" | /bin/grep "${CPDIR}" >& /dev/null
if ( $status != 0 ) then
setenv LD_LIBRARY_PATH "${CPDIR}/lib:${LD_LIBRARY_PATH}"
endif
else
setenv LD_LIBRARY_PATH "${CPDIR}/lib"
endif
if ( $?PATH ) then
/bin/echo "${PATH}" | /bin/grep "${CPDIR}/bin" >& /dev/null
if ( $status != 0 ) then
setenv PATH "${CPDIR}/bin:${PATH}"
endif
/bin/echo "${PATH}" | /bin/grep "${CPDIR}/util" >& /dev/null
if ( $status != 0 ) then
setenv PATH "${CPDIR}/util:${PATH}"
endif
else
setenv PATH "${CPDIR}/bin:${CPDIR}/util"
endif
setenv FWDIR "/opt/CPfw1-R55"
setenv CPMDIR "/opt/CPfw1-R55"
setenv SUDIR "/opt/CPfw1-R55/sup"
setenv SUROOT "/var/suroot"
setenv PATH "${FWDIR}/bin:${PATH}"
setenv LD_LIBRARY_PATH "${FWDIR}/lib:${LD_LIBRARY_PATH}"
setenv FW_BOOT_DIR "/etc/fw.boot"
setenv FGDIR "/opt/CPfg1-R55"
setenv PATH "${FGDIR}/bin:${PATH}"
setenv LD_LIBRARY_PATH "${FGDIR}/lib:${LD_LIBRARY_PATH}"


For sh
CPDIR=/opt/CPshrd-R55 ; export CPDIR
if [ $LD_LIBRARY_PATH ]; then
/bin/echo ${LD_LIBRARY_PATH} | /bin/grep ${CPDIR} 1>/dev/null 2>&1
if [ $? -ne 0 ] ; then
LD_LIBRARY_PATH=${CPDIR}/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
fi
else
LD_LIBRARY_PATH=${CPDIR}/lib
export LD_LIBRARY_PATH
fi
if [ $PATH ]; then
/bin/echo ${PATH} | /bin/grep ${CPDIR}/bin 1>/dev/null 2>&1
if [ $? -ne 0 ] ; then
PATH=${CPDIR}/bin:${PATH}
export PATH
fi
/bin/echo ${PATH} | /bin/grep ${CPDIR}/util 1>/dev/null 2>&1
if [ $? -ne 0 ] ; then
PATH=${CPDIR}/util:${PATH}
export PATH
fi
else
PATH=${CPDIR}/bin:${CPDIR}/util
export PATH
fi
hash 1>/dev/null 2>&1
FWDIR=/opt/CPfw1-R55 ; export FWDIR
CPMDIR=/opt/CPfw1-R55 ; export CPMDIR
SUDIR=/opt/CPfw1-R55/sup ; export SUDIR
SUROOT=/var/suroot ; export SUROOT
PATH=${FWDIR}/bin:${PATH} ; export PATH ; hash 1>/dev/null 2>&1
LD_LIBRARY_PATH=${FWDIR}/lib:${LD_LIBRARY_PATH} ; export LD_LIBRARY_PATH ; hash
1>/dev/null 2>&1
FW_BOOT_DIR=/etc/fw.boot ; export FW_BOOT_DIR
FGDIR=/opt/CPfg1-R55 ; export FGDIR
PATH=${FGDIR}/bin:${PATH} ; export PATH ; hash 1>/dev/null 2>&1
LD_LIBRARY_PATH=${FGDIR}/lib:${LD_LIBRARY_PATH} ; export LD_LIBRARY_PATH ; hash
1>/dev/null 2>&1
Reply With Quote
  #8 (permalink)  
Old 2006-01-10
SamuelB SamuelB is offline
Junior Member
 
Join Date: 2005-12-30
Posts: 7
Rep Power: 0
SamuelB has an average reputation (10+)
Default Re: Upgrade export issues

jamesliao,

That is awesome! upgrade_export completes successfully now. Using the information from your script I just fixed my LD_LIBRARY_PATH and PATH and that was enough to fix my problem. Thank you very much for solving a problem that Checkpoint Support is still working on. I will have to let them know.
Reply With Quote
  #9 (permalink)  
Old 3 Weeks Ago
cuervo18k cuervo18k is offline
Junior Member
 
Join Date: 2007-12-27
Posts: 1
Rep Power: 0
cuervo18k has an average reputation (10+)
Default Re: Upgrade export issues

This is pretty good except the detection does not work for the HP server Smart Start software that loads an SNMP client or server within its inner workings if the normal Windows SNMP is not loaded. It is a gotcha to watch out for.
__________________
Regards,

c1.8k
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 20:56.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0