Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    73

    Default cgi-bin error

    I can't figure out how to open .cgi files on my server. Can someone please help me out

    Error log
    [Thu Dec 10 12:42:04 2009] [error] [client My IPADDRESS] suexec policy violation: see suexec log for more details
    [Thu Dec 10 12:42:04 2009] [error] [client My IPADDRESS] Premature end of script headers: upload_status.cgi
    [Thu Dec 10 12:42:04 2009] [error] [client My IPADDRESS] File does not exist: /home/filehost/public_html/500.shtml
    suexec log
    [2009-12-10 12:41:27]: uid: (513/filehost) gid: (513/filehost) cmd: index.cgi
    [2009-12-10 12:41:54]: uid: (513/filehost) gid: (513/filehost) cmd: index.cgi
    [2009-12-10 12:42:04]: uid: (513/filehost) gid: (513/filehost) cmd: upload_status.cgi
    [2009-12-10 12:42:04]: error: target uid/gid (513/513) mismatch with directory (513/513) or program (0/0) or trusted user (0/10)
    [2009-12-10 12:42:14]: uid: (513/filehost) gid: (513/filehost) cmd: index.cgi
    [2009-12-10 12:42:26]: uid: (513/filehost) gid: (513/filehost) cmd: index.cgi

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    What is the command-line output from "stat" for the CGI script involved?

    Here is an example command using "stat" to check a file named "script.cgi" located in the default path for the directory "cgi-bin" in an account with username "username":
    Code:
    # stat /home/username/public_html/cgi-bin/script.cgi
    What is the command-line output from "id" for the username of the account involved?
    Code:
    # id username

Similar Threads & Tags
Similar threads

  1. Error with cgi-bin 500 internal server error
    By approx in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 03-11-2009, 11:13 PM
  2. accessing php code in cgi-bin=>500 http error
    By dmgens in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-19-2009, 01:59 PM
  3. cgi-bin always has 404 error.
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 20
    Last Post: 11-30-2005, 09:12 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube