修改了后台登录端口后不能登录后台控制面板了
今天上午发现网站被人挂了黑链,发现是根目录下的index.php被 加了隐藏链接,然后我就修改了SSh、FTP和后台登录端口,但是后台现在无法打开。登录SSH查看,修改的端口也存在,然后查询了下日志,日志如下:
[Wed Jun 18 11:22:55 2014] [notice] Apache/2.2.24 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
sudo: no value specified for `syslog'
[Wed Jun 18 11:25:25 2014] [notice] SIGHUP received. Attempting to restart
[Wed Jun 18 11:25:25 2014] [notice] Apache/2.2.24 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
[Wed Jun 18 11:28:23 2014] [notice] caught SIGTERM, shutting down
[Wed Jun 18 11:28:58 2014] [notice] Apache/2.2.24 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
[Wed Jun 18 16:35:36 2014] [notice] caught SIGTERM, shutting down
[Wed Jun 18 16:35:36 2014] [notice] Apache/2.2.24 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
[Wed Jun 18 16:36:44 2014] [notice] caught SIGTERM, shutting down
[Wed Jun 18 16:36:54 2014] [notice] Apache/2.2.24 (Unix) PHP/5.2.17p1 configured -- resuming normal operations
是apache没有启动,最早我是使用apache,后来一次网站当机后就再也打不开了,我就切换成了nginx,然后网站全部可以打开了。
现在service nginxd restart可以正常启动,但是[size=12px]service [/size]httpd[size=12px] restart却失败。[/size]
[size=12px][root@li664-161 ~]# service httpd restart[/size]
[size=12px]Stopping httpd: [FAILED][/size]
[size=12px]Starting httpd: httpd: Syntax error on line 56 of /www/wdlinux/httpd-2.2.24/conf/httpd.conf: module rewrite_module is built-in and can't be loaded[/size]
[size=12px] [FAILED][/size]
[size=12px]请高手 给看下如何 解决。谢谢[/size] 没人帮么,郁闷!
页:
[1]