Environment
Novell Access Management 3 Access Administration
Situation
Backup executed by running /opt/novell/devman/bin/ambkup.sh on the Admin Console. At the stage where the certificates get backed up is started, the backup process errors out with the following message:
"Error 201001003 Failed to backup certificates and keys."
Adding 'set -x' to the bash script and rerunning the backup, the following data was outputted:
"Error 201001003 Failed to backup certificates and keys."
Adding 'set -x' to the bash script and rerunning the backup, the following data was outputted:
Backing up certificates...
+ /opt/novell/java/bin/java -Djava.library.path=/opt/novell/lib -jar
certtool.jar -edirTree hrndva_admin_console_01_tree -edirIP 165.18.32.197
-edirServer cn=hrndva_admin_console_01.o=novell -edirUser cn=admin.o=novell
-edirPwd novell -bkup -file /root/09192007.zip -pwd twc -trcontainer
trustedRoots.accessManagerContainer.novell -caName
'hrndva_01_tree CA'
Unable to load NPKIAPI - library could not be found
at com.novell.security.japi.pki.NPKIAPI.B(y:1206)
at com.novell.security.japi.pki.NPKIAPI.initialize(y:6051)
at com.novell.security.japi.pki.NPKIAPI.(y:31)
at com.novell.nids.certmgr.DirCerts.A(Unknown Source)
at com.novell.nids.certmgr.DirCerts.init(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.Q(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.work(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.main(Unknown Source)
Exception in thread "main" java.lang.NullPointerException
at com.novell.nids.certmgr.DirCerts.getCAKey(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.B(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.backup(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.work(Unknown Source)
at com.novell.nids.certmgr.DirCertTool.main(Unknown Source)
+ '[' 1 -ne 0 ']'
Resolution
Run ldconfig again on the Admin Console and restart the backup process.
NOTE: The first letter on the command "ldconfig" is a lower case "l" as in Lima. The script should be located in /sbin
NOTE: The first letter on the command "ldconfig" is a lower case "l" as in Lima. The script should be located in /sbin
Change Log
6 May 2010 - Nefi Munoz - Added the "NOTE" in the Resolution section