After upgrade to Apache 2.4 CGI Script show Internal Server Error

minotauro

Well-Known Member
Jan 19, 2004
89
0
156
Hello,

After I upgrade my Apache version from 2.2 to 2.4 my CGI script CobreBemECommerce show Internal Server Error. The permission and owner of files are correct, if I ran on old server the CGI script works fine. Below the error on log files of Apache:
Code:
---
/usr/local/apache/logs/error_log:

[Sun Jan 24 22:32:02.204064 2016] [cgi:error] [pid 413429] [client 152.237.210.235:56668] AH01215: suexec policy violation: see suexec log for more details: /home/styllus/public_html/cgi-bin/CobreBemECommerce
[Sun Jan 24 22:32:02.204394 2016] [cgi:error] [pid 413429] [client 152.237.210.235:56668] End of script output before headers: CobreBemECommerce

---
/usr/local/apache/logs/suexec_log:

[2016-01-24 22:32:02]: uid: (1704/styllus) gid: (1704/styllus) cmd: CobreBemECommerce
[2016-01-24 22:32:02]: (2)No such file or directory: exec failed (CobreBemECommerce)

---
Anybody have a tip to fix this issue?

Thank you,
Minotauro.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello :)

Please post the output from the following command:

Code:
stat /home/styllus/public_html/cgi-bin/CobreBemECommerce
Thank you.
 

minotauro

Well-Known Member
Jan 19, 2004
89
0
156
Hello :)

Please post the output from the following command:

Code:
stat /home/styllus/public_html/cgi-bin/CobreBemECommerce
Thank you.
Hi Michael,

Below I sent the result of command:

File: ‘/home/styllus/public_html/cgi-bin/CobreBemECommerce’
Size: 723116 Blocks: 1416 IO Block: 4096 regular file
Device: 808h/2056d Inode: 42341984 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1704/ styllus) Gid: ( 1704/ styllus)
Access: 2016-01-24 22:21:07.919465628 -0200
Modify: 2016-01-21 01:00:25.668131395 -0200
Change: 2016-01-24 22:21:04.398473623 -0200
Birth: -
Thank you,
Minotauro.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
It seems like an issue with your script itself, but feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

minotauro

Well-Known Member
Jan 19, 2004
89
0
156
It seems like an issue with your script itself, but feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
Michael,

Ok, I open a ticket numer 7434127.

Thank you very much!
Minotauro.