SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old October 16th, 2001, 10:39 PM
meyer meyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 12 meyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question newbie problem with apache

hi friends

I got a big problem with apache.
error log[Tue Oct 16 19:48:16 2001] [alert] Apache.exe: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Apache server shutdown initiated...

I don't now what to do,any help to start me on this one.

thanks meyer

Reply With Quote
  #2  
Old October 16th, 2001, 11:53 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Use whatever ServerName you want and put it to C:\Windows\Hosts file (win9x/ME) or C:\WinNT\System32\Drivers\Etc\Hosts (WinNT/2K/XP).

The ONE LINE format is:

127.0.0.1 hostname.mylocaldomain.com hostname

This Hosts file doesn't exist by default, so create it manually.
Do not use a real domain. If you put:

127.0.0.1 www.yahoo.com

You will not be able to reach www.yahoo.com any longer.

>> I don't now what to do

Don't worry about it. Apache reads ServerName dynamically upon startup. That said, if Apache is installed, you don't have to reinstall it.

Reply With Quote
  #3  
Old October 17th, 2001, 10:50 AM
meyer meyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 12 meyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks for reply
is not working ,I create a file server name, 127.0.0.1 hostname.mylocaldomain.com hostname and
put in to this folder
C:\WinNT\System32\Drivers\Etc\Hosts
I still get the same error log.

meyer

Reply With Quote
  #4  
Old October 17th, 2001, 04:37 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> put in to this folder
C:\WinNT\System32\Drivers\Etc\Hosts

No, you put to etc folder. The file must be named Hosts (case-insensitive).
Without a reboot, you can run tracert hostname and it should show 127.0.0.1 is mapping to hostname.mylocaldomain.com.
When your system itself can determine its hostname, Apache always should, unless you haven't restarted Apache.

Reply With Quote
  #5  
Old October 18th, 2001, 05:40 AM
meyer meyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 12 meyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yes I put it in etc ,is this file a text .doc or diffrent.
I got now a text.doc with (127.0.0.1 hostname.mylocaldomain.com hostname )in it that is all.
The name of the file is hosts,still not working.
I nearly trow my computer out the window.

meyer

Reply With Quote
  #6  
Old October 18th, 2001, 06:05 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I got now a text.doc with

No, the file needs to be named Hosts (without file extension).

>> still not working

1) Can you ping 127.0.0.1?
2) Can you ping hostname.localdomain.com?
3) Can you traceroute the IP by running tracert 127.0.0.1?
4) How about tracert hostname.localdomain.com?

Reply With Quote
  #7  
Old October 18th, 2001, 06:30 AM
meyer meyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 12 meyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi
I got the file "hosts" without extension

1)yes i see ,using 127.0.0.1 as servername for apache 1.3.. running......
2)Apache.exe: Could not determine the server's fully qualified domain name

this is all what I can see

meyer

Reply With Quote
  #8  
Old October 18th, 2001, 07:21 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you need further help from me, please reply to my 4 questions.

Reply With Quote
  #9  
Old October 18th, 2001, 07:33 AM
meyer meyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 12 meyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi
1)no
2)no
3)no
4)no

I can only see in the window the server is running
I try to change or write not possible at all.

thanks meyer

Reply With Quote
  #10  
Old October 18th, 2001, 07:51 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If the answer is no to all, then you should reread this thread right from the beginning. Just terminate Apache completely at the moment and get the ping and tracert to work.
Once again, you just need to setup Hosts file appropriately then fire up Apache, that's all and it's that simple.

Reply With Quote
  #11  
Old October 18th, 2001, 08:44 AM
meyer meyer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 12 meyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi
now
1)ok ping yes 127...
2)ok ping domain
3)no
4)ok


tank you very much

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > newbie problem with apache


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway