![]()
From: Tolga BALCI (tbalci@gmail.com)
Date: Sun 09 Apr 2006 - 12:57:43 GMT
Merhabalar,
Debian Sarge 3.1 bilgisayarima postfix kurdum ancak surekli problem
cikartiyor. 1 haftalik google aramalari sonucunda sanirim problemi
buldum. Problem makinemdeki domainname ile ilgili.
Diyelim ki makinemdeki kullanici adim tolga ve hostname'im balci.
uname -a komutunu verince hostname'i dogru bir sekilde balci olarak
goruyorum. hostname komutunu verdigimde de ayni -ve dogru- sekilde
balci olarak goruyorum. Ancak hostname -a komutunun sonucunda
"hostname: unknown host" hata mesajini aliyorum.
Eger kendi makinemi ping'lemek istersem
ping 127.0.0.1
ile ping'yebiliyorken
ping balci
komutuna "unknown host" cevabini aliyorum. Unutmadan, echo $HOSTNAME
de dogru bir sekilde balci ciktisini veriyor.
Okudugum forumlarin birisinde (hangisi oldugunu sormayin, o kadar cok
forum okudum ki unuttum), problemin sanirim NX ile ilgili olabilecegi
gibi bir yorum vardi.
Benim anladigim kadariyla sistem 127.0.0.1 ile balci (hostname)
arasinda bir baglanti kuramiyor. Mantigima gore eger bu sekilde bir
baglanti kurabilseydi, 127.0.0.1 ve balci ping'lerine ayni sekilde
cevap vermesi gerekirdi.
Simdi ise yarayabilecek ciktilari yaziyorum:
/etc/hosts
--------------
127.0.0.1 localhost.localdomain localhost tolga
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
f00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/hosts.allow:
-----------------------
sendmail: all
# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
# # Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
# # If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
#
/etc/network/interfaces
---------------------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
Sanirim ne oldugu isi bilen birisi icin ortada ve aslinda ben cok
kucuk bir noktayi goremiyorum. Ancak bilgisayar aglari ile ilgili
hicbir bilgim olmadigi icin ne oldugunu anlayamiyorum ve ne yapmam
gerektigini de bilmiyorum.
Yardimci olabilirseniz cok sevinirim.
Saygilar,
Tolga
_______________________________________________
Linux mailing list
Linux@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux
![]()