服务器出现 503 错误,到底是咋回事那、

2015-07-14 18:09:19 +08:00
 soho176

服务器的密码忘记了,然后在腾讯云的后台修改了一下密码,重启了一下服务器,然后就悲剧了。网站访问html页面正常,但是访问php的页面就出来“Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”这错误了,这到底是咋回事那,弄了半天也找不出来毛病在那里。知道的给指点一下 谢谢了!

6014 次点击
所在节点    PHP
8 条回复
yaxin
2015-07-14 18:18:07 +08:00
如果使用nginx的话看一下你的php-fpm启动了没有
em70
2015-07-14 18:19:26 +08:00
很可能是Apache没起来,静态能访问是因为缓存,Ctrl+F5就没了。看Apache配置文件有啥问题
soho176
2015-07-14 18:40:46 +08:00
@em70 Apache 是正常的,重新建了一个html的页面也是可以的打开的。
soho176
2015-07-14 18:41:58 +08:00
@yaxin php-fpm 这个确定是启动的,我就是重启了一下机器,然后改了一下密码,别的都没动啊,结果出现了这个,php-fpm 这个都来回重启 好多次了,还是不行。实在是找不到问题在哪里了
lynnworld
2015-07-14 18:54:54 +08:00
看一下/var/log/nginx/error.log 错误日志
soho176
2015-07-14 19:04:27 +08:00
@lynnworld
[Tue Jul 14 16:16:43.892312 2015] [ssl:info] [pid 2228] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Jul 14 16:16:43.892385 2015] [ssl:info] [pid 2228] AH01876: mod_ssl/2.4.10 compiled against Server: Apache/2.4.10, Library: OpenSSL/1.0.1e
[Tue Jul 14 16:16:43.912859 2015] [ssl:warn] [pid 2232] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jul 14 16:16:43.912868 2015] [ssl:info] [pid 2232] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Jul 14 16:16:43.912875 2015] [ssl:info] [pid 2232] AH01876: mod_ssl/2.4.10 compiled against Server: Apache/2.4.10, Library: OpenSSL/1.0.1e
[Tue Jul 14 16:16:43.916295 2015] [:notice] [pid 2236] FastCGI: process manager initialized (pid 2236)
[Tue Jul 14 16:16:43.917396 2015] [proxy:debug] [pid 2237] proxy_util.c(1771): AH00925: initializing worker proxy:reverse shared
[Tue Jul 14 16:16:43.917413 2015] [proxy:debug] [pid 2237] proxy_util.c(1813): AH00927: initializing worker proxy:reverse local
[Tue Jul 14 16:16:43.917435 2015] [proxy:debug] [pid 2237] proxy_util.c(1864): AH00931: initialized single connection worker in child 2237 for (*)
[Tue Jul 14 16:16:43.917440 2015] [proxy:debug] [pid 2237] proxy_util.c(1771): AH00925: initializing worker fcgi://127.0.0.1:8270/home/www/$1 shared
[Tue Jul 14 16:16:43.917445 2015] [proxy:debug] [pid 2237] proxy_util.c(1813): AH00927: initializing worker fcgi://127.0.0.1:8270/home/www/$1 local
[Tue Jul 14 16:16:43.917456 2015] [proxy:debug] [pid 2237] proxy_util.c(1864): AH00931: initialized single connection worker in child 2237 for (127.0.0.1)

用的Apache 这个是错误日志 帮忙看下吧
em70
2015-07-14 20:02:12 +08:00
有硬盘没挂载?
123123
2015-07-15 09:47:24 +08:00
日志里面没有 error 信息?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/205687

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX