提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
[求助] 修改了后台登录端口后不能登录后台控制面板了
今天上午发现网站被人挂了黑链,发现是根目录下的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可以正常启动,但是service httpd restart却失败。
[root@li664-161 ~]# service httpd restart
Stopping httpd: [FAILED]
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
[FAILED]
请高手 给看下如何 解决。谢谢 |