1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Internal Server Error

Discussion in 'Apache' started by veecreate, May 24, 2012.

  1. #1
    Hi All,
    After an upgrade to MySQL 5.5.22 , Apache 2.2.22 & PHP 5.3, i unable to open my website, it shows

    Internal Server Error

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

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    SEMrush
    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at domain.com Port 80

    can you please suggest how to solve this problem,

    and i also check the error logs it shows as file doesn't not exit.

    and i also tried by removing .htaccess file from the root.

    but still i have the same problem.

    please advise.

    Thanks in advance
     
    veecreate, May 24, 2012 IP
    SEMrush
  2. Harijith

    Harijith Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This error can be caused by a variety of issues but is most likely caused by a corrupt .htaccess file. Check to see if there is an .htaccess file in the directory where the error is being generated or any directory above in the tree. Set the permissions to 644, which makes it usable by the server, but prevents it from being read from a browser.
     
    Harijith, May 25, 2012 IP
  3. veecreate

    veecreate Member

    Messages:
    167
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    Actually i have removed the .htaccess file from the root, but still it is showing the same error. and i also set 644 permissions to all pages
     
    veecreate, May 25, 2012 IP
  4. b4db0y

    b4db0y Notable Member

    Messages:
    3,523
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    205
    #4
    Can you show the last few entries from the error_log?

    The error_log will help you resolve all your issues
     
    b4db0y, May 25, 2012 IP
  5. veecreate

    veecreate Member

    Messages:
    167
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    [Thu May 24 17:35:53 2012] [error] [client 220.225.132.42] File does not exist: /home/veeusa/public_html/veeusaupld/500.shtml
     
    veecreate, May 25, 2012 IP
  6. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #6
    Last "few" entries. A couple more would be helpful.
     
    samirj09, May 25, 2012 IP
  7. veecreate

    veecreate Member

    Messages:
    167
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #7
    here is the error log



    [Fri May 25 10:37:55 2012] [error] [client 193.106.136.40] File does not exist: /home/veeusa/public_html/veeusaupld/500.shtml, referer: http://video-online.in/
    [Fri May 25 10:37:55 2012] [error] [client 193.106.136.40] SoftException in Application.cpp:601: Directory "/home/veeusa/public_html/veeusaupld" is writeable by group, referer: http://video-online.in/
    [Fri May 25 10:37:53 2012] [error] [client 193.106.136.40] File does not exist: /home/veeusa/public_html/veeusaupld/500.shtml, referer: http://video-online.in/
    [Fri May 25 10:37:53 2012] [error] [client 193.106.136.40] SoftException in Application.cpp:601: Directory "/home/veeusa/public_html/veeusaupld" is writeable by group, referer: http://video-online.in/
    [Fri May 25 10:21:57 2012] [error] [client 14.96.16.98] File does not exist: /home/veeusa/public_html/veeusaupld/404.shtml
    [Fri May 25 10:21:57 2012] [error] [client 14.96.16.98] File does not exist: /home/veeusa/public_html/veeusaupld/favicon.ico
    [Fri May 25 10:21:56 2012] [error] [client 14.96.16.98] File does not exist: /home/veeusa/public_html/veeusaupld/404.shtml, referer: http://www.google.co.in/url?sa=t&rc...2LVbvcK-k9eMJ__aQ&sig2=u5JN-fr6MX5Eaxnu1jdV0w
    [Fri May 25 10:21:56 2012] [error] [client 14.96.16.98] File does not exist: /home/veeusa/public_html/veeusaupld/about-us, referer: http://www.google.co.in/url?sa=t&rc...2LVbvcK-k9eMJ__aQ&sig2=u5JN-fr6MX5Eaxnu1jdV0w
    [Fri May 25 10:14:41 2012] [error] [client 77.75.77.11] File does not exist: /home/veeusa/public_html/veeusaupld/404.shtml

    [Fri May 25 10:14:41 2012] [error] [client 77.75.77.11] File does not exist: /home/veeusa/public_html/veeusaupld/about-us
    [Fri May 25 10:13:39 2012] [error] [client 124.115.4.193] File does not exist: /home/veeusa/public_html/veeusaupld/500.shtml
    [Fri May 25 10:13:39 2012] [error] [client 124.115.4.193] SoftException in Application.cpp:601: Directory "/home/veeusa/public_html/veeusaupld" is writeable by group
    [Fri May 25 10:12:08 2012] [error] [client 124.30.122.142] File does not exist: /home/veeusa/public_html/veeusaupld/404.shtml
    [Fri May 25 10:12:08 2012] [error] [client 124.30.122.142] File does not exist: /home/veeusa/public_html/veeusaupld/favicon.ico
    [Fri May 25 10:12:08 2012] [error] [client 124.30.122.142] File does not exist: /home/veeusa/public_html/veeusaupld/500.shtml
     
    veecreate, May 25, 2012 IP
  8. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #8
    [Fri May 25 10:13:39 2012] [error] [client 124.115.4.193] SoftException in Application.cpp:601: Directory "/home/veeusa/public_html/veeusaupld" is writeable by group


    The 500 Error is being caused my permissions. Verify that your owner and group of the folder/file /home/veeusa/public_html/veeusaupld and other files/folders are correct. Also verify permissions.
     
    samirj09, May 25, 2012 IP
  9. veecreate

    veecreate Member

    Messages:
    167
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #9
    I have already change the permission as for folders - 755 and for file 644 but still its shows as error
     
    veecreate, May 25, 2012 IP
  10. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #10
    What about the owner and group of these files? Are they set correctly? Login via ssh. Run the below (in order) and paste the full output you receive.

    cd /home/veeusa
    ls -l
    cd public_html
    ls -la
    cd veeusaupld
    ls -la

    Pm me the output if you do not feel comfortable posting it here.
     
    samirj09, May 25, 2012 IP
  11. sahabcse

    sahabcse Well-Known Member

    Messages:
    272
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    140
    #11
    Is your website hosted in WHM?

    then after mysql upgradation you need to do an easy apache ( php will get recompiled with mysql ) to avoid internal server error.
     
    sahabcse, May 25, 2012 IP
  12. SpiderxXx

    SpiderxXx Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I has same kind of issue,
    my the webhotel managed to solve the issue.
    I don't really know what they did actually.
     
    SpiderxXx, Jun 11, 2012 IP