linux服务器出错日志

1、locale

Invalid locale: run the "locale" command and check for warnings

解决方法:执行locale,会有报错;再执行export LANG=en_GB.UTF-8;再执行locale就不报错了。
en_GB.UTF-8这个语言是产品安装对应的。在其他情况下可能要变动。
2、如果敲命令的时候出现hostname unknown云云,重启服务器吧。暂时还不知道怎么解决
3、/var目录满了,除了删除不用的文件外,可以apt-get clean腾出点容量
4、如果连接不到数据库,可能是由于错误次数太多会锁定,在数据服务器执行flush命令:mysqladmin flush-hosts
5、 关机的时候出现这个错误: TASK ERROR: VM quit/powerdown failed - got timeout
google上有人提供的解决方案
Search the PID of the machine with:
ps aux | grep "/usr/bin/kvm -id VMID"
Kill it with:
kill -9 PID
Start your machine again with:
qm start VMID
And look if you can stop your machine in GUI or CLI
CLI: qm stop VMID
但是
TASK ERROR: VM quit/powerdown failed - got timeout
 
 
6、开机后点击console,
no connection : Connection timed out
TASK ERROR: command '/bin/nc -l -p 5908 -w 10 -c '/usr/sbin/qm vncproxy 120 2>/dev/null'' failed: exit code 1
还得再reload

猜你喜欢

转载自774020554.iteye.com/blog/2095332