Changing The Port Number In The Command Line - Red Hat DIRECTORY SERVER 8.1 - USING THE ADMIN SERVER Using Instructions

Using the admin server
Table of Contents

Advertisement

4. Enter the port number for the Admin Server instance in the Port field. The Admin Server port
number has a default number of 9830.
5. Click OK.
6. Open the Tasks tab, and click the Restart Server button to restart the server and apply the
changes.
7. Close the Console, and then restart the Console, specifying the new Admin Server port number in
the connection URL.

2.5.2. Changing the Port Number in the Command Line

The port number for the Admin Server is 9830 by default.
The Admin Server configuration is stored in two locations. The main entry is an LDAP entry in the
Configuration Directory Server's o=NetscapeRoot database. The other is the console.conf file.
Changing the port number requires changing both settings.
1. Edit the Admin Server configuration entry in the Configuration Directory Server.
a. Get the name of the Admin Server entry. Since the Admin Server entry has a special object
class, nsAdminConfig, it is possible to search for the entry using that object class to retrieve
the DN.
/usr/lib/mozldap/ldapsearch -D "cn=directory manager" -w
secret -p 389 -h server.example.com -b "o=NetscapeRoot"
"(objectclass=nsAdminConfig)" dn
Changing the Port Number in the Command Line
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

8.1

Table of Contents