Ability to manually delete and re-enter the Administrator's password.



When all else fails, try re-installing the Server. To do this, first use the uninstall program, nshome/uninstall.exe, then go back through the installation procedure.




Chapter 7 of Directory Server Installation Guide.

 

Troubleshooting 

This section describes the some common installation problems and how to solve them.

"I accidentally denied all access to the Server Manager forms."

Log in to the system as root or with the server's user account, and edit the nshome/admin-serv/ns-admin.conf file. There is a line for allowed hosts or allowed IP addresses. Use wildcard patterns, or modify the lines to include your host and address, save the file, and then restart the administration server. The format for the HOSTS parameter is:
        HOSTS (<server> | <server> | <server> | . . . )
where <server> is a hostname such as:
        directory.sprockets.com
You can use wildcards (the * character, which repreents all valid names) with these hostnames. For example, to allow any machine in the Spacely Sprockets domain to access the Server Manager, enter:
        HOSTS (*.sprockets.com)
You can allow hosts using specific IP addresses to access the Server Manager by using the Addresses parameter:
        Addresses (<IP> | <IP> | <IP> | . . . )
where <IP> is the host's IP address. For example:
        Addresses (255.255.255.255 | 255.255.255.256)

"My client can't locate the server."

First, try using the hostname.  If that does not work, use the fully qualified name (such as www.domain.com), and make sure the server is listed in the DNS. If that doesn't work, use the IP address.

"The port I choose is in use."

You probably did not shut down a server before you upgraded it.  Shut down the old server, then manually start the upgraded one.

Another installed server might be using the port.  Make sure the port you have chosen is not already being used by another server.
 

"I've forgotten the administrator's user name and password" or 
"I can't log into Netscape Console".

In the nshome folder (which is c:\netscape\server4 by default), open the admin-serv folder, then open the config folder, and look for the admpw  file.  Now use a text editor like NotePad to edit a line of text similar to the following:
admin:lnOVeixulqkmU
The text before the colon is the administrator's user name (in this case, admin); the text following the colon is the password, which is encrypted. 

Delete everything after the colon and save the file. Shut down the Admin Server, and restart it.  When prompted for the administration password, just press Return.  You should be able to access the Admin Server now.   Be sure to create a new password at some point.

Copyright © 2000
Sun-Netscape Alliance