Support Center > Search Results > SecureKnowledge Details
"Unspecified error" or "Failed to create a new version" error in SmartDashboard
Symptoms
  • Policy installation in SmartDashboard fails with "Unspecified error":

  • Creating new Database Revision Control version in SmartDashboard fails with "Unspecified error" or "Failed to create a new version" error for every Domain Management Server.

    For example, when checking the box "Create database version" in the "Install Policy" window:

  • Debug of FWM daemon on the involved Domain (per sk33207) when trying to create a Database Revision Control version in SmartDashboard shows:

    [FWM PID ...]@HostName[Date Time] fwasync_do_mux_in: ...: rc=1, next: ... with 1, req: ..., 0w
    [FWM PID ...]@HostName[Date Time] T_event_mainloop_iter_select: select reports 1 events
    [FWM PID ...]@HostName[Date Time] CDirectoryCompress::Decompress: Going to extract archive '/opt/CPsuite-R77/fw1/conf/db_versions/repository/<N>/ckp_mgmt_version.tar.gz' into directory '/opt/CPsuite-R77/fw1/conf/db_versions/databases/<N>/'
    [FWM PID ...]@HostName[Date Time] CDirectoryCompress::Decompress: Copying archive from '/opt/CPsuite-R77/fw1/conf/db_versions/repository/<N>/ckp_mgmt_version.tar.gz' to '/opt/CPsuite-R77/fw1/conf/db_versions/databases/<N>//ckp_mgmt_version.tar.gz'
    [FWM PID ...]@HostName[Date Time] cpIsDir: Calling cpIsDirEx
    [FWM PID ...]@HostName[Date Time] CDirectoryCompress::ExecuteCommand: Going to execute command '/opt/CPshrd-R77/util/gtar' with '"/opt/CPshrd-R77/util/gtar" "--use-compress-program=/opt/CPshrd-R77/util/gzip" -xf "ckp_mgmt_version.tar.gz"' as arguments and '/opt/CPsuite-R77/fw1/conf/db_versions/databases/<N>/' as current directory
    [FWM PID ...]@HostName[Date Time] CDirectoryCompress::ExecuteCommand: Error >> Failed to get current working directory with error 'No such file or directory'
    [FWM PID ...]@HostName[Date Time] CVersionDBManager::GetVersion - Failed to compress.
    [FWM PID ...]@HostName[Date Time] CGetVersionHandler::GetVersionMain: Error >> IVersionDBManager::
    
  • Debug of FWM daemon on the involved Domain (per sk33207) when trying to create a Database Revision Control version in SmartDashboard shows:

    [FWM PID ...]@HostName[Date Time] CDirectoryCompress::ExecuteCommand: Error >> Failed to get current working directory with error 'No such file or directory' 
    [FWM PID ...]@HostName[Date Time] CVersionDBManager::DoArchive - Failed to compress. 
    [FWM PID ...]@HostName[Date Time] CVersionDBManager::CreateVersion - Failed to store the version file into the versioning repository. 
     CCreateVersionHandler::CreateVersion: Failed to IVersionDBManager::CreateVersion with err 0x80004005 ('Unspecified error') 
     CCreateVersionHandler::CreateVersionMain: Failed to CreateVersion
    
Cause

The working directory of FWM process was deleted while a database version was collected. As a result, the "gtar -C <path to source dir>" command failed.

In cases that were reported to Check Point:

  • Issues started after uninstalling R77.20 Add-On from the Security Management Server / Multi-Domain Security Management Server.

  • Administrators used shell scripts that ran mdsstart from a temporary directory that was deleted afterwards.

    Example:

    ... ... ...
    cd $TEMPDIR
    ... ... ...
    $MDSDIR/scripts/mdsstart &&
    ... ... ...
    rm -rf $TEMPDIR
    ... ... ...
    

Solution
Note: To view this solution you need to Sign In .