View previous topic :: View next topic |
Author |
Message |
Tonearm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Nov 2003 Posts: 55
|
Posted: Fri Jun 25, 2004 2:54 am Post subject: Apache error_log messages on start |
|
|
I get two messages in my error_log after "apache2ctl start". The first is:
Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
and the second is:
Address already in use: make_sock: could not bind to port 80
Apache seems to be serving fine. Does anyone know what these messages mean?
- Grant |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cchapman Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Funny_Figure/black.gif)
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Fri Jun 25, 2004 3:00 am Post subject: |
|
|
sounds like some other web server or another version of apache is loaded. check /etc/init.d/ for apache and apache2 or possible some other web server |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tonearm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Nov 2003 Posts: 55
|
Posted: Fri Jun 25, 2004 3:13 am Post subject: |
|
|
The messages turned out to be from apache's error_log when I was trying to start it with apache2 already up. What exactly do the files in /etc/init.d/ tell you?
- Grant
edit: The "fully qualified domain name" is because I'm using my IP address instead of domain name right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Determined n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/6185902034079dd46ea35a.jpg)
Joined: 29 Dec 2003 Posts: 54
|
Posted: Sat Jun 26, 2004 6:13 am Post subject: fully qualified domain name |
|
|
I had this same message (could not find fully qualified domain name, using 192.168.0.110 as the ServerName), and fixed it by placing my ip and server name (192.168.0.110 emyvale) in the /etc/hosts file and also uncommenting the line ServerName Localhost and chaging the Localhost to the server name (emyvale.)
That sould do the trick, but you of course will have to restart apache for this to take effect. (I'm not sure if you need your own server name in the hosts list but it sure wont hurt.)
Hope that helps. _________________ -Determined
Currently working on;
http://www.familytreelink.com
http://www.davidmonaghan.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tonearm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Nov 2003 Posts: 55
|
Posted: Mon Jun 28, 2004 3:22 pm Post subject: |
|
|
Thank you Determined. I guess I can do that before I move my domain name right?
- Grant |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|