Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry for the somewhat confusing title, and my lacking English. Now we have that out of the way my question:

I have httpd - Apache/2.2.15 on a CentOs virtual machine. This is running Seccubus, with MySQL - 5.1.67

Remote client are allowed to connect, and I can use its interface, but when I try to use one of the perl scripts example:

seccubus/seccubus/json/ name=testing&scanCount=0&findCount=0&lastScan=null

This result in a HTTP 500 error, when I look in the logs:

(13)Permission denied: exec of '/opt/seccubus/www/seccubus/json/' failed, referer: 
Premature end of script headers:, referer: 

When I try to use these perl scripts on the CentOS I get this:

[root json]# perl name=testing2&scanCount=0&findCount=0&lastScan=null
[root json]# Content-Type: application/json; charset=ISO-8859-1

      "name" : "testing2",
      "id" : "2",
      "scanCount" : 0,
      "findCount" : 0

And it adds the content to the MySQL database. So that does work, but the file permissions over the perl scripts are 777..

share|improve this question
Maybe this is the wrong place to ask, if so please close this. – Martijn Boers Feb 4 '13 at 12:45
Fixed by disabling SELinux, this is solved. – Martijn Boers Feb 4 '13 at 13:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.