we made some changes to our config today .... leading to a blocking situation et no way to restart w a clean config .
we get the follwoing msg over and over without any clue of what happen or where we can find a clear information :
Unable to reread IP Adresses: Unable to restart web server: websrvmng failed: websrvmng: Service /etc/init.d/httpd failed to restart
what did we do to reach this point :
1- we had an exclusive IP address with one domain there (domainxxx.com) , but as we needed to have 2 domains on it, we tried to change the status ( exclusive to shared) in the psa database... good , we could get it shared (even if the display in the console was still exclusive..)
2- we could then create our second domain ( domainxxx.es ) no problem..
3. we then added a vhost.conf for the second domain, to change the DocumentRoot
4. we tried to run /usr/local/psa/admin/sbin/websrvmng -a -v
but we had an issue with the 443 ports as SSL cannot be used on a shared IP address
5- we modified both domains to suppress the SSL, (we checked that no 443 existed in the httpd.include for each domain)
6. we tried to run again /usr/local/psa/admin/sbin/websrvmng -a -v
but we again an error :
Starting httpd: [Tue Sep 28 10:29:01 2010] [warn] module ssl_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
and we cannot move from there , even deleting the second domain, and recreating it ...
how can we get forward ? urgent help would be appreciated ....
thanks
we get the follwoing msg over and over without any clue of what happen or where we can find a clear information :
Unable to reread IP Adresses: Unable to restart web server: websrvmng failed: websrvmng: Service /etc/init.d/httpd failed to restart
what did we do to reach this point :
1- we had an exclusive IP address with one domain there (domainxxx.com) , but as we needed to have 2 domains on it, we tried to change the status ( exclusive to shared) in the psa database... good , we could get it shared (even if the display in the console was still exclusive..)
2- we could then create our second domain ( domainxxx.es ) no problem..
3. we then added a vhost.conf for the second domain, to change the DocumentRoot
4. we tried to run /usr/local/psa/admin/sbin/websrvmng -a -v
but we had an issue with the 443 ports as SSL cannot be used on a shared IP address
5- we modified both domains to suppress the SSL, (we checked that no 443 existed in the httpd.include for each domain)
6. we tried to run again /usr/local/psa/admin/sbin/websrvmng -a -v
but we again an error :
Starting httpd: [Tue Sep 28 10:29:01 2010] [warn] module ssl_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
and we cannot move from there , even deleting the second domain, and recreating it ...
how can we get forward ? urgent help would be appreciated ....
thanks