Problems restarting Apache 2.0.46 with Wedmin 1.150
on a Redhat Linux 3.0AS.
The problem occurs after I make a virtual server then
restart the Apache server with Webmin. The Apache
server errors out with:
Failed to start apache :
[FAILED]
So I rebuilt the machine and manually editted the
httpd.conf for the virtual server and using command line
to restart apache. Everything works but as soon as I go
into Wedmin and hit the restart button I get the same
error.
So I thought it just might be a problem with that
machine so I tried it on a mirror identical machine. Same
problem......
Bottom line it seems like webmin is changing a file some
where when it really needs to do is restart Apache.
Logged In: YES
user_id=129364
Does the button you are clicking say 'Apply changes' or
'Start Apache' ?
If it is the latter, then Webmin must be thinking that
Apache is not running when it really is.. To fix this, you
should click on Module Config in the Apache module and set
the 'Path to Apache PID file' option correctly.
Logged In: NO
I do have a very similar problem!
I had the same problem:
After changing anything in the apache config,
the server wasn't restarting or was running very slow.
I found out that webmin seems to destroy some lines in the
htconf and this makes some errors depending on what it
destroys.
my actual status is, that I even can't start the apache
module in webmin |-(((
I do all changes manuel which makes webmin obsolet
I use redhat 8 and I also have a mirror mashine with the same
files which still runs 1.140 without any troubles
If someone knows how to reconfigure the apache module by
hand, that would be a big help :)
Logged In: NO
The button in Webmin for the Apache module says "Restart".
I double check the config file to make sure everything is
pointing correctly to the right files but still a no go. I even
tried to manual start apache (apachectl restart) after I hit
the restart button and the same errors occurs.
So my problem still is "Apache works fine if I do any saves to
the config file thru Webmin or manually but if I restart thru
Webmin it hoops Apache. However if I manually restart after
making a change thru Webmin it works fine"
James (person with the original problem)
Logged In: YES
user_id=1105060
The button in Webmin for the Apache module says "Restart".
I double check the config file to make sure everything is
pointing correctly to the right files but still a no go. I even
tried to manual start apache (apachectl restart) after I hit
the restart button and the same errors occurs.
So my problem still is "Apache works fine if I do any saves to
the config file thru Webmin or manually but if I restart thru
Webmin it hoops Apache. However if I manually restart after
making a change thru Webmin it works fine"
James (person with the original problem)
Logged In: YES
user_id=129364
If re-starting manually works, make sure the manual command
you use is the same one as in the 'Command to apply
configuration' field on the Module Config page of the Apache
module.
If this helps, let me know what command you used ..