Error
[root@localhost cgi-bin]# /usr/local/apache2/bin/apachectl -tWarning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Syntax OK
RESOLUTION
Such warning is usually caused by invalid permissions on suexec wrapper, it should be:# ls -la /usr/sbin/suexec
-rwsr-xr-x 1 root root 12064 2008-04-17 01:15 /usr/sbin/suexec
or your apache may use the /usr/local/apache2/bin/suexec
If the permissions or ownership are differ from the example above, use the following commands to correct them:
# chown root:root /usr/sbin/suexec
# chmod 4755 /usr/sbin/suexec
Note, name for suexec binary may differ between different OSes, for example for SuSE 10 it is "/usr/sbin/suexec2".
1 comment:
chmod +s /usr/sbin/suexec2
Post a Comment