Red Hat Bugzilla – Bug 204346
adminserver does not bind to virtual interface
Last modified: 2015-01-04 18:20:43 EST
Description of problem: The adminserver does not bind to the IP address of a
virtual interface, such as eth0:1
How reproducible: Console does not accept IP to be entered that are bound to a
virtual interface. When using a virtual interface IP during setup the servers
binds to all IPs (0.0.0.0)
Steps to Reproduce:
1. setup virtual interface with a new IP (i.e. 220.127.116.11)
2a. run setup and configure to listen to 18.104.22.168
2a. run console and configure to listen to 22.214.171.124
2a) will result in the server listening on any interfaces (0.0.0.0)
2b) won't accept input with the following error message:
Attribute[configuration.nsserveraddress] has invalid value
Bind to IP that was configured (only)
This will occur on hosts with multiple IPs one interface, as usually seen in
The setup-ds-admin.pl program needs a FQDN passed to it, not an IP address. By default, both ns-slapd and httpd will listen on all interfaces. The FQDN is used for other purposes than the interface(s) to listen on.
To control what addresses ns-slapd listens on, you must set nsslapd-listenhost in cn=config to the hostname or address that you want. You can also set this in via 389-console.
To control what addresses httpd listens on, you can set the listen address via 389-console. You can alternatively set it as the Listen parameter in /etc/dirsrv/admin-serv/console.conf.
I have verified that Directory Server, Admin Server, and Console all work when setting both servers to listen only on a virtual interface with the above methods on my f14 test system. Closing as NOTABUG.