V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
Emi
V2EX  ›  VPS

小白求问:网站上传到 VPS 后提示 500 internal server error

  •  
  •   Emi · 2015-01-30 09:52:17 +08:00 · 424 次点击
    这是一个创建于 3585 天前的主题,其中的信息可能已经有所发展或是发生改变。

    首页提示:
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Apache/2.2.29 (Unix) Server at www.cdroom.me Port 443

    WebServer error log 内容为:
    [Thu Jan 29 21:28:12 2015] [warn] Init: (li618-233.members.linode.com:443) You configured HTTP(80) on the standard HTTPS(443) port!
    [Thu Jan 29 21:28:12 2015] [notice] SIGHUP received. Attempting to restart
    [Thu Jan 29 21:28:12 2015] [notice] Digest: generating secret for digest authentication ...
    [Thu Jan 29 21:28:12 2015] [notice] Digest: done
    [Thu Jan 29 21:28:12 2015] [notice] Apache/2.2.29 (Unix) DAV/2 mod_ssl/2.2.29 OpenSSL/1.0.1k configured -- resuming normal operations
    [Thu Jan 29 21:28:12 2015] [crit] (22)Invalid argument: make_sock: for address [::]:443, apr_socket_opt_set: (IPV6_V6ONLY)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27317 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27316 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27315 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27314 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27313 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27312 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27311 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27310 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27309 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27308 exit signal Segmentation fault (11)
    [Thu Jan 29 21:28:11 2015] [notice] child pid 27307 exit signal Segmentation fault (11)

    站点 Error log :
    [Fri Jan 30 01:33:42 2015] [error] [client 106.186.31.233] SoftException in Application.cpp:404: Mismatch between target UID (500) and UID (0) of file "/home/chinass/www/cdroom.me/index.php"
    [Fri Jan 30 01:33:42 2015] [error] [client 106.186.31.233] SoftException in Application.cpp:404: Mismatch between target UID (500) and UID (0) of file "/home/chinass/www/cdroom.me/index.php"
    [Fri Jan 30 01:33:42 2015] [error] [client 106.186.31.233] Premature end of script headers: index.php
    [Fri Jan 30 01:33:42 2015] [error] [client 106.186.31.233] Premature end of script headers: index.php
    [Fri Jan 30 01:33:41 2015] [error] [client 106.186.31.233] SoftException in Application.cpp:404: Mismatch between target UID (500) and UID (0) of file "/home/chinass/www/cdroom.me/index.php"
    [Fri Jan 30 01:33:41 2015] [error] [client 106.186.31.233] Premature end of script headers: index.php
    [Fri Jan 30 01:33:40 2015] [error] [client 106.186.31.233] SoftException in Application.cpp:404: Mismatch between target UID (500) and UID (0) of file "/home/chinass/www/cdroom.me/index.php"
    [Fri Jan 30 01:33:40 2015] [error] [client 106.186.31.233] Premature end of script headers: index.php
    [Fri Jan 30 01:33:38 2015] [error] [client 106.186.31.233] SoftException in Application.cpp:404: Mismatch between target UID (500) and UID (0) of file "/home/chinass/www/cdroom.me/index.php"
    [Fri Jan 30 01:33:38 2015] [error] [client 106.186.31.233] Premature end of script headers: index.php
    [Fri Jan 30 01:23:02 2015] [error] [client 106.186.31.233] SoftException in Application.cpp:404: Mismatch between target UID (500) and UID (0) of file "/home/chinass/www/cdroom.me/index.php"
    [Fri Jan 30 01:23:02 2015] [error] [client 106.186.31.233] Premature end of script headers: index.php

    求大神帮忙,小弟水准差不多只能做到按照参考文档一步步来,先感谢各位v2exer了。

    2 条回复    2015-01-30 13:54:42 +08:00
    Emi
        1
    Emi  
    OP
       2015-01-30 12:03:37 +08:00
    无人回复? ORz
    firebet
        2
    firebet  
       2015-01-30 13:54:42 +08:00
    chinass是用户名吗,然后用的root账户SFTP上传进这个文件夹的?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1624 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:57 · PVG 00:57 · LAX 08:57 · JFK 11:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.