I've wrongly launched the command
sudo yum install httpd
in the command line of a server of mine. SInce httpd was already installed, this command have reinstalled/updated httpd but after that I was no more able to start httpd: launching the command
sudo /etc/init.d/httpd restart
I received the error:
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 no listening sockets available, shutting down
so looking deeper in the configuration files I saw that the
Listen 443
was both in the conf/httpd.conf and in conf.d/ssl.conf. Commenting one of them the httpd service starts correctly but seems that SSL is not working properly because if I access to some pages I know are protected under SSL i receive an
404 Not found
Someone knows which configuration coudl I have corrupted with that update? How can I fix it?