The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Internal Server Error

Discussion in 'General Discussion' started by trupti, Oct 25, 2010.

  1. trupti

    trupti Registered

    Joined:
    Oct 25, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello All,

    We have a website. Its main page is working fine as well as other links are also working fine.

    We have integrated Newsletter feature. At a time, we are sending one newsletter to number of users e.g. 1000 users. It gives an internal server error as soon as we hit the 'Send' button.

    We have tried all ini settings as well like max_execution time,input_time. Sometimes the script works fine, sometimes it give Internal Server Error.

    Can anyone help why this is happening?

    Thank you,
    Trupti
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Trupti,

    Is the script PHP or something else? You could check the Apache error logs to see if there's anything there showing the issue:

    Code:
    tail -f /usr/local/apache/logs/error_log
    Do this tail while trying to reproduce the 500 Internal Server Error as you should see something when it fails in that log.
     
  3. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you're getting an 'internal server error' page, this most likely is because something is incorrect, not in the settings, but in the actual page itself. This can come from a few different reasons:

    #1 - you have suphp/phpsuexec installed. This 'addon' can be very limiting in what you can and can't do, and that's the first thing to go in all of my cPanel servers. If you don't want to remove it, then look at the error logs for the site, see if it will help identify the problem.

    #2 - Invalid permissions on specific folders. For example, if you're trying to save something somewhere but can't because you have the permissions set to strictly. Again, look at the logs

    The logs should help you with this. If you need help with them, post the last few lines here and I'm sure someone will help you out ;).
     
  4. trupti

    trupti Registered

    Joined:
    Oct 25, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank you all for the quick reply.

    I will check it.:)
     
Loading...

Share This Page