Since I upgraded my Interworx to 1.8.0 beta I get the following error every time I add a new website:
Syntax error on line 3 of /etc/httpd/conf.d/my.new.site.conf:
Invalid command ‘SuexecUserGroup’, perhaps mis-spelled or defined by a module not included in the server configuration
The only way to start apache is commenting out the SuexecUserGroup line in my config but not sure if i’m doing wrong, any ideas?
well… i added LoadModule suexec_module modules/mod_suexec.so to /etc/httpd/conf/httpd.conf and the poblem is solved, the wierd thing is that the interworx upgrade doesn’t load that module by default… anyway, can somebody explain me what’s that module for please?
This is the first I’ve seen of this with 1.8 (the LoadModule not being there) and this actually pertains to both of your problems. Per your other thread, the SiteWorx accounts aren’t being created because when apache is reloaded there is an error (the suexec error).
suexec is a wrapper script that makes CGI scripts run as the owner of the script instead of as the main webserver user. suexec is a good thing, which is why it’s ‘on’ by default for InterWorx-CP.
TIM RYBERG: can you confirm that there’s a LoadModule for suexec in your main httpd.conf. I’ve checked our test boxes here and it seems to be there but I need a 3rd party to chime in.
Btw, your fix is the right one and you should be fine now, but I want to nail down why this happened.
I’ve got the 1.8 beta installed. I check my main httpd.conf (/etc/httpd/conf/httpd.conf) and the LoadModule line for suexec is not present. I’ve not encountered any errors, but after reading this thread, it sounds like it should be there. So I proceeded to add the LoadModule line for it.
After issuing a:
# service httpd restart
I get this error (but the service starts):
Starting httpd: [Tue Aug 31 15:17:57 2004] [warn] module suexec_module is already loaded, skipping
So, it’s being loaded from somewhere, but not the main httpd.conf. :eek:
It’s being loaded from the iworx.conf in /etc/httpd/conf.d/iworx.conf in pre 1.8 versions, scinet can you paste your /etc/httpd/conf.d/iworx.conf in here when you get a sec.