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.

Formmail is giving a 500 error

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

  1. KatieBuller

    KatieBuller BANNED

    Joined:
    May 10, 2005
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    0
    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,381
    Likes Received:
    23
    Trophy Points:
    38
    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:
    65
    Likes Received:
    0
    Trophy Points:
    0
    # 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:
    65
    Likes Received:
    0
    Trophy Points:
    0
    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,381
    Likes Received:
    23
    Trophy Points:
    38
    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:
    0
    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,381
    Likes Received:
    23
    Trophy Points:
    38
    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...
Similar Threads - Formmail giving 500
  1. keat63
    Replies:
    5
    Views:
    57

Share This Page