Chapter 7. General Usage Information

NOTE

Make sure that the correct JRE — the program called java — is set in the PATH before launching the Console.

When the login screen opens, you are prompted for the username, password, and Administration Server location. It is possible to send the Administration Server URL and port with the start script. For example:

/usr/bin/redhat-idm-console -a http://localhost:9830

The a option is a convenience, particularly if you are logging into a Directory Server for the first time. On subsequent logins, the URL is saved. If you do not pass the Administration Server port number with the redhat-idm-consolecommand, then you are prompted for it at the Console login screen.

4. Getting the Administration Server Port Number

Logging into the Console requires the Administration Server URL along with a username and password. The Administration Server has a standard HTTP address; the default is http://hostname:9830/. (If the Administration Server is using TLS/SSL, then the URL begins with https://.)

To find the port number for your Administration Server run this command:

grep \^Listen /etc/dirsrv/admin-serv/console.conf

Listen 0.0.0.0:port

port goes after the colon in the Administration Server URL. If the Listen were 1132, the Administration Server URL would be http://hostname:1132.

5. Starting and Stopping Servers

5.1. Starting and Stopping Directory Server

There are two ways to start, stop, or restart the Directory Server:

There are scripts in the instance directories. For example:

/usr/lib/dirsrv/slapd-instance/start-slapd

102