V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
soho176
V2EX  ›  PHP

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

  •  
  •   soho176 · 2015-07-14 18:09:19 +08:00 · 6003 次点击
    这是一个创建于 3220 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    8 条回复    2015-07-15 09:47:24 +08:00
    yaxin
        1
    yaxin  
       2015-07-14 18:18:07 +08:00   ❤️ 1
    如果使用nginx的话看一下你的php-fpm启动了没有
    em70
        2
    em70  
       2015-07-14 18:19:26 +08:00 via Android   ❤️ 1
    很可能是Apache没起来,静态能访问是因为缓存,Ctrl+F5就没了。看Apache配置文件有啥问题
    soho176
        3
    soho176  
    OP
       2015-07-14 18:40:46 +08:00
    @em70 Apache 是正常的,重新建了一个html的页面也是可以的打开的。
    soho176
        4
    soho176  
    OP
       2015-07-14 18:41:58 +08:00
    @yaxin php-fpm 这个确定是启动的,我就是重启了一下机器,然后改了一下密码,别的都没动啊,结果出现了这个,php-fpm 这个都来回重启 好多次了,还是不行。实在是找不到问题在哪里了
    lynnworld
        5
    lynnworld  
       2015-07-14 18:54:54 +08:00   ❤️ 1
    看一下/var/log/nginx/error.log 错误日志
    soho176
        6
    soho176  
    OP
       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
        7
    em70  
       2015-07-14 20:02:12 +08:00 via Android
    有硬盘没挂载?
    123123
        8
    123123  
       2015-07-15 09:47:24 +08:00
    日志里面没有 error 信息?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1052 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:32 · PVG 03:32 · LAX 12:32 · JFK 15:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.