iManager login fails with error "Unable to initialize JClient: java.lang.Error: Unable to initialize DClient"

  • 7002614
  • 10-Feb-2009
  • 07-May-2019

Environment

OES 2018
OES 2015
OES 11
SUSE Linux Enterprise Server 10 SP2
OES2
RHEL
Novell eDirectory 8.8 for Linux
Novell iManager 2.7
Novell eDirectory 9 for Linux
Novell iManager 3

Situation

iManager initial login page comes up, but login fails with the following error:

Unable to initialize JClient: java.lang.Error: Unable to initialize DClient

Resolution

For SLES (non-OES servers) / RHEL
For SLES (non-OES2 servers) the Tomcat/iManager user is novlwww.  This user typically as an id of 103, as shown when running "id novlwww". (the rest of the instructions for SLES (non-OES2) assume the novlwww userid is "103".  Note: If "Id novlwww" has a different userid than 103, substitute the correct userid. RHEL userid is around "990".

Within the /var/opt/novell/nici directory, the "103" directory should be created and should be owned by novlwww:novlwww.  Note: Create this directory if it does not exist: mkdir /var/opt/novell/nici/103

If it is not owned by the novlwww user and novlwww group, this directory needs to be changed using the following command.
chown -R novlwww:novlwww /var/opt/novell/nici/103

This "103" directory should have the following permissions  700 (rwx------)
chmod 700 /var/opt/novell/nici/103

For Open Enterprise Server (OES)  -- OES2, OES 11, OES 2015, OES 2018
For OES servers, the Tomcat/iManager user is wwwrun.  This user typically as an id of 30, as shown when running "id wwwrun". (the rest of the instructions for OES2 assume the wwwrun userid is "30" Note: If "Id wwwrun" has a different userid than 30, substitute the correct userid.

Within the /var/opt/novell/nici directory, the "30" directory should be created and should be owned by wwwrun:www. If it is not owned by the wwwrun user and www group, this directory needs to be changed using the following command.
chown -R wwwrun:www /var/opt/novell/nici/30

This "30" directory should have the following permissions 700 (rwx------)

Additional Information

The /var/opt/novell/nici directory should be owned by root, however within the nici directory, the user directories  should be owned by their respective users. (novlwww or wwwrun)

If the files xmgrcfg.wks and xmgrcfg.nif within /var/opt/novell/nici have an incorrect permission of 600, this needs to be changed using "chmod 644 xmgrcfg.wks xmgrcfg.nif".  Another symtom is the /var/opt/novell/nici/30/ directory, on OES SERVERS ONLY, contains a backup directory but is missing the files: xarchive.001, xmgrcfg.ks2, xmgrcfg.ks3. They cannot get created until you set the correct permissions on the files xmgrcfg.wks and xmgrcfg.nif within /var/opt/novell/nici


NICI rpms (32 bit & 64 bit) might need to be re-installed.
See TID 7011966 on re-installing NICI.