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.

better diagnostics for issues with cgi script permission bits

Discussion in 'General Discussion' started by Phillip M. Feldman, Jan 10, 2016.

  1. Phillip M. Feldman

    Phillip M. Feldman Registered

    Joined:
    Jan 10, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Website Owner
    It is currently difficult to diagnose the situation where a cgi script fails to execute because permission bits have been set incorrectly. It would be very helpful if the cPanel error log provided a specific message when this situation occurs.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you provide a specific example or log snippet that you are having trouble diagnosing? Could you verify if you have root access to the system?

    Thank you.
     
  3. Phillip M. Feldman

    Phillip M. Feldman Registered

    Joined:
    Jan 10, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Website Owner
    I don't have root access. I've been able to recreate this problem. The log message looks different from what I remember seeing previously, but is equally opaque:

    Code:
    [Sun Jan 17 20:43:40.964082 2016] [cgi:error] [pid 20922:tid 139705984575232] [client 70.185.181.109:62414] AH01215: suexec policy violation: see suexec log for more details: /home/philli27/public_html/cgi-bin/test.py, referer: example.com/English/test.html
    
    I suspect that I can't look at the suexec log without root access.

    Phillip
     
    #3 Phillip M. Feldman, Jan 17, 2016
    Last edited by a moderator: Jan 18, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The error message you are referring to stems from Apache as opposed to cPanel. The cPanel interface is simply showing you what's output to the Apache error log for your account. You could consult with your hosting provider to determine if a change in the Apache log configuration is beneficial.

    Thank you.
     
  5. Phillip M. Feldman

    Phillip M. Feldman Registered

    Joined:
    Jan 10, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Website Owner
    I will follow up with my hosting provider. Thanks!
     
Loading...

Share This Page