LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   /usr/sbin/in.telnetd: getpeername: Socket operation on non-socket (https://www.linuxquestions.org/questions/linux-networking-3/usr-sbin-in-telnetd-getpeername-socket-operation-on-non-socket-723787/)

vnaveen 05-05-2009 02:38 AM

/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket
 
Hi,
I had installed Fedora 10

Below is the output of uname -a

Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux

I need to enable telnet service on it, then found xinetd and telnet-server not installed,

Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm

After installation I executed below commands

Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables –F

After I had tried telnet localhost ----IT FAILED

when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR
]


I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.

bathory 05-05-2009 04:42 AM

You should better install the Kerberos version telnet package: krb5-workstation-servers.
Anyway after installation, you should edit /etc/xinetd.d/telnet or /etc/xinetd.d/krb5-telnet and make sure that "disable=no". Then restart xinetd.
There is no need to use chkconfig for telnet as it runs through xinetd. And of course you cannot run it from cli like "/usr/sbin/in.telnetd"

Regards


All times are GMT -5. The time now is 06:42 AM.