通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
Emi
V2EX  ›  VPS

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

  •  
  •   Emi ·
    PRO
    · Jan 30, 2015 · 905 views
    This topic created in 4146 days ago, the information mentioned may be changed or developed.

    首页提示:
    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 replies    2015-01-30 13:54:42 +08:00
    Emi
        1
    Emi  
    OP
    PRO
       Jan 30, 2015
    无人回复? ORz
    firebet
        2
    firebet  
       Jan 30, 2015
    chinass是用户名吗,然后用的root账户SFTP上传进这个文件夹的?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   849 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 20:02 · PVG 04:02 · LAX 13:02 · JFK 16:02
    ♥ Do have faith in what you're doing.