Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


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

Rep: Reputation: 88
FC6 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 I get the following:

[rylan@StefanLinux ~]$ telnet
Connected to localhost.localdomain (
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?

Old 02-17-2007, 06:54 AM   #2
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
Old 01-31-2008, 12:39 AM   #3
LQ Newbie
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
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: localhost.localdomain localhost kc@compag

where kc@compag is my host name and 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
LQ Newbie
Registered: Jul 2010
Posts: 6

Rep: Reputation: 0
Thumbs up

Thanks kcmok... Its working...



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 12:35 PM.

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