XenServer强制改变错误状态虚拟机的电源状态 此过程发生在部署操作系统的时候,操作系统正处于部署中,在页面上强行终止(force shutdown),导致该虚拟机状态异常(电源一直处于开启状态),不能删除也不能够继续安装,并且不能够重启,解决办法:登陆XenServer后台,根据虚拟机的UUID强制改变虚拟机的电源状态为关机,然后即可正常删除: ``` xe vm-list #查询虚拟机的UUID xe vm-reset-powerstate uuid=b909d922-cb24-0a54-0b8a-ce6b840bc655 --force #强制更改虚拟机的电源状态 ``` Linux_quession&answer 2019-04-25 评论 2102 次浏览
SSH能ping通,以前连接成功过,后来连接失败 此问题的形成是由于Linux主机保存了旧主机的key导致,旧主机重装或者其他主机更改了IP,再次SSH连接时会出现一下报错信息: ``` @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is SHA256:xxxxxxxxxxxxxxxxx Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending RSA key in /root/.ssh/known_hosts:3 RSA host key for IP has changed and you have requested strict checking. Host key verification failed. ``` 解决办法:清空该主机之前保存的密钥,命令如下: ``` ssh-keygen -R IP_address ``` Linux_quession&answer 2019-04-25 评论 2586 次浏览