LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2002, 12:09 AM   #1
elconde
Member
 
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Rep: Reputation: 15
Unhappy 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.
 
Old 02-20-2002, 02:18 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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...
 
Old 02-21-2002, 10:43 AM   #3
elconde
Member
 
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet working, but intranet is not? (telnet/ssh issues) R00ts Linux - Software 2 02-11-2005 05:11 PM
X over SSH then telnet JSkalka Linux - Security 5 11-21-2003 04:19 PM
SSH/Telnet kbeaver Linux - Networking 8 07-22-2003 10:31 AM
Telnet, ssh, etc. mrozkan *BSD 1 07-18-2002 11:55 AM
Telnet / SSH Seph Linux - Security 2 07-13-2001 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration