Re: A much bigger NIS problem...

From: Hobbs, Richard (hobbs@mongeese.co.uk)
Date: Wed Feb 12 2003 - 06:43:03 EST


Hello,
    I just realised that i commented out all entries except 127.0.0.1 in
'/etc/hosts' on the NIS client cos it was supposed to get the hosts from the NIS
server... i didn't realise at the time that if i did that it wouldn't be able to
resolve the NIS server itself!

This is why things are taking ages, and it's also why i'm unable to log in, right??

is there any way around this??

Wot a moron i am! lol

Richard.

Quoting "Hobbs, Richard" <hobbs@mongeese.co.uk>:

> Hello,
> i seem to be unable to log into my client any more at all.... the
> nsswitch.conf file lists the following:
>
> passwd files nis
>
> but i'm unable to log into it any more! Shortly before this happened i
> decided
> to share the shadow map as well as the passwd map (cos this is why NIS
> logins
> weren't working).
>
> After i kicked the NIS server to make it share the shadow map as well, i
> checked
> it by typing 'ypwhich -m' on the NIS server, and sure enough... it listed
> the
> maps as usual.
>
> I then logged into the NIS client, and typed 'ypwhich -m', but received the
> following error:
>
> bash-2.03# ypwhich -m
> ypwhich(dumpmaps): can't get maplist: RPC: Unable to receive; errno =
> Connection refused; System error
> bash-2.03#
>
> So i restarted the ypbind process, and the rpcbind process, and ran 'ypwhich
> -m'
> again. This time it took ages to do absolutely nothing.
>
> I hit 'Ctrl + C' and went back to the server to check again... the NIS
> server
> *was* running ok. i then tried to log back into the client, and couldn't:
>
> hobbs@turnip:~$ ssh emonster
> Connection closed by 192.168.254.100
> hobbs@turnip:~$
>
> I assume this is cos it cannot access the NIS server for some reason. Am i
> going
> to have to wait until i get home to sort this out 2nite?? i can't seem to
> log
> into my client any more at all, thru ssh or telnet.
>
> Oops.
>
> Thanks,
> Richard.
>
> --
> Richard Hobbs
> hobbs@mongeese.co.uk
> http://mongeese.co.uk | http://fishsponge.co.uk
>
> "There's only one way of life, and that's your own" - The Levellers
>
> _____________________________________________________
> Send all your jokes to jokes@fishsponge.co.uk !!
> To subscribe, email: jokes-subscribe@fishsponge.co.uk
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>

-- 
Richard Hobbs
hobbs@mongeese.co.uk
http://mongeese.co.uk | http://fishsponge.co.uk
"There's only one way of life, and that's your own" - The Levellers
_____________________________________________________
Send all your jokes to jokes@fishsponge.co.uk !!
To subscribe, email: jokes-subscribe@fishsponge.co.uk
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:48 EDT