telnet & ftp response too slowly

We are using Solaris 2.5. When telnet or ftp to it, even via LAN or from itself, it respone very slowly at beginning.

For example. when I telnet to it, it takes 3 - 5 minutes until "login:" prompt cames out. But after the "login:" prompt, it becomes normally and reacts very quickly.

However, ping always response quicky. And there is no problem with DNS and routing.

Thanks in advance.
guoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

df020797Commented:
This porblem probably is related to nameserver problem. SOunds to me like the machine(s) are waiting for a nameresolv timeout until they fall back unto /etc/hosts or something.

So, check the /etc/resolv.conf (if you use DNS) so correct domain and nameserver is given there. Also check /etc/nsswitch.conf so that hosts have the following order: hosts: files dns or if you use nis: hosts: fils nis or if you use both: hosts: files nis dns

Also check that domainname ic correct (the NIS domainname) and that ypbind is running so it bind to the the ypserver.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.