CPUG: The Check Point User Group

Resources for the Check Point Community, by the Check Point Community.


First, I hope you're all well and staying safe.
Second, I want to give a "heads up" that you should see more activity here shortly, and maybe a few cosmetic changes.
I'll post more details to the "Announcements" forum soon, so be on the lookout. -E

 

Results 1 to 5 of 5

Thread: Export/Import Errors

  1. #1
    Join Date
    2009-04-27
    Posts
    11
    Rep Power
    0

    Default Export/Import Errors

    Hi everyone,
    when trying to run the ./upgrade_export -d filename utility, I receive the following error message:
    [ 15956 1]@t0q25z[5 May 10:08:12] GetExecPath: Exec dir = .
    [ 15956 1]@t0q25z[5 May 10:08:12] AppendPathEnvVar: PATH=/opt/CPinfo-10/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/opt/CPshrd-R62/bin:/opt/CPshrd-R62/util:/opt/CPsuite-R62/fw1/bin:/opt/CPsuite-R62/fg1/bin:/opt/CPsuite-R62/fw1/bin/upgrade_tools/.
    Checking the existence of necessary files...
    Copying files to temp dir...
    [ 15956 1]@t0q25z[5 May 10:09:23] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:15] ExecuteCommandLineAndCaptureStdout: Error >> Failed to execute cpprod_util CPPROD_GetValue Products uag 1 > /opt/CPsuite-R62/fw1/tmp/ver.tmp 2>&1
    [ 15956 1]@t0q25z[5 May 10:13:15] RunCpprodUtilCmd: ExecuteCommandLineAndCaptureStdout failed (trying to run cpprod_util CPPROD_GetValue Products uag 1)
    [ 15956 1]@t0q25z[5 May 10:13:15] IsUAGInstalled: Failed to run 'cpprod_util' command.
    [ 15956 1]@t0q25z[5 May 10:13:15] CopyUAGFiles: UAG is not installed. No need to copy its files.
    [ 15956 1]@t0q25z[5 May 10:13:15] CopySecureXLFiles: PPKDIR environment variable is not set
    [ 15956 1]@t0q25z[5 May 10:13:16] IsManagementEnhancement: Warning >> SmartView Reporter Add-On is not installed.
    [ 15956 1]@t0q25z[5 May 10:13:16] CopySVRFiles: SmartView Reporter is not installed. No need to copy its files.
    [ 15956 1]@t0q25z[5 May 10:13:16] GetLocalACEDATDIR: Error >> Failed to get ACEDATA environment variable
    [ 15956 1]@t0q25z[5 May 10:13:16] CopySecureIDFiles: /var/ace/sdconf.rec does not exist
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    [ 15956 1]@t0q25z[5 May 10:13:19] do_links_getver: strncmp failed. Returning -2
    Building configuration file...
    [ 15956 1]@t0q25z[5 May 10:13:20] GetSVRVersion: Reporting Tool is not installed
    Compressing the files...
    gtar: Only wrote 2047 of 10240 bytes to CPbackup_05052009.tgz.tar
    gtar: Error is not recoverable: exiting now
    Error: Failed to execute 'gtar -c -C "/opt/CPsuite-R62/fw1/tmp/upgrade_temp_dir" -f "CPbackup_05052009.tgz.tar" .' command
    [ 15956 1]@t0q25z[5 May 10:14:45] Compress: Error >> Failed to run gtar -c -C "/opt/CPsuite-R62/fw1/tmp/upgrade_temp_dir" -f "CPbackup_05052009.tgz.tar" . command
    Error: Failed to compress Check Point Software files

  2. #2
    Join Date
    2005-08-29
    Location
    Upstate NY
    Posts
    2,720
    Rep Power
    20

    Default Re: Export/Import Errors

    Just went through this with a customer, its a problem with not having guntar.

    If you tar up "/opt/CPsuite-R62/fw1/tmp/upgrade_temp_dir" then gzip it you'll be fine.

  3. #3
    Join Date
    2009-04-27
    Posts
    11
    Rep Power
    0

    Default Re: Export/Import Errors

    I tar 'ed the directory, compressed the file using gzip, and copied over to a backup machine i have just built. When I run the ./upgrade_import utility, I receive an error message stating it failed to read the configuration info of the production machine. Any thoughts??

  4. #4
    Join Date
    2005-08-29
    Location
    Upstate NY
    Posts
    2,720
    Rep Power
    20

    Default Re: Export/Import Errors

    Make sure it transfered correctly (e.g. you used "bin" if you FTP'ed it) and it is named correctly (cpexport.tgz).

    If that's not it, I'm at a loss.

  5. #5
    Join Date
    2009-04-27
    Posts
    11
    Rep Power
    0

    Default Re: Export/Import Errors

    I had scp 'd it over and verified the file size which was the same. The only difference was the file extension; it was named CPbackup05052009.gz After consulting with a unix admin, I renamed it to CPbackup05052009.gz.tgz
    Are you saying the file must be named "cpexport.tgz" in order to work properly? I am quite new to unix so If you don't mind, can you list the steps you took with the commands starting with the tar 'ing of the file to the import of the database?

Similar Threads

  1. Having trouble getting R65 Win Export to R65 Splat Import
    By pmb1010 in forum Installing And Upgrading
    Replies: 8
    Last Post: 2009-12-01, 17:38
  2. Export rulebase to import into new firewall?
    By gambler1025 in forum Installing And Upgrading
    Replies: 2
    Last Post: 2008-03-07, 13:47
  3. SecurePlatform Upgrade Import/Export Tool
    By ilmaz in forum Installing And Upgrading
    Replies: 1
    Last Post: 2006-02-25, 23:01
  4. easy export import from a rulebase
    By joris in forum Miscellaneous
    Replies: 4
    Last Post: 2006-02-23, 18:11
  5. NGX roles export and import
    By Faceoff in forum Miscellaneous
    Replies: 3
    Last Post: 2006-01-27, 16:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •