View previous topic :: View next topic |
Author |
Message |
karusker n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Apr 2002 Posts: 17 Location: Seattle WA
|
Posted: Fri Apr 19, 2002 4:42 am Post subject: apache ServerName problems... |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
daos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Apr 2002 Posts: 50 Location: Virginia, USA
|
Posted: Fri Apr 19, 2002 7:24 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
karusker n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Apr 2002 Posts: 17 Location: Seattle WA
|
Posted: Sat Apr 20, 2002 1:41 am Post subject: didnt work |
|
|
didnt work for me. Now I realized that /etc/apache and /etc/httpd both have config files. which ones affect apache? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
handsomepete Guest
|
Posted: Sun Apr 21, 2002 4:07 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|