LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Starting httpd: (98)Address already in use (https://www.linuxquestions.org/questions/linux-software-2/starting-httpd-98-address-already-in-use-396408/)

hadiseh 12-25-2005 05:10 AM

Starting httpd: (98)Address already in use
 
hi
i tried to configure apache in FC3.it configs successfully.but when i tried start command it shows me this error :
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]

how can i solve it?plz help me.i don't have any time

arckane 12-26-2005 02:28 PM

If you are not launching as root or a privilaged account (which you should have created if you are following the correct install guide from apache.org), you cannot bind to port 80 as it's below the 1024 threshold.

Edit the httpd.conf file and set the bind port to 8080, save and retry launching apache. If this works ok then it's just that you need to create an appropriate user account. Check the install guide for full install procedure as I don't have access to my Apache box at present.

CrAzY G 06-19-2006 05:08 AM

I've been having the same problem. It is obviously due to the fact that the httpd daemon is trying to connect to port 80 while some other service is currently using that port. Connecting via port 8080 or any other port works fine. Still, I want to connect to 80 as it is the standard http port.

Is there any way, command or package, which allows me to monitor which ports are in use, so I can stop the daemons which are currently using port 80?


All times are GMT -5. The time now is 04:56 PM.