yppasswdd not running on nis master host on centos 7
1) Make sure you have the correct DNS entries and hosts file entries
# yppasswd
yppasswd: yppasswdd not running on NIS master host
2) Include Master server and slave server details in /etc/hosts file.
# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
134.18.X.X testclient.wing.com testclient
134.18.X.X testslave.wing.com testslave
134.18.X.X testmaster.wing.com testmaster
3) Now it works
# yppasswd
Changing NIS account information for dumper on testserver.
Please enter old password:
Changing NIS password for dumper on testserver.
Please enter new password:
1) Make sure you have the correct DNS entries and hosts file entries
# yppasswd
yppasswd: yppasswdd not running on NIS master host
2) Include Master server and slave server details in /etc/hosts file.
# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
134.18.X.X testclient.wing.com testclient
134.18.X.X testslave.wing.com testslave
134.18.X.X testmaster.wing.com testmaster
3) Now it works
# yppasswd
Changing NIS account information for dumper on testserver.
Please enter old password:
Changing NIS password for dumper on testserver.
Please enter new password:
No comments:
Post a Comment