Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Ypbind (NIS) server does not start (1015289)
Details
The ypbind service does not start. This knowledge base article provides troubleshooting tips and solution for the following probable causes for this issue:
- The ypbind service is not configured to run
- The portmap service is not running
- NIS domain is not set
Solution
To configure the ypbind service to run:
- Confirm that the ypbind service is not running:
# service ypbind status
ypbind is stopped - Check whether the service is expected to run:
# chkconfig --list ypbind
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
"off" for all levels shows that ypbind is not configured to run. - Enable the ypbind service for the next reboot:
# chkconfig ypbind reset
# chkconfig ypbind on - Check whether the service is now enabled:
# chkconfig --list ypbind
ypbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off - Start the ypbind service for the current uptime:
# service ypbind start
If the ypbind service fails to start with an error similar to the following, the portmapservice might not be running.# service ypbind start
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
.rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
...
[FAILED]
To configure the portmap service to run:
- Confirm that the portmap service is not running:
# service portmap status
portmap is stopped - Check whether portmap is expected to run:
# chkconfig --list portmap
portmap 0:off 1:off 2:off 3:off 4:off 5:off 6:off
"off" for all run levels shows that the portmap service is disabled and not expected to run. - Enable the portmap service for the next reboot:
# chkconfig portmap reset - Check whether the service is now enabled:
# chkconfig --list portmap
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off - Start the portmap service for the current uptime:
# service portmap start
Starting portmapper: [ OK ] - Check whether the portmap service is running:
# service portmap status
portmap (pid 574) is running...
If the ypbind service is still not running, check whether the NIS domain is set by performing the following tasks:
- Check whether ypbind failed silently because the NIS domain was not set:
# grep NISDOMAIN /etc/sysconfig/network
#
Empty output shows that the NIS domain is not set. - Enable NIS with the esxcfg-auth command using your site's NIS domain and server names:
# esxcfg-auth --enablenis --nisdomain example.com --nisserver nisserver.example.com - Check the effects of running the esxcfg-auth command:
# grep -i domain /etc/sysconfig/network /etc/yp.conf
/etc/sysconfig/network:NISDOMAIN=example.com
/etc/yp.conf:domain vmware.com server nisserver.example.com - Start the ypbind service for the current uptime:
# service ypbind start
Setting NIS domain name vmware.com: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server. - Check whether the ypbind service is running:
# service ypbind status
ypbind (pid 11195) is running...
The portmap and ypbind services should now run and restart automatically on the next system reboot.
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

