FW: solaris login

Brett Worth brettw at cray.com.au
Thu Feb 28 19:08:41 EST 2002


On Thu, 28 Feb 2002 dcg at cea.com.au wrote:

> Hope someone can put me on the right path here, the problem is when i log in
> it seams to take a long time before CDE is up, this also happens if i `su -l
> username` it seams to sit there with no activity at all, this takes about 30
> seconds before it starts to work.
> can somebody give me some idea of where to start looking here...

Check if NIS is listed against the "passwd" entry in /etc/nsswitch.conf
then do a "ypwhich".  Or maybe find out if you are supposed to use nis
or not.  If not then take it out of /etc/nsswitch.conf's passwd line.

This kind of problem is can also be related to name resolution.  

Check that what ever name service you have configured is contactable.  
Grep for "hosts" in /etc/nsswitch.conf.  This will tell you the order for
host name service.  If its dns then check the nameserver entry in
/etc/resolv.conf.  Try pinging it.

One quick check I do is "arp -a". If DNS is working then you should see
FQDN against the list.  If all you get is hostnames then the test in
inconclusive because they're probably all coming from /etc/hosts.  If you
get IP addresses then DNS is not working.  In your case you'll probably
also get a long pause while DNS times out as the list is displayed.

Of course if its not name server or nis problems then all this info
is useless.

-- 
Brett

  /) _ _ _/_/ / / /  _ _//
 /_)/</= / / (_(_/()/< ///

 Cray Australia.
 brettw at cray.com +61 2 6295 4023

PGP: 1024R/27EB604F  22A9 A85A 22BD 496B 2443  
                     35E5 46F7 0712 27EB 604F





More information about the linux mailing list