最后确定是Asia/Shanghai了,但还是登录不上去,每次登陆都会死机,重启后查看错误日志,时间对上了,但错误还是没变,如下[mw_shl_code=applescript,true][Mon Mar 26 16:11:56.654755 2018] [mpm_event:notice] [pid 3435:tid 140633922893696] AH00493: SIGUSR1 received. Doing graceful restart
[Mon Mar 26 16:11:57.439090 2018] [mpm_event:notice] [pid 3435:tid 140633922893696] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Mon Mar 26 16:11:57.439169 2018] [core:notice] [pid 3435:tid 140633922893696] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 26 16:13:16.711263 2018] [:error] [pid 4370:tid 140633819145984] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Mon Mar 26 16:13:16.711661 2018] [:error] [pid 4369:tid 140633785575168] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.[/mw_shl_code]
参考网上的帖子把配置文件里的SESSION_ENGINE = 'django.contrib.sessions.backends.cache'改成SESSION_ENGINE = 'django.contrib.sessions.backends.file' 后又出现了下面的错误
[mw_shl_code=applescript,true][Mon Mar 26 15:51:00.836889 2018] [mpm_event:notice] [pid 3681:tid 140697438721920] AH00491: caught SIGTERM, shutting down
[Mon Mar 26 15:56:23.645096 2018] [mpm_event:notice] [pid 3962:tid 139908442879872] AH00489: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Mon Mar 26 15:56:23.702804 2018] [core:notice] [pid 3962:tid 139908442879872] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 26 15:58:31.779017 2018] [:error] [pid 3967:tid 139908272191232] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Mon Mar 26 15:59:09.681212 2018] [:error] [pid 3966:tid 139908322547456] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Mon Mar 26 15:59:23.977111 2018] [:error] [pid 3968:tid 139908339332864] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Mon Mar 26 16:00:42.280453 2018] [:error] [pid 3966:tid 139908330940160] Login successful for user "admin".
[Mon Mar 26 16:03:17.867625 2018] [:error] [pid 3967:tid 139908272191232] Unable to retrieve Domain: 6cd1b73789b94d9d834dcefd574b5c6a
[Mon Mar 26 16:03:21.162139 2018] [core:warn] [pid 3962:tid 139908442879872] AH00045: child process 3980 still did not exit, sending a SIGTERM
[Mon Mar 26 16:03:23.165181 2018] [core:warn] [pid 3962:tid 139908442879872] AH00045: child process 3980 still did not exit, sending a SIGTERM
[Mon Mar 26 16:03:25.169394 2018] [core:warn] [pid 3962:tid 139908442879872] AH00045: child process 3980 still did not exit, sending a SIGTERM
[Mon Mar 26 16:03:27.173152 2018] [core:error] [pid 3962:tid 139908442879872] AH00046: child process 3980 still did not exit, sending a SIGKILL
[/mw_shl_code]
共同点是输入账号密码点登陆后一直没反应,然后慢慢的就死机了,还是不知道是哪里的问题
|