April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

(13)Permission denied: make_sock: could not bind to addres

Permission denied: make_sock: could not bind to address

 
Stopping httpd:                                            [FAILED]
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:88
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:88
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

In apache, this type of error occurs at the time of starting the service after editing the httpd.conf file to listen to a particular port number.. The reason is apache allowing only specified http port numbers, and the one you have given is not in that list, first check that by

semanage port -l|grep http

If the port number is not in the list (ex: 4080), add by using,

semanage port -a -t http_port_t -p tcp 4080

Now start apache, you are done

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>