Centos7: After reboot the grid, how to reset the NIS

来自cslt Wiki
跳转至: 导航搜索

For Centos 7, when the grid reboots, you may encounter that the log shows that 'Permission denied' and so you are unable to login the grid.

In this case, the NIS should be restarted.


1. ssh grid-5 -l root

2. cd /nfs/disk/perm/sys/admin

3. ssh grid-XX < mount_nfs.sh

4. ssh grid-XX -l root

5. systemctl stop NetworkManager.service

6. systemctl restart ypbind; systemctl restart NetworkManager.