Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache error_log messages on start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tonearm
n00b
n00b


Joined: 12 Nov 2003
Posts: 55

PostPosted: Fri Jun 25, 2004 2:54 am    Post subject: Apache error_log messages on start Reply with quote

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
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Fri Jun 25, 2004 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Tonearm
n00b
n00b


Joined: 12 Nov 2003
Posts: 55

PostPosted: Fri Jun 25, 2004 3:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Determined
n00b
n00b


Joined: 29 Dec 2003
Posts: 54

PostPosted: Sat Jun 26, 2004 6:13 am    Post subject: fully qualified domain name Reply with quote

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
View user's profile Send private message
Tonearm
n00b
n00b


Joined: 12 Nov 2003
Posts: 55

PostPosted: Mon Jun 28, 2004 3:22 pm    Post subject: Reply with quote

Thank you Determined. I guess I can do that before I move my domain name right?

- Grant
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum