Starting httpd: (98)Address already in use: make sock: could not bind to address 0.0.0.0:443
When
Restarting httpd service
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 Unable to open logs!
Cause :
Simultaneous use of port by other processes in the server
Fix :
Following Steps need to be performed in-order to find its fix
Lets consider the process crond using the port
1. now run the below command
netstat -lnp | grep '0.0.0.0:80'
2. if output is as following
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 30982/crond
then stop the process which is using the port (in our case it is “crond”) as below
service crond stop
3. then run following
service httpd restart
this should give as below
Stopping httpd: [FAILED] Starting httpd: [ OK ]
and later start crond service as following
service crond start
Everything should work fine.