Results 1 to 9 of 9

Thread: Battling with an error on my server, cant seem to find the cause

  1. #1
    Join Date
    Jun 2005
    Location
    Durban, South Africa
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Battling with an error on my server, cant seem to find the cause

    Im getting a 500 Internal Server Error on my server. All it says is

    Internal Server Error

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

    Please contact the server administrator, [no address given] 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.
    Im trying to find the cause. Any advice on the best way to start would be great. I have tried looking in the log files, but cant seem to figure it out.

    Could someone give me an idea where to start, ive looked in the log files, but not sur if its the correct one i looking in.

  2. #2
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: Battling with an error on my server, cant seem to find the cause

    Post your Apache log (specifically, the log of the virtualhost where the error occurs).
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    Jun 2005
    Location
    Durban, South Africa
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Battling with an error on my server, cant seem to find the cause

    Thanks, where would i find the log file. The problem is with all my sites on the server.

  4. #4
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: Battling with an error on my server, cant seem to find the cause

    What do you have in /var/log/apache2?
    「明後日の夕方には帰ってるからね。」


  5. #5
    Join Date
    Jun 2005
    Location
    Durban, South Africa
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Battling with an error on my server, cant seem to find the cause

    I have these files:

    • access.log
    • access.log.1
    • error.log
    • error.log.1
    • error.log.2.gz
    • error.log.3.gz
    • other_vhosts_access.log
    • other_vhosts_access.log.1
    • other_vhosts_access.log.2.gz
    • other_vhosts_access.log.3.gz
    • suexec.log
    • suexec.log.1
    • suexec.log.2.gz
    • suexec.log.3.gz

  6. #6
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: Battling with an error on my server, cant seem to find the cause

    Look in error.log.
    「明後日の夕方には帰ってるからね。」


  7. #7
    Join Date
    Jun 2005
    Location
    Durban, South Africa
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Battling with an error on my server, cant seem to find the cause

    Its back up, not sure why.. Im downloading some software called apache log viewer to see what caused it and can see if i can stop it for future

  8. #8
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Battling with an error on my server, cant seem to find the cause

    Do you have any .htaccess files in the DocumentRoot directories. By default Ubuntu disables commands in .htaccess files. Look at the AllowOverride option for Apache; you'll see it activated in /etc/apache2/sites-available/default.

    A 500 error means there's a misconfiguration somewhere in Apache.

    You have some weeks' worth of rotated log files, so your server must have been working before this error occurred, no? Did you add a new site or make some change to Apache or the virtual host configurations?
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  9. #9
    Join Date
    Jun 2005
    Location
    Durban, South Africa
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Battling with an error on my server, cant seem to find the cause

    Hi All,

    Sorry for the delay in replying. I had it all working great, thanks.

    I have done something again, and am currently looking at the logs.

    Thanks again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •