LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   telnet, ssh, imapd not working right (https://www.linuxquestions.org/questions/linux-networking-3/telnet-ssh-imapd-not-working-right-14672/)

elconde 02-20-2002 12:09 AM

telnet, ssh, imapd not working right
 
I try to login to a server of mine with telnet, and it takes a full minute for it to respond. The same thing happens when I try to use ssh or imap.

I used a packet sniffer to try and get to the bottom of things. The client sends the normal request to start a session and the server just sits there for a minute before responding.

When I log into the server from the server, everythings acts normally.

I have no problems viewing web pages stored on the server from remote clients.

I've also noticed the following in /var/log/messages:

Feb 19 22:52:01 elconde inetd[493]: pid 1010: exit status 1
Feb 19 22:52:03 elconde inetd[493]: pid 1011: exit status 1
Feb 19 22:52:06 elconde inetd[493]: pid 1012: exit status 1
Feb 19 22:52:08 elconde inetd[493]: pid 1013: exit status 1
...
...
and so on (sometimes the exit status is 13)...


The server is running Red Hat 6.2 with a 2.2.14-5.0 kernel.

This is driving me crazy, especially since it just seemed to happen out of the blue. One second I was logging into the IMAP server with Eudora without a glitch, and the next second it's taking ten minutes to synchronize all the IMAP folders.


I welcome *ANY* suggestions.

jharris 02-20-2002 02:18 AM

Most long pauses are the results of name lookups waiting. Check that both machines are listed in their own /etc/hosts and each others hosts file too. Also, if you are using a DNS then check that you can do name lookups using something like nslookup, or host. You DNS servers are configured in /etc/resolv.conf (along with your search domain)

HTH

Jamie...

elconde 02-21-2002 10:43 AM

Working now
 
It started working the next day even though I hadn't changed anything. I did check the /etc/hosts file just now, though, and none of the other computers on the network are listed. I changed that.

Hopefully this won't happen again.




Thanks,

-R


All times are GMT -5. The time now is 02:10 PM.