Difference between revisions of "Centos7: After reboot the grid, how to reset the NIS"

From cslt Wiki
Jump to: navigation, search
(以“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 sh...”为内容创建页面)
 
Line 3: Line 3:
 
In this case, the NIS should be restarted.
 
In this case, the NIS should be restarted.
  
1. root
+
 
 +
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.

Revision as of 03:16, 19 May 2016

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.