LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   I have an apache problem Starting httpd: (13)Permission denied: make_sock: could not (https://www.linuxquestions.org/questions/linux-server-73/i-have-an-apache-problem-starting-httpd-13-permission-denied-make_sock-could-not-564187/)

LinuxCrazy 06-24-2007 02:49 PM

I have an apache problem Starting httpd: (13)Permission denied: make_sock: could not
 
I am running Centos 4.5 and Apache 2.0
I want my apache to Listen to port 5631 instead of 80
I changed httpd.conf to Listen to port 80
Now I get this error

[root@localhost logs]# service httpd restart Stopping httpd: [FAILED]
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:5631
no listening sockets available, shutting down
Unable to open logs
[FAILED]


Does anyone know what this can be?

unSpawn 06-24-2007 05:24 PM

Permission denied: make_sock: could not bind to address (..)
no listening sockets available, shutting down
Unable to open logs

If you're using SELinux and you get AVC errors in your log apparently you need to run "semanage port -a -t http_port_t -p tcp 5631" before restarting Apache.


All times are GMT -5. The time now is 09:49 AM.