Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 312297  / 1 Year ago, thu, november 10, 2022, 7:40:29

I'm trying to set up a VM running Ubuntu 12.04. I have two virtual hosts configured using port 80, but Apache will not start.



I get this error:

(98) Address already in use: make_sock: could not bind to address 0.0.0.0:80



The output of netstat -tulpn shows that nothing is using port 80. What could possibly be causing this?


More From » 12.04

 Answers
1

I've figured it out. I had duplicate Listen 80 commands in both my httpd.conf and ports.conf



Also, in copying the config file over for that server that's being virtualized, I neglected to notice that the error log directory had been changed. Looking into that error log, I noticed that the directory for the mime.types config file was incorrect in my httpd.conf file. I updated that parameter, and the server started up fine.


[#31918] Saturday, November 12, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
horicgly

Total Points: 36
Total Questions: 126
Total Answers: 104

Location: Iceland
Member since Thu, Dec 1, 2022
1 Year ago
;