LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-16-2007, 01:08 PM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
FC6 2.6.18.1 telnet server error: Name or service not known: Illegal seek


I've installed the telnet server .RPM that comes with FC6. However, if anybody tries to telnet into the server (including if I try to telnet in as non-root to 127.0.0.1) I get the following:

[rylan@StefanLinux ~]$ telnet 127.0.0.1
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
getaddrinfo: localhost: Success
Name or service not known: Illegal seek
Connection closed by foreign host.
[rylan@StefanLinux ~]$

I. e. comes up via xinetd, but how can I solver the Name or service unknown error so I can actually telnet into my system? IPtables and SELinux is disabled - I can't find a reference to this "name or service unknown" error for telnet anywhere on the net...

How can I solve this?

Thanks!
 
Old 02-17-2007, 06:54 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
See; http://www.linuxquestions.org/questi...ad.php?t=29108
 
Old 01-31-2008, 12:39 AM   #3
kcmok
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Lenard View Post
The link is not useful for solving the problem.
Check the /etc/hosts file, make sure there is an entry for your machine name other than localhost. I have two entries as follows:
127.0.0.1 localhost.localdomain localhost
192.168.19.7 kc@compag

where kc@compag is my host name and 192.168.19.7 is the IP of my host
Note that kc@compag should be the HOSTNAME in /etc/sysconfig/network.

Last edited by kcmok; 11-13-2008 at 02:12 AM. Reason: add new info
 
Old 08-30-2010, 09:01 PM   #4
ejd021
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Rep: Reputation: 0
Thumbs up

Thanks kcmok... Its working...

Regards
ejd021
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
telnet problem: temporary failure in name resolution illegal seek in fedora core 6 bv_uma Linux - Networking 4 06-25-2009 07:48 AM
illegal seek when writing to parallel port pzydak Programming 1 12-08-2006 07:06 AM
illegal seek bijucnair Programming 7 06-30-2006 08:11 AM
device driver for UART (write illegal seek - error) adit_2g Programming 0 06-10-2006 01:07 PM
Illegal Seek error from Motion larry.barnes Linux - Software 0 05-01-2004 08:58 PM


All times are GMT -5. The time now is 03:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration