服务器需要重启才能访问

在阿里云上买的香港的ecs服务器,使用的宝塔面板操作服务器centons,目前安装了tomcat8,mysql,php。。。图片说明

现在放了javaweb项目,并绑定了域名,能够使用域名正常访问,但是为什么第二天访问的时候就访问不了,重启一下服务器就又可以正常访问了,请问有知道的解释一下,谢谢。

补充,这是访问显示的内容。

图片说明

apache errorlog:
|
|
图片说明

1个回答

如果系统正常,那么你应该能够ssh登陆

ssh进入服务器后,查看你的日志/var/log/apache2/error.log,单单粘贴一个页面,不贴日志没人能够知道是什么问题

zaq15csdn
greatofdream 回复坐飞机: 看你粘贴的部分日志中的错误是,在/www/server/phpadmin下面没有index.html,似乎和你的域名无法访问不是同一个问题,你的apache的根目录放置的是你的javaweb项目?
9 个月之前 回复
weixin_44820213
坐飞机 你好,这是今天的错误日志,我把上面的问答编辑了,截了图上传了,但是要审核,所以我现在就直接复制了今天的日志
9 个月之前 回复
weixin_44820213
坐飞机 [Mon Jan 27 16:39:36.549000 2020] [mpm_event:notice] [pid 1116:tid 140095945947008] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1b configured -- resuming normal operations [Mon Jan 27 16:39:36.549055 2020] [core:notice] [pid 1116:tid 140095945947008] AH00094: Command line: '/www/server/apache/bin/httpd' [Mon Jan 27 20:55:15.102057 2020] [mpm_event:notice] [pid 1116:tid 140095945947008] AH00493: SIGUSR1 received. Doing graceful restart [Mon Jan 27 20:55:15.110652 2020] [ssl:warn] [pid 1116:tid 140095945947008] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Jan 27 20:55:15.110931 2020] [lbmethod_heartbeat:notice] [pid 1116:tid 140095945947008] AH02282: No slotmem from mod_heartmonitor [Mon Jan 27 20:55:15.111155 2020] [mpm_event:notice] [pid 1116:tid 140095945947008] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.1.1b configured -- resuming normal operations [Mon Jan 27 20:55:15.111163 2020] [core:notice] [pid 1116:tid 140095945947008] AH00094: Command line: '/www/server/apache/bin/httpd'
9 个月之前 回复
weixin_44820213
坐飞机 [Mon Jan 27 03:33:02.266042 2020] [autoindex:error] [pid 2225:tid 140568894068480] [client 223.71.167.163:51741] AH01276: Cannot serve directory /www/server/phpmyadmin/: No matching DirectoryIndex (index.php,index.html,index.htm,default.php,default.html,default.htm) found, and server-generated directory index forbidden by Options directive [Mon Jan 27 12:11:07.940108 2020] [autoindex:error] [pid 2225:tid 140568944424704] [client 198.108.67.48:49998] AH01276: Cannot serve directory /www/server/phpmyadmin/: No matching DirectoryIndex (index.php,index.html,index.htm,default.php,default.html,default.htm) found, and server-generated directory index forbidden by Options directive [Mon Jan 27 16:39:25.709936 2020] [mpm_event:notice] [pid 1109:tid 140569522059136] AH00491: caught SIGTERM, shutting down [Mon Jan 27 16:39:36.467723 2020] [ssl:warn] [pid 1116:tid 140095945947008] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Jan 27 16:39:36.477728 2020] [lbmethod_heartbeat:notice] [pid 1116:tid 140095945947008] AH02282: No slotmem from mod_heartmonitor
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐