Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to setup suexec on a Centos 6 server. When i do suexec -v as root an error is generated - details below..

VHost suexec:

SuexecUserGroup www-site www-site

CLI:

[root@s1 html]# suexec -v
suexec policy violation: see suexec log for more details

Log:

[2012-07-03 15:45:33]: too few arguments

I am struggling to identify the cause of this.. Anyone have any input?

Thanks

share|improve this question
    
suexec -v probably isn't a valid command, and so debugging that is pointless. What's the actual problem? –  mgorven Jul 4 '12 at 5:23
    
suexec -v should list its config vars. I am trying to make the apache vhost process run as a specific user, which is does not seem to be doing. The log file indicate it is loaded when restarting Apache however a VHOST can not read files owned by the user set with SuexecUserGroup and chmod 700. If owned by apache it can be read. –  Lee Jul 4 '12 at 8:54
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.