Environment
Novell Access Manager 3.1 Linux Novell Identity Server
Novell Access Manager 3.1 Access Administration
Novell Access Manager 3.1 Access Administration
Situation
Purpose:
Upgrade Novell Access Manager Administration Console and Identity Server, running on a single server, from version 3.1.0 (3.1 shipping version) to version 3.1.2 (3.1 SP2)
Symptoms:
Procedure fails while upgrading the Access Manager configuration store. In the log file"/tmp/novell_access_manager/upgr_edir_yyy-mm-dd_hh:mm:ss.log" the following errors are reported:
%%% Installing novell-NDSmasv... %%% Unable to install /sp2/novell-access-manager-3.1.2-281/edir/setup/novell-NDSmasv-8.8.5-1.i586.rpm , Exiting...
Also, the file "/var/opt/novell/eDirectory/logs/nds-install.log" reports the following:
11/11/10:17:14:05%%% Adding packages...
11/11/10:17:14:05###############################################################
11/11/10:17:14:05Handling the package NDSmasv
11/11/10:17:14:05===============================================================
package NDSmasv is not installed
package novell-NDSmasv is not installed
11/11/10:17:14:05(Check-package-Existence)pkg=novell-NDSmasv,pkg_exists=0
11/11/10:17:14:05
11/11/10:17:14:05(Version,pkg_src_getter) pkg=novell-NDSmasv, pkg_src=novell-NDSmasv*.rpm, version=8.8.5
11/11/10:17:14:05(install pkg)pkg=/sp2/novell-access-manager-3.1.2-281/edir/setup/novell-NDSmasv-8.8.5-1.i586.rpm,pkgname=novell-NDSmasv
package novell-NDSmasv is not installed
package novell-NDSmasv is not installed
Preparing... ##################################################
root 3051 1 2 17:09 ? 00:00:06 /opt/novell/eDirectory/sbin/ndsd
Novell eDirectory is running. Cannnot proced with the upgrade......
error: %pre(novell-NDSmasv-8.8.5-1.i586) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping novell-NDSmasv-8.8.5-1
11/11/10:17:14:05%%% Unable to install /sp2/novell-access-manager-3.1.2-281/edir/setup/novell-NDSmasv-8.8.5-1.i586.rpm , Exiting...
Upgrade Novell Access Manager Administration Console and Identity Server, running on a single server, from version 3.1.0 (3.1 shipping version) to version 3.1.2 (3.1 SP2)
Symptoms:
Procedure fails while upgrading the Access Manager configuration store. In the log file"/tmp/novell_access_manager/upgr_edir_yyy-mm-dd_hh:mm:ss.log" the following errors are reported:
%%% Installing novell-NDSmasv... %%% Unable to install /sp2/novell-access-manager-3.1.2-281/edir/setup/novell-NDSmasv-8.8.5-1.i586.rpm , Exiting...
Also, the file "/var/opt/novell/eDirectory/logs/nds-install.log" reports the following:
11/11/10:17:14:05%%% Adding packages...
11/11/10:17:14:05###############################################################
11/11/10:17:14:05Handling the package NDSmasv
11/11/10:17:14:05===============================================================
package NDSmasv is not installed
package novell-NDSmasv is not installed
11/11/10:17:14:05(Check-package-Existence)pkg=novell-NDSmasv,pkg_exists=0
11/11/10:17:14:05
11/11/10:17:14:05(Version,pkg_src_getter) pkg=novell-NDSmasv, pkg_src=novell-NDSmasv*.rpm, version=8.8.5
11/11/10:17:14:05(install pkg)pkg=/sp2/novell-access-manager-3.1.2-281/edir/setup/novell-NDSmasv-8.8.5-1.i586.rpm,pkgname=novell-NDSmasv
package novell-NDSmasv is not installed
package novell-NDSmasv is not installed
Preparing... ##################################################
root 3051 1 2 17:09 ? 00:00:06 /opt/novell/eDirectory/sbin/ndsd
Novell eDirectory is running. Cannnot proced with the upgrade......
error: %pre(novell-NDSmasv-8.8.5-1.i586) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping novell-NDSmasv-8.8.5-1
11/11/10:17:14:05%%% Unable to install /sp2/novell-access-manager-3.1.2-281/edir/setup/novell-NDSmasv-8.8.5-1.i586.rpm , Exiting...
Resolution
The procedure fails to upgrade eDirectory modules because wasn't
possible to properly shut down the ndsd process.
The root cause has been identified in the nds.conf file that was reporting several duplicated entries and causing delays and errors during the shutdown process of ndsd, as described in the following document:
Error: "binary operator expected" when attempting to stop ndsd
https://support.microfocus.com/kb/doc.php?id=7001742&sliceId=1
Please clear the nds.conf file from duplicated and/or incorrect lines and verify manually that the startup and stop procedures for ndsd are executed without errors, then restart the upgrade procedure.
The root cause has been identified in the nds.conf file that was reporting several duplicated entries and causing delays and errors during the shutdown process of ndsd, as described in the following document:
Error: "binary operator expected" when attempting to stop ndsd
https://support.microfocus.com/kb/doc.php?id=7001742&sliceId=1
Please clear the nds.conf file from duplicated and/or incorrect lines and verify manually that the startup and stop procedures for ndsd are executed without errors, then restart the upgrade procedure.
Additional Information
Please note that similar issues can be generally experienced also upgrading from/to versions different than the ones mentioned in this document.
As a general rule is recommended to perform an eDirectory health check before to start the upgrade of the Administration Console and Identity Server.
As a general rule is recommended to perform an eDirectory health check before to start the upgrade of the Administration Console and Identity Server.