Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache ServerName problems...
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
karusker
n00b
n00b


Joined: 19 Apr 2002
Posts: 17
Location: Seattle WA

PostPosted: Fri Apr 19, 2002 4:42 am    Post subject: apache ServerName problems... Reply with quote

when i type "apachectl start" in the console it gives me this message:

[Thu Apr 18 21:21:54 2002] [alert] apache: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/sbin/apachectl start: httpd could not be started

Now i have dynamic IP through DSL, and I am using the ODS service. Now, setting the dyndns with odsclient worked perfectly with freeBSD when I was using it as a server. Now, with Gentoo, something is going really screwy! I've tried changing ServerName to localhost, 127.0.0.1, 192.168.1.6 (my IP add. for LAN), and arm.ods.org, but none of these want to work! Can anyone help me?
Back to top
View user's profile Send private message
daos
n00b
n00b


Joined: 18 Apr 2002
Posts: 50
Location: Virginia, USA

PostPosted: Fri Apr 19, 2002 7:24 pm    Post subject: Reply with quote

I have apache on my local machine only (127.0.0.1,not a server), gentoo gave me the same message, but it still started OK.
I changed a line in /etc/resolv.conf (or /etc/hosts, /etc/hostname) to make the message disappear:

original line:
127.0.0.1 localhost

change to:
127.0.0.1 localhost.localdomain localhost

Your situation may be different from mine, but it gives you some ideas.
Back to top
View user's profile Send private message
karusker
n00b
n00b


Joined: 19 Apr 2002
Posts: 17
Location: Seattle WA

PostPosted: Sat Apr 20, 2002 1:41 am    Post subject: didnt work Reply with quote

didnt work for me. Now I realized that /etc/apache and /etc/httpd both have config files. which ones affect apache?
Back to top
View user's profile Send private message
handsomepete
Guest





PostPosted: Sun Apr 21, 2002 4:07 pm    Post subject: Reply with quote

I think in this case the ServerName var. in httpd.conf could be commented out without anything terrible happening (I think it just sends a different forced name back to the client). If you decide that you need it...?
Back to top
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