Asset ID: |
1-71-2109885.1 |
Update Date: | 2017-08-28 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
2109885.1
:
NSP Backup Issue, Exportrealm Backup Not Getting Generated as a Part of Nightly Backup
Related Items |
- Oracle Communications Performance Intelligence Center (PIC) Software
|
Related Categories |
- PLA-Support>Sun Systems>CommsGBU>Global Signaling Solutions>SN-SND: Tekelec PIC
|
In this Document
Created from <SR 3-12084290661>
Applies to:
Oracle Communications Performance Intelligence Center (PIC) Software - Version 7.1 and later
Tekelec
Goal
To generate the exportrealm backup files as a part of NSP backup.
Possible error in log is:
Security.weblogic.realm.export:
[propertyfile] Updating property file: /tmp/wlst.properties
[wlst] Trying to connect to the server ...
[wlst] Connecting to t3://10.244.137.76:8001 with userid weblogic ...
[wlst] Successfully connected to Admin Server 'nspadmin' that belongs to domain 'tekelec'.
[wlst]
[wlst] Warning: An insecure protocol was used to connect to the
[wlst] server. To ensure on-the-wire security, the SSL port or
[wlst] Admin port should be used instead.
[wlst]
[wlst] Exporting security realm
[wlst] Export Complete.
[wlst] Traceback (innermost last):
[wlst] File "dist/server/exportRealm.py", line 32, in ?
[wlst] File "dist/server/exportRealm.py", line 19, in exportRealm
[wlst] weblogic.management.utils.InvalidParameterException: [Security:090455]Export File Error
....
[wlst] Caused by: java.io.FileNotFoundException: /opt/oracle/backup/upgrade_backup/exportrealm/DefaultAuthenticator.dat (Permission denied)
[wlst] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[wlst] at java.io.FileOutputStream.open(Native Method)
[wlst] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
[wlst] at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
[wlst] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
[wlst] at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
[wlst] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[wlst] at java.io.FileWriter.<init>(FileWriter.java:46)
[wlst] ... 2 more
[wlst] at weblogic.security.utils.ProviderUtils.exportDataConvertToLDIFT(ProviderUtils.java:2328)
[wlst]
[wlst] at weblogic.security.utils.ProviderUtils.exportAuthenticatorLDIFT(ProviderUtils.java:1831)
[wlst] weblogic.management.utils.InvalidParameterException:
Solution
- Verify the file permission of "backup" folder inside NSP server (/opt/oracle/backup):
# ls -ld /opt/oracle/backup/
drwxr-x--- 13 oracle oinstall 12288 May 30 00:00 /opt/oracle/backup/
- Rectify the correct file permission for "backup" folder (on Weblogic1):
# chmod 755 backup
- Verify again:
# ls -ld /opt/oracle/backup/
drwxr-xr-x 13 oracle oinstall 12288 May 30 00:00 /opt/oracle/backup/
- Run the manual backup once again on the NSP server and verify that the export realm backup folder contains the required files.
# ll /opt/oracle/NSP_BACKUP_01_28_16_06_49_27/exportrealm/
total 1696
-rw-r--r-- 1 root root 34079 Jan 28 06:49 DefaultAuthenticator.dat
-rw-r--r-- 1 root root 372 Jan 28 06:49 DefaultCredentialMapper.dat
-rw-r--r-- 1 root root 1645049 Jan 28 06:49 XACMLAuthorizer.dat
-rw-r--r-- 1 root root 44693 Jan 28 06:49 XACMLRoleMapper.dat
Attachments
This solution has no attachment