Environment
Non-Root install of eDirectory 8.8.5
nici64-2.7.6-0.01.x86_64.rpm
nici64-2.7.6-0.01.x86_64.rpm
Situation
It is a requirement to install NICI as root for the non-root install of eDirectory 8.8.5. When attempting to install nici64-2.7.6-0.01.x86_64.rpm as root user, getting an error.
If the 32 bit version of NICI (nici-2.7.6-0.01.i386.rpm) is installed first, then the 64bit version will install fine.
Errors:
Initializing NICI ... failed, error -1497
%post(nici64-2.7.6-0.01.x86_64) scriptlet failed, exit status 39
If the 32 bit version of NICI (nici-2.7.6-0.01.i386.rpm) is installed first, then the 64bit version will install fine.
Errors:
Initializing NICI ... failed, error -1497
%post(nici64-2.7.6-0.01.x86_64) scriptlet failed, exit status 39
Resolution
The 64bit version of NICI has a dependency on the 32bit version, so it is necessary to install the 32bit version of NICI first. If 64bit version is already installed first, just remove it with the command:
rpm -e nici64-2.7.6-0.01
Next proceed to install the 32bit version followed by the 64bit version.
rpm -e nici64-2.7.6-0.01
Next proceed to install the 32bit version followed by the 64bit version.
Additional Information
rpm -Uvh /home/user/eDirectory/nici64-2.7.6-0.01.x86_64.rpm
Preparing... ########################################### [100%]
1:nici64 ########################################### [100%]
Initializing NICI ... failed, error -1497
error: %post(nici64-2.7.6-0.01.x86_64) scriptlet failed, exit status 39
If 32bit version is installed first:
rpm -Uvh nici-2.7.6-0.01.i386.rpm
Preparing... ########################################### [100%]
1:nici ########################################### [100%]
Initializing NICI ... done.
sb-sles11:/home/user/eDirectory # rpm -Uvh nici64-2.7.6-0.01.x86_64.rpm
Preparing... ########################################### [100%]
1:nici64 ########################################### [100%]
Initializing NICI ... done.
Preparing... ########################################### [100%]
1:nici64 ########################################### [100%]
Initializing NICI ... failed, error -1497
error: %post(nici64-2.7.6-0.01.x86_64) scriptlet failed, exit status 39
If 32bit version is installed first:
rpm -Uvh nici-2.7.6-0.01.i386.rpm
Preparing... ########################################### [100%]
1:nici ########################################### [100%]
Initializing NICI ... done.
sb-sles11:/home/user/eDirectory # rpm -Uvh nici64-2.7.6-0.01.x86_64.rpm
Preparing... ########################################### [100%]
1:nici64 ########################################### [100%]
Initializing NICI ... done.