FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 05-21-2008, 11:40 AM
Turbo Fredriksson
 
Default Plot thickens (Was: SEMI-SOLVED (Was: SIGBUS in Apache (Mysql client)))

Quoting Turbo Fredriksson <turbo@debian.org>:

>>>>>> "Turbo" == Turbo Fredriksson <turbo@debian.org> writes:
>
> Turbo> To me, it looks like it's a problem in the NSS stack... !?
>
> Problem seems weirder than this! I changed 'hosts: files ...' to 'hosts: compat ...'
> in nsswitch.conf and apache started working. But then my spamassassin setup
> stoped working:
>
> ----- s n i p -----
> root@aurora# ping localhost
> ping: unknown host localhost
> root@aurora# ping localhost.
> PING localhost (127.0.0.1) 56(84) bytes of data.
> 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.292 ms
> 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.250 ms
>
> --- localhost ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1010ms
> rtt min/avg/max/mdev = 0.250/0.271/0.292/0.021 ms
> root@aurora# head -n1 /etc/hosts
> 127.0.0.1 localhost
> root@aurora# grep ^host /etc/nsswitch.conf
> hosts: compat dns [!UNAVAIL=return]
> ----- s n i p -----
>
>
> But if I put 'files' back, then I can't login (via krb5-telnetd)!

It seems like anytime I involve the DNS, telnet/telnetd stop working...

----- s n i p -----
root@rigel# cat /etc/host.conf
order hosts
multi on
root@rigel# cat /etc/hosts
127.0.0.1 localhost
root@rigel# cat /etc/resolv.conf
search <domain>
nameserver 127.0.0.1
root@rigel# grep ^host /etc/nsswitch.conf
hosts: files
root@rigel# ping -c 1 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.102 ms

--- localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.102/0.102/0.102/0.000 ms
root@rigel# ping -c 1 www.telia.se
ping: unknown host www.telia.se
----- s n i p -----

Here everything (but the last ping - obviously) works exactly as
expected. But if I put back 'order hosts,bind' and 'hosts: files dns'
respectivly:

----- s n i p -----
root@rigel# ping -c 1 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.149 ms

--- localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.149/0.149/0.149/0.000 ms
root@rigel# ping -c 1 www.telia.se
PING www.telia.se (193.44.158.232) 56(84) bytes of data.
64 bytes from www.telia.se (193.44.158.232): icmp_seq=1 ttl=245 time=43.6 ms

--- www.telia.se ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 43.649/43.649/43.649/0.000 ms
----- s n i p -----

.. but I can't telnet into the machine:

----- s n i p -----
[pumba.pts/9]$ telnet -axl root rigel
Trying <hostip>...
Connected to <hostfqdn> (<hostip>).
Escape character is '^]'.
Waiting for encryption to be negotiated...

Encryption could not be enabled. Good-bye.
----- s n i p -----


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org