月度归档:2013年12月

vnc xauth: (stdin):1: bad display name ,域名解析问题

vnc xauth: (stdin):1: bad display name

1.[root@host144 ~]# /etc/init.d/vncserver restart
2. Shutting down VNC server: 1:root 2:oracle [ OK ]
3. Starting VNC server: 1:root xauth: (stdin):1: bad display name “host144:1” in “add” command
4.

5. New ‘host144:1 (root)’ desktop is host144:1
6.

7. Starting applications specified in /root/.vnc/xstartup
8. Log file is /root/.vnc/host144:1.log
9.

10. 2:oracle xauth: (stdin):1: bad display name “host144:2” in “add” command
11.

12. New ‘host144:2 (oracle)’ desktop is host144:2
13.

14. Starting applications specified in /home/oracle/.vnc/xstartup
15. Log file is /home/oracle/.vnc/host144:2.log
16.

17. [ OK ]
解决方法:

1.[root@host144 .vnc]# cat /etc/hosts
2. 127.0.0.1 host144 localhost.localdomain localhost
3. 10.0.127.144 host144

本人提供服务器技术维护服务,需要者联系

一次被挂黑链及处理办法

服务器被挂黑链,登陆服务器,更改站点权限,权限分离,配置服务器目录权限,全部只读,通过访问网站,调试网站,给需要权限的目录以响应的权限,站点测试增长,开始清理php的一句话木马,清理大马,清理暗链,所有工作做完后,交付客户,客户满意,但是第二天。。。。。。。
继续阅读