Hi
I have just had to restart one of our servers and apache will not start, when I try and restart it I get the following, nothing has been changed on this server except updates were installed last week.
Failed to start service :
Starting web server: apache2Warning: SuexecUserGroup directive requires SUEXEC wrapper. Warning: SuexecUserGroup directive requires SUEXEC wrapper. Warning: SuexecUserGroup directive requires SUEXEC wrapper. Warning: SuexecUserGroup directive requires SUEXEC wrapper. Warning: SuexecUserGroup directive requires SUEXEC wrapper. Warning: SuexecUserGroup directive requires SUEXEC wrapper. Syntax error on line 20 of /etc/apache2/sites-enabled/test.cybernamixqld.com.au.conf: Invalid command 'FCGIWrapper', perhaps misspelled or defined by a module not included in the server configuration failed!
Operating system Debian Linux 5.0
Perl version 5.010000
Path to Perl /usr/bin/perl
Postfix version 2.5.5
Mail injection command /usr/lib/sendmail -t
BIND version 9.5.1
Apache version 2.2.9
PHP version 5.2.6
Webalizer version
Logrotate version 3.7.1
MySQL version 5.0.51
ProFTPd version 1.31
SpamAssasssin version 3.2.5
ClamAV version 0.95.2
Operating system Debian Linux 5.0
Webmin version 1.480
Virtualmin version 3.73 Pro
Theme version 7.4
Comments
Submitted by andreychek on Mon, 09/21/2009 - 21:49 Comment #1
The fatal error you're getting is this one:
Syntax error on line 20 of /etc/apache2/sites-enabled/test.cybernamixqld.com.au.conf: Invalid command 'FCGIWrapper'
So the issue is that Apache doesn't understand the "FCGIWrapper" command it's seeing.
You'd generally get that if the fcgid module were no longer being loaded into Apache.
If this file does not exist:
/etc/apache2/mods-enabled/fcgid.load
Then you may need to re-enable fcgid, by running this command:
a2enmod fcgid
It also looks like you're getting a warning message about the suexec module not being loaded. You can enable that with this command:
a2enmod suexec
After typing those, you should be able to start Apache.
Submitted by xkeywee on Mon, 09/21/2009 - 22:09 Comment #2
That has allowed apache to restart but when running "Re-Check Config" I get this .. Suexec is enabled in the default template, but the suexec command was not found on your system.
Submitted by andreychek on Mon, 09/21/2009 - 22:19 Comment #3
So suexec is missing? That's unusual :-)
What does this command show:
find /usr -name suexec
Submitted by xkeywee on Mon, 09/21/2009 - 22:26 Comment #4
Nothing is returned
Submitted by andreychek on Mon, 09/21/2009 - 22:40 Comment #5
Hrm, so it sounds like somehow, suexec may have been removed.
Does this show it as being installed?
dpkg -l 'apache2-suexec*'
By default, the package the Virtualmin installer would pull in is apache2-suexec-custom.
Submitted by xkeywee on Mon, 09/21/2009 - 22:58 Comment #6
I get this result from dpkg -l 'apache2-suexec*'
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ un apache2-suexec (no description available) rc apache2-suexec 2.2.9-10+lenny Configurable suexec program for Apache 2 mod
Submitted by xkeywee on Tue, 09/22/2009 - 00:10 Comment #7
This server of ours is very strange
It has lost
Virtualmin Package Updates Virtualmin Password Recovery
From Webmin -> System Menu.
Is it easy to get this back or should I look at reloading the server?
Submitted by xkeywee on Tue, 09/22/2009 - 03:36 Comment #8
I have manually reinstalled the modules so it is all working fine now, thanks for your help.
Submitted by andreychek on Tue, 09/22/2009 - 10:10 Comment #9
Glad to hear it's working now!
Submitted by Issues on Fri, 10/09/2009 - 01:25 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.