Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2366867.1
Update Date:2018-02-27
Keywords:

Solution Type  Technical Instruction Sure

Solution  2366867.1 :   Diameter Signaling Router (DSR): NOAM Upgrade Subscriber Database Server (SDS) 7.2 > SDS 8.1.2 Failed Due To Error Missing Files (restoretemp directory)  


Related Items
  • Oracle Communications Diameter Signaling Router (DSR)
  •  
Related Categories
  • PLA-Support>Sun Systems>CommsGBU>Global Signaling Solutions>SN-SND: Tekelec DSR
  •  




In this Document
Goal
Solution
References


Created from <SR 3-16958488971>

Applies to:

Oracle Communications Diameter Signaling Router (DSR) - Version DSR 7.2.0 to DSR 7.2.0 [Release DSR 7.0]
Tekelec

Goal

SDS Primary NOAM upgrade SDS 7.2 > SDS 8.1.2 failed with the error missing files ( restoretemp directory)

1519722999::Checking for stale RPM DB locks...
1519722999::Installing public key /mnt/upgrade/upgrade/pub_keys/hpPublicKey2048_key1.pub...
1519722999::Installing public key /mnt/upgrade/upgrade/pub_keys/hpPublicKey.pub...
1519722999::Installing public key /mnt/upgrade/upgrade/pub_keys/RPM-GPG-QLGC-KEY...
1519722999::Checking for any missing packages or files
1519722999::Checking for missing files...
1519723000::Missing Files:
1519723003:: 0:TKLCsds-7.2.0-7.2.0.0.0_72.24.0: /var/TKLC/db/filemgmt/restoretemp
1519723003::ERROR: There are files missing from some rpms!
1519723003::ERROR: Will not upgrade the server!
1519723003::Rebuilding RPM database. This may take a moment...
1519723004::rpmdb_load: /var/lib/rpm/Packages: unexpected file type or format
1519723012::Changing to runlevel 4...
1519723018::Restarting cron service...
1519723018::Cleaning up chroot environment...
1519723020::Stopping remoteExec background process
1519723020::Shutting down /mnt/upgrade/upgrade/remoteExec...
1519723020::

Solution

The restoretemp directory was missing in SDS 7.2 release. If restoretemp directory is not created then upgrade and DB restore will fail.

Workaround is to create the missing directory using following commands.

sudo mkdir -p /var/TKLC/db/filemgmt/restoretemp
sudo chown awadmin:awadm /var/TKLC/db/filemgmt/restoretemp
sudo chmod 775 /var/TKLC/db/filemgmt/restoretemp

 

References

<BUG:27308684> - UPDATE RELESSE SDS DR/INSTALL GUIDES WITH BUG 23549757 WORKAROUND
<BUG:27290580> - 8.2 SDS UPGRADE GUIDE NEEDS CLEARER 7.2 WORKAROUND FOR RESTORETEMP ISSUE
<BUG:23549757> - SDS FRESH INSTALLATION IS NOT CREATING RESTORETEMP DIRECTORY IN FILEMGMT DIRECTO

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback