Friday, 31 March 2017

Starting httpd Address already in use make_sock

Error while starting httpd

[root@]# service httpd status
httpd is stopped
[root@]# service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:8362
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8362
no listening sockets available, shutting down
Unable to open logs


Solution:

++ Check if the port was used by some on
netstat -anp | grep :8362 | grep LISTEN


++ If some one using kill all the process
ps -ef|grep httpd
kill -p all the output of above 


++ Again check:
netstat -anp | grep :8362 | grep LISTEN
if still the process are there then stop the application and try to kill
then check and then start the httpd service

 
[root@]# service httpd start


No comments: