上周服务器断电,今天重启lampp后Apache、mysql、proftpd正常,但是访问禅道登录页是空白页。已解决 悬赏5积分
1.上周服务器断电,今天重启lampp后Apache、mysql、proftpd正常,但是访问禅道登录页是空白页。
2.查看/opt/lampp/htdocs/zentaopms/tmp/log php.20141201.log.php 日志如下:
===========================================================
[Mon Dec 01 10:17:06.005210 2014] [ssl:warn] [pid 2958] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:17:06.012685 2014] [ssl:warn] [pid 2958] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:17:06.012852 2014] [suexec:notice] [pid 2958] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 01 10:17:06.076340 2014] [auth_digest:notice] [pid 2959] AH01757: generating secret for digest authentication ...
[Mon Dec 01 10:17:07.001678 2014] [ssl:warn] [pid 2959] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:17:07.001725 2014] [ssl:warn] [pid 2959] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:17:07.001901 2014] [lbmethod_heartbeat:notice] [pid 2959] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 01 10:17:07.165933 2014] [mpm_prefork:notice] [pid 2959] AH00163: Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Mon Dec 01 10:17:07.165992 2014] [core:notice] [pid 2959] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
cat: /opt/lampp/var/mysql/localhost.localdomain.pid: 权限不够
cat: /opt/lampp/var/mysql/localhost.localdomain.pid: 权限不够
[Mon Dec 01 10:20:40.868200 2014] [mpm_prefork:notice] [pid 2959] AH00169: caught SIGTERM, shutting down
[Mon Dec 01 10:20:44.001856 2014] [ssl:warn] [pid 3477] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:20:44.001988 2014] [ssl:warn] [pid 3477] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:20:44.002270 2014] [suexec:notice] [pid 3477] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 01 10:20:44.061945 2014] [auth_digest:notice] [pid 3478] AH01757: generating secret for digest authentication ...
[Mon Dec 01 10:20:45.001759 2014] [ssl:warn] [pid 3478] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:20:45.001806 2014] [ssl:warn] [pid 3478] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:20:45.001978 2014] [lbmethod_heartbeat:notice] [pid 3478] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 01 10:20:45.014979 2014] [mpm_prefork:notice] [pid 3478] AH00163: Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Mon Dec 01 10:20:45.015011 2014] [core:notice] [pid 3478] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Mon Dec 01 10:23:09.499285 2014] [mpm_prefork:notice] [pid 3478] AH00169: caught SIGTERM, shutting down
[Mon Dec 01 10:23:12.001158 2014] [ssl:warn] [pid 3996] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:23:12.001288 2014] [ssl:warn] [pid 3996] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:23:12.001565 2014] [suexec:notice] [pid 3996] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 01 10:23:12.060926 2014] [auth_digest:notice] [pid 3997] AH01757: generating secret for digest authentication ...
[Mon Dec 01 10:23:13.001771 2014] [ssl:warn] [pid 3997] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:23:13.001818 2014] [ssl:warn] [pid 3997] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:23:13.001993 2014] [lbmethod_heartbeat:notice] [pid 3997] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 01 10:23:13.015482 2014] [mpm_prefork:notice] [pid 3997] AH00163: Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Mon Dec 01 10:23:13.015518 2014] [core:notice] [pid 3997] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
[Mon Dec 01 10:24:31.447328 2014] [mpm_prefork:notice] [pid 3997] AH00169: caught SIGTERM, shutting down
[Mon Dec 01 10:24:34.001284 2014] [ssl:warn] [pid 4476] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:24:34.001413 2014] [ssl:warn] [pid 4476] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:24:34.001689 2014] [suexec:notice] [pid 4476] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 01 10:24:34.060759 2014] [auth_digest:notice] [pid 4477] AH01757: generating secret for digest authentication ...
[Mon Dec 01 10:24:35.002196 2014] [ssl:warn] [pid 4477] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 01 10:24:35.002273 2014] [ssl:warn] [pid 4477] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 01 10:24:35.002573 2014] [lbmethod_heartbeat:notice] [pid 4477] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 01 10:24:35.016790 2014] [mpm_prefork:notice] [pid 4477] AH00163: Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Mon Dec 01 10:24:35.016824 2014] [core:notice] [pid 4477] AH00094: Command line: '/opt/lampp/bin/httpd -E /opt/lampp/logs/error_log -D SSL -D PHP'
===========================================================
3.又去查看 /opt/lampp/logs error_log 日志如下:
===========================================================
die();
?>
03:18:00 ERROR: SQLSTATE[HY000] [2002] 拒绝连接 in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1545, last called by /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1507 through function connectByPDO.
in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1589 when visiting
03:18:04 ERROR: SQLSTATE[HY000] [2002] 拒绝连接 in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1545, last called by /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1507 through function connectByPDO.
in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1589 when visiting
03:18:05 ERROR: SQLSTATE[HY000] [2002] 拒绝连接 in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1545, last called by /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1507 through function connectByPDO.
in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1589 when visiting
03:18:08 ERROR: SQLSTATE[HY000] [2002] 拒绝连接 in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1545, last called by /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1507 through function connectByPDO.
in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1589 when visiting
03:18:10 ERROR: SQLSTATE[HY000] [2002] 拒绝连接 in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1545, last called by /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1507 through function connectByPDO.
in /opt/lampp/htdocs/zentaopms/framework/router.class.php on line 1589 when visiting
===========================================================
禅道版本:6.3.stable
安装包类型:Linux安装包
操作系统:CentOS
客户端浏览器:IE8
🍟 03:18:00 ERROR: SQLSTATE[HY000] [2002] 拒绝连接 检查mysql的服务是否正常。我怀疑机器上有其他的mysql进程在运行。
回复
|
🎂 学习了。
|