这是一个很逗(Sha)比的错误,在一个很无聊的时间,发生在一个很无聊的人身上。

由于某些测试,折腾需求,去尝试申请QQ互联应用,验证需要验证首页Header,添加meta标签。

然后我像逗比一样的吧header(和跳转一样)直接写index.php里了,没想到触发后整个应用会503。

听说Radhat维护了。。。。

然后我准备等等看看。

 

两天后。。。。。

 

还是503。。各种503。。重启应用还是503,刚重启好,挂了,刚重启好,挂了,结果后来重启,打开博客一看:“数据库链接错误”,顿时吓Die了,难道又是什么神秘的BUG?还是维护后遗症?再次重启,提示mysql某文件被锁定,我还去谷歌了半天。

好的,后来开这VPN访问博客SFTP,查看日志,诶我擦,不会吧。。

以上省略

<pre><span style="font-family: arial, helvetica, sans-serif;">[Fri Jun 19 12:16:46 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:16:46 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:16:46 2015] [notice] Digest: done
[Fri Jun 19 12:16:46 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Fri Jun 19 12:17:07 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
10.169.197.241 - - [19/Jun/2015:12:17:07 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
[Fri Jun 19 12:17:12 2015] [notice] caught SIGWINCH, shutting down gracefully
- - - [19/Jun/2015:12:17:12 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Red Hat) (internal dummy connection)"
[Fri Jun 19 12:17:41 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:17:41 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:17:41 2015] [notice] Digest: done
[Fri Jun 19 12:17:41 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Fri Jun 19 12:17:59 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
180.153.81.158, 198.143.44.1 - - [19/Jun/2015:12:17:59 -0400] "GET / HTTP/1.1" 500 - "-" "DNSPod-Monitor/2.0"
[Fri Jun 19 12:18:09 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
10.169.197.241 - - [19/Jun/2015:12:18:09 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
- - - [19/Jun/2015:12:18:14 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Red Hat) (internal dummy connection)"
[Fri Jun 19 12:18:14 2015] [notice] caught SIGWINCH, shutting down gracefully
[Fri Jun 19 12:18:43 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:18:43 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:18:43 2015] [notice] Digest: done
[Fri Jun 19 12:18:43 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
112.117.216.171, 61.155.149.60, 198.143.44.33 - - [19/Jun/2015:12:18:44 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:18:44 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
[Fri Jun 19 12:18:46 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
112.117.216.171, 61.155.149.60, 198.143.44.33 - - [19/Jun/2015:12:18:46 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:19:05 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
10.169.197.241 - - [19/Jun/2015:12:19:05 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
[Fri Jun 19 12:19:09 2015] [notice] caught SIGWINCH, shutting down gracefully
- - - [19/Jun/2015:12:19:09 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Red Hat) (internal dummy connection)"
[Fri Jun 19 12:19:37 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:19:37 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:19:37 2015] [notice] Digest: done
[Fri Jun 19 12:19:37 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Fri Jun 19 12:19:43 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
112.90.82.139, 198.143.44.33 - - [19/Jun/2015:12:19:43 -0400] "GET / HTTP/1.1" 500 - "-" "DNSPod-Monitor/2.0"
[Fri Jun 19 12:19:49 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
119.167.246.14, 61.155.149.57, 198.143.44.65 - - [19/Jun/2015:12:19:49 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-Bot(ce.baidu.com)"
[Fri Jun 19 12:20:05 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
183.60.235.19, 61.155.149.60, 198.143.44.33 - - [19/Jun/2015:12:20:05 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-Bot(ce.baidu.com)"
10.169.197.241 - - [19/Jun/2015:12:20:10 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
[Fri Jun 19 12:20:10 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
[Fri Jun 19 12:20:15 2015] [notice] caught SIGWINCH, shutting down gracefully
- - - [19/Jun/2015:12:20:15 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Red Hat) (internal dummy connection)"
[Fri Jun 19 12:20:42 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:20:42 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:20:42 2015] [notice] Digest: done
[Fri Jun 19 12:20:42 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Fri Jun 19 12:21:04 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
10.169.197.241 - - [19/Jun/2015:12:21:04 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
[Fri Jun 19 12:21:09 2015] [notice] caught SIGWINCH, shutting down gracefully
- - - [19/Jun/2015:12:21:09 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Red Hat) (internal dummy connection)"
[Fri Jun 19 12:21:37 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:21:37 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:21:37 2015] [notice] Digest: done
[Fri Jun 19 12:21:37 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Fri Jun 19 12:21:37 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
119.84.87.232, 61.155.149.66, 198.143.44.33 - - [19/Jun/2015:12:21:37 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:37 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
175.22.3.40, 222.216.190.40, 198.143.44.1 - - [19/Jun/2015:12:21:37 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:37 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
180.97.35.21, 61.155.149.58, 198.143.44.33 - - [19/Jun/2015:12:21:37 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
222.73.59.31, 61.155.149.56, 198.143.44.1 - - [19/Jun/2015:12:21:38 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:38 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
[Fri Jun 19 12:21:38 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
119.84.87.232, 61.155.149.66, 198.143.44.33 - - [19/Jun/2015:12:21:38 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:38 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
180.97.35.20, 61.155.149.59, 198.143.44.1 - - [19/Jun/2015:12:21:38 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:38 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
175.22.3.40, 222.216.190.40, 198.143.44.1 - - [19/Jun/2015:12:21:38 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:38 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
222.73.59.31, 61.155.149.56, 198.143.44.1 - - [19/Jun/2015:12:21:38 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:21:39 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
222.73.59.31, 61.155.149.56, 198.143.44.1 - - [19/Jun/2015:12:21:39 -0400] "GET / HTTP/1.1" 500 - "-" "Baidu-YunGuanCe-SLABot(ce.baidu.com)"
[Fri Jun 19 12:22:05 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
10.169.197.241 - - [19/Jun/2015:12:22:05 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
[Fri Jun 19 12:22:09 2015] [notice] caught SIGWINCH, shutting down gracefully
- - - [19/Jun/2015:12:22:09 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (Red Hat) (internal dummy connection)"
[Fri Jun 19 12:22:36 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:##隐藏##_t:s0:c2,c828
[Fri Jun 19 12:22:36 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 19 12:22:36 2015] [notice] Digest: done
[Fri Jun 19 12:22:36 2015] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Fri Jun 19 12:23:04 2015] [error] [client 127.5.155.129] PHP Parse error: syntax error, unexpected 'qc' (T_STRING), expecting ',' or ';' in /##这里隐藏##/index.php on line 3
10.169.197.241 - - [19/Jun/2015:12:23:04 -0400] "HEAD / HTTP/1.1" 500 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
[Fri Jun 19 12:23:09 2015] [notice] caught SIGWINCH, shutting down gracefully

以下省略

于是结果出来了,就是首页index.php的一句话错了,(不知道为什么)整个应用就503,然后Stopped了。

然后开启后,百度的云观测,dnspod之类的监控就爬过来看看恢复了没有。

然后又触发了,又死了。。

于是来来回回折腾几次,终于开SFTP吧万恶的代码删了。

(index,我还是改成HTML做302跳转吧,等号给tx验证header。)

 


眼里有远方,心中有阳光,脚下有力量