netstat -tln? fuser -v 23/tcp? ps -elf | egrep -i "(telnet|xinet)"?
2011/5/26 Thiago Gomes thiagomespb@gmail.com
/etc/rc.d/init.d/xinetd start Starting xinetd: [ OK ] # telnet localhost Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused # chkconfig telnet on # telnet localhost Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused
# /etc/rc.d/init.d/xinetd restart Stopping xinetd: [FAILED] Starting xinetd:
# sestatus SELinux status: disabled
Em 26 de maio de 2011 15:05, Luiz Henrique Borges lhsborges@gmail.com escreveu:
É isso ai. Me esqueci desse detalhe!
Em 26 de maio de 2011 15:02, Lucas Timm LH linuxhelper@gmail.com
escreveu:
Precisa sim, o telnet-server é componente do Xinetd. Vai dizer que você sai instalando coisas a esmo sem ler a descrição do pacote? Dá um yum
info
telne-server... 2011/5/26 Thiago Gomes thiagomespb@gmail.com
nao precisa instalar o telnet-server ? como então eu removo ?
2011/5/26 Lucas Timm LH linuxhelper@gmail.com:
@Thiago Gomes O servidor telnet roda dentro do xinet server. Assim o controle do serviço é feito pelo daemon xinetd.
2011/5/26 Lucas Timm LH linuxhelper@gmail.com
service xinetd restart? Olha o iptables também. Aqui na empresa eu tenho o telnet-server rodando no servidor principal, funciona muito bem. [root@rhel01 etc]# uptime 14:53:11 up 54 days, 7:58, 538 users, load average: 0.86, 0.61, 0.45 [root@rhel01 etc]# [root@rhel01 etc]# cat /etc/xinetd.d/telnet # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID disable = no } [root@rhel01 etc]#
2011/5/26 Thiago Gomes thiagomespb@gmail.com > > veja isso > > service telnet start > telnet: unrecognized service > # yum install telnet-server > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * addons: centos.argohost.net > * base: centos.argohost.net > * extras: centos.argohost.net > * rpmforge: fr2.rpmfind.net > * updates: centos.argohost.net > Excluding Packages in global exclude list > Finished > Setting up Install Process > Package 1:telnet-server-0.17-39.el5.i386 already installed and
latest
> version > Nothing to do > > estranho... o telnet-server esta instalado > > > Em 26 de maio de 2011 14:32, Luiz Henrique Borges > lhsborges@gmail.com escreveu: > > service telnet status > > > > Me parece que o serviço não está rodando!!! > > > > Em 26 de maio de 2011 14:24, Thiago Gomes <thiagomespb@gmail.com
> > escreveu: > >> > >> nada.. > >> > >> > >> Em 26 de maio de 2011 14:13, Luiz Henrique Borges > >> lhsborges@gmail.com escreveu: > >> > telnet não, coloca o número 23 no filtro. > >> > > >> > 2011/5/26 Thiago Gomes thiagomespb@gmail.com > >> >> > >> >> #netstat -a | grep telnet > >> >> # > >> >> > >> >> nada.. > >> >> > >> >> 2011/5/26 Luiz Henrique Borges lhsborges@gmail.com: > >> >> > netstat -tunape | grep -i 23 > >> >> > > >> >> > O seviço está em LISTEN, ouvindo na porta 23? Cole o
retorno
> >> >> > desse > >> >> > comando > >> >> > pra gente!!! > >> >> > > >> >> > O firewall não está barrando? > >> >> > > >> >> > 2011/5/26 Thiago Gomes thiagomespb@gmail.com > >> >> >> > >> >> >> Pessoal, > >> >> >> > >> >> >> Estou com erro de configurar o meu servidor via telnet. > >> >> >> > >> >> >> fiz a instalação.. > >> >> >> > >> >> >> #yum install telnet-server > >> >> >> > >> >> >> # telnet localhost > >> >> >> Trying 127.0.0.1... > >> >> >> telnet: connect to address 127.0.0.1: Connection refused > >> >> >> telnet: Unable to connect to remote host: Connection
refused
> >> >> >> > >> >> >> > >> >> >> #/etc/init.d/xinetd reload > >> >> >> Reloading configuration: > >> >> >> [FAILED] > >> >> >> > >> >> >> #chkconfig --list | grep telnet > >> >> >> ekrb5-telnet: off > >> >> >> krb5-telnet: off > >> >> >> telnet: on > >> >> >> > >> >> >> > >> >> >> service telnet > >> >> >> { > >> >> >> disable = no > >> >> >> flags = REUSE > >> >> >> socket_type = stream > >> >> >> wait = no > >> >> >> user = root > >> >> >> server = /usr/sbin/in.telnetd > >> >> >> log_on_failure += USERID > >> >> >> } > >> >> >> > >> >> >> > >> >> >> > >> >> >> Falta alguma coisa. ?? > >> >> >> > >> >> >> -- > >> >> >> Thiago Gomes > >> >> >> _______________________________________________ > >> >> >> CentOS-pt-br mailing list > >> >> >> CentOS-pt-br@centos.org > >> >> >> http://lists.centos.org/mailman/listinfo/centos-pt-br > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Luiz Henrique Borges > >> >> > > >> >> > Junior Level Linux Professional (LPIC-1) > >> >> > LPI ID: LPI000214825 > >> >> > Verification Code: akdd5dsk5t > >> >> > https://cs.lpi.org/caf/Xamman/certification > >> >> > > >> >> > Novell Certified Linux Administrator > >> >> > Data Center Technical Specialist > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > CentOS-pt-br mailing list > >> >> > CentOS-pt-br@centos.org > >> >> > http://lists.centos.org/mailman/listinfo/centos-pt-br > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Thiago Gomes > >> >> _______________________________________________ > >> >> CentOS-pt-br mailing list > >> >> CentOS-pt-br@centos.org > >> >> http://lists.centos.org/mailman/listinfo/centos-pt-br > >> > > >> > > >> > > >> > -- > >> > Luiz Henrique Borges > >> > > >> > Junior Level Linux Professional (LPIC-1) > >> > LPI ID: LPI000214825 > >> > Verification Code: akdd5dsk5t > >> > https://cs.lpi.org/caf/Xamman/certification > >> > > >> > Novell Certified Linux Administrator > >> > Data Center Technical Specialist > >> > > >> > > >> > _______________________________________________ > >> > CentOS-pt-br mailing list > >> > CentOS-pt-br@centos.org > >> > http://lists.centos.org/mailman/listinfo/centos-pt-br > >> > > >> > > >> > >> > >> > >> -- > >> Thiago Gomes > >> _______________________________________________ > >> CentOS-pt-br mailing list > >> CentOS-pt-br@centos.org > >> http://lists.centos.org/mailman/listinfo/centos-pt-br > > > > > > > > -- > > Luiz Henrique Borges > > > > Junior Level Linux Professional (LPIC-1) > > LPI ID: LPI000214825 > > Verification Code: akdd5dsk5t > > https://cs.lpi.org/caf/Xamman/certification > > > > Novell Certified Linux Administrator > > Data Center Technical Specialist > > > > > > _______________________________________________ > > CentOS-pt-br mailing list > > CentOS-pt-br@centos.org > > http://lists.centos.org/mailman/listinfo/centos-pt-br > > > > > > > > -- > Thiago Gomes > _______________________________________________ > CentOS-pt-br mailing list > CentOS-pt-br@centos.org > http://lists.centos.org/mailman/listinfo/centos-pt-br
-- Lucas Timm, Goiânia/GO. http://timmerman.wordpress.com
(62) 8198-0867
-- Lucas Timm, Goiânia/GO. http://timmerman.wordpress.com
(62) 8198-0867
CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br
-- Thiago Gomes _______________________________________________ CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br
-- Lucas Timm, Goiânia/GO. http://timmerman.wordpress.com
(62) 8198-0867
CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br
-- Luiz Henrique Borges
Junior Level Linux Professional (LPIC-1) LPI ID: LPI000214825 Verification Code: akdd5dsk5t https://cs.lpi.org/caf/Xamman/certification
Novell Certified Linux Administrator Data Center Technical Specialist
CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br
-- Thiago Gomes _______________________________________________ CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br