Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    BANNED
    Join Date
    May 2005
    Posts
    65

    Default Formmail is giving a 500 error

    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. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    What are the permissions to /usr/local/cpanel/cgi-sys/formmail.pl ?

  3. #3
    BANNED
    Join Date
    May 2005
    Posts
    65

    Default

    # 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. #4
    BANNED
    Join Date
    May 2005
    Posts
    65

    Default

    Is that correct? Why was the file last updated on 5/29?

  5. #5
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    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. #6
    BANNED
    Join Date
    Jan 2005
    Posts
    49

    Default

    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. #7
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    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.

Similar Threads & Tags
Similar threads

  1. suphp on vps giving 500 Error
    By compuhost in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 08-25-2011, 02:19 PM
  2. foo.com/webmail giving 500 error?
    By websnail.net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-22-2008, 10:04 PM
  3. Upgrading to the latest edge (whm11) is giving error 500 on apache
    By a66fm in forum cPanel and WHM Discussions
    Replies: 27
    Last Post: 08-27-2006, 10:28 AM
  4. 500's on FormMail.cgi ???
    By rpmws in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-23-2006, 08:27 PM
  5. Help cpanel and all php are giving a 500 error!!!!
    By KatieBuller in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-02-2005, 10:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube