[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem z localhost



Witam mam problem nie znam dobrze Debian a na jednym z serwerów z: Debian
5.0.4 Kernel 2.6.26-2-686 Ma dwa problemy...

1. system nie rozpoznaje IP dla localhost

 - na zapytanie: host 127.0.0.1 jest dobrze

   sr8bbs:/etc# host 127.0.0.1
   Name: localhost
   Address: 127.0.0.1
   Aliases: localhost.localdomain

 - a na zapytanie: host localhost  jest błąd

   sr8bbs:/etc# host localhost
   localhost does not exist, try again
   sr8bbs:/etc#

 oraz jak wywołuje program terminalowy:

   sr8bbs:/home/hamradio/obcm# ./bct
   bct: localhost not found in /etc/hosts
   sr8bbs:/home/hamradio/obcm#

 Natomiast jak wpisze  ./bct 127.0.0.1  jest wszystko ok...


 W  /etc/hosts  tak jest zapisane
 =====================

   127.0.0.1 localhost localhost.localdomain
   192.168.0.42 bbs.lublin.ampr.org
   127.0.1.1 sr8bbs
   127.0.0.1 localhost
   # The following lines are desirable for IPv6 capable hosts
   ::1 localhost ip6-localhost ip6-loopback
   fe00::0 ip6-localnet
   ff00::0 ip6-mcastprefix
   ff02::1 ip6-allnodes
   ff02::2 ip6-allrouters
   ff02::3 ip6-allhosts


w pliku /etc/host.conf  jest wpisane:

order hosts,bind
multi on



Czy moge prosic o podpowiedz co i gdzie jest źle ???????????????
Znam Red Hat ale Debian niestety nie...

--
73 de Janusz/SP1LOP

===== Janusz J. Przybylski, SP1LOP =============
Poland AmprNet Co-ordinator [44.165.0.0/16]
Internet: Janusz.Przybylski@mail.sp1lop.ampr.org
WWW     : http://www.sp1lop.ampr.org
================================================




Reply to: