Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Formmail is giving a 500 error

Discussion in 'E-mail Discussion' started by KatieBuller, Jun 3, 2005.

  1. KatieBuller

    KatieBuller BANNED

    Joined:
    May 10, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    Formmail is giving a 500 error, how do I fix this?

    Why is it giving this error?

    I ran fixeverything and its still not working.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,799
    Likes Received:
    131
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    What are the permissions to /usr/local/cpanel/cgi-sys/formmail.pl ?
     
  3. KatieBuller

    KatieBuller BANNED

    Joined:
    May 10, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    # ll /usr/local/cpanel/cgi-sys/formmail.pl
    -rwxr-xr-x 2 root wheel 964876 May 29 08:43 /usr/local/cpanel/cgi-sys/formmail.pl*
     
  4. KatieBuller

    KatieBuller BANNED

    Joined:
    May 10, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    Is that correct? Why was the file last updated on 5/29?
     
  5. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,799
    Likes Received:
    131
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Yea, that is correct. When do you get the 500 error message? What does the error log say? The error log should be in /usr/local/apache/logs/error_log
     
  6. CamronFry

    CamronFry BANNED

    Joined:
    Jan 1, 2005
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    156
    I am having the same problem, my error log says:
    [Sun Jun 5 18:59:45 2005] [error] [client 69.209.xx.xx Premature end of script headers: /usr/local/cpanel/cgi-sys/FormMail.cgi

    How can fix this?
     
  7. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,799
    Likes Received:
    131
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Do you have SuExec enabled on your server? Are the permissions and ownership of FormMail.cgi set correctly?

    It should be set to 755 and owned by root:wheel

    What is the md5sum of the FormMail.cgi binary?

    74b51d2bc2a3d40006c4b3e77b649344 FormMail.cgi

    I have never had any of these problems with FormMail. As a last resort you can try deleting or moving the formmail binaries from /usr/local/cpanel/cgi-sys and doing a cpanel update. This should copy new formmail binaries over to your server with the correct permissions and settings.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice