[CentOS-pt-br] Erro ao acesasr centos via Telnet

Thiago Gomes thiagomespb em gmail.com
Quinta Maio 26 15:57:49 EDT 2011


pessoal acho que conseguir ver onde esta eroo
o mesmo s� funciona se eu digitar este comando

 xinetd -stayalive -pidfile /var/run/xinetd.pid -d

tcp        0      0 0.0.0.0:23                  0.0.0.0:*
     LISTEN

porem ao reiniciar ele v�o volta..

2011/5/26 Thiago Gomes <thiagomespb em gmail.com>:
> agora esta assim.. uma luz
>
>
> �telnet 127.0.0.1
> Trying 127.0.0.1...
> Connected to (127.0.0.1).
> Escape character is '^]'.
> getaddrinfo: localhost Name or service not known
> Connection closed by foreign host.
>
> 2011/5/26 Thiago Gomes <thiagomespb em gmail.com>:
>> no debug esqueci de mandar o inicio
>>
>>
>> 11/5/26 em 16:12:05: WARNING: 3048 {parse_value_list} Bad log_on_success
>> flag: DURANTION [file=/etc/xinetd.conf] [line=27]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/chargen-dgram
>> [file=/etc/xinetd.conf] [line=52]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/chargen-stream
>> [file=/etc/xinetd.d/chargen-stream] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/daytime-dgram
>> [file=/etc/xinetd.d/daytime-dgram] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/daytime-stream
>> [file=/etc/xinetd.d/daytime-stream] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/discard-dgram
>> [file=/etc/xinetd.d/discard-dgram] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/discard-stream
>> [file=/etc/xinetd.d/discard-stream] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/echo-dgram
>> [file=/etc/xinetd.d/echo-dgram] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/echo-stream
>> [file=/etc/xinetd.d/echo-stream] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/eklogin [file=/etc/xinetd.d/eklogin]
>> [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/ekrb5-telnet
>> [file=/etc/xinetd.d/ekrb5-telnet] [line=13]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/firebird
>> [file=/etc/xinetd.d/firebird] [line=14]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/gssftp [file=/etc/xinetd.d/gssftp]
>> [line=20]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/klogin [file=/etc/xinetd.d/klogin]
>> [line=14]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/krb5-telnet
>> [file=/etc/xinetd.d/krb5-telnet] [line=13]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/kshell [file=/etc/xinetd.d/kshell]
>> [line=13]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync]
>> [line=13]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/swat [file=/etc/xinetd.d/swat]
>> [line=12]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/tcpmux-server
>> [file=/etc/xinetd.d/tcpmux-server] [line=15]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/telnet [file=/etc/xinetd.d/telnet]
>> [line=68]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/time-dgram
>> [file=/etc/xinetd.d/time-dgram] [line=13]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {handle_includedir} Reading included
>> configuration file: /etc/xinetd.d/time-stream
>> [file=/etc/xinetd.d/time-stream] [line=67]
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing chargen
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing chargen
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing daytime
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing daytime
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing discard
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing discard
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing echo
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing echo
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing eklogin
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing telnet
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing ftp
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing klogin
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing telnet
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing kshell
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing rsync
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing tcpmux
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing time
>> 11/5/26 em 16:12:05: DEBUG: 3048 {remove_disabled_services} removing time
>>
>>
>>
>>
>> 2011/5/26 Thiago Gomes <thiagomespb em gmail.com>:
>>> Eu sei..
>>> esse servidor � de aplica��o n�o � firewall.. preciso do telnet..
>>>
>>>
>>> 2011/5/26 Lucas Timm LH <linuxhelper em gmail.com>:
>>>> N�o, s� do init...
>>>> E cuidado com o que voc� t� fazendo, cara.
>>>>
>>>> 2011/5/26 Thiago Gomes <thiagomespb em gmail.com>
>>>>>
>>>>> n�o tinhas essas linhas
>>>>>
>>>>> /etc/securetty
>>>>>
>>>>> pts/0
>>>>> pts/1
>>>>> pts/2
>>>>> pts/3
>>>>> pts/4
>>>>> pts/5
>>>>> pts/6
>>>>> pts/7
>>>>> pts/8
>>>>> pts/9
>>>>>
>>>>> agora ficou assim... precisa de um reboot na maquina ?
>>>>>
>>>>> console
>>>>> vc/1
>>>>> vc/2
>>>>> vc/3
>>>>> vc/4
>>>>> vc/5
>>>>> vc/6
>>>>> vc/7
>>>>> vc/8
>>>>> vc/9
>>>>> vc/10
>>>>> vc/11
>>>>> tty1
>>>>> tty2
>>>>> tty3
>>>>> tty4
>>>>> tty5
>>>>> tty6
>>>>> tty7
>>>>> tty8
>>>>> tty9
>>>>> tty10
>>>>> tty11
>>>>> pts/0
>>>>> pts/1
>>>>> pts/2
>>>>> pts/3
>>>>> pts/4
>>>>> pts/5
>>>>> pts/6
>>>>> pts/7
>>>>> pts/8
>>>>> pts/9
>>>>>
>>>>>
>>>>> 2011/5/26 Thiago Gomes <thiagomespb em gmail.com>:
>>>>> > ls -la /usr/sbin/in.telnetd
>>>>> > -rwxr-xr-x 1 root root 44480 Dec �1 �2007 /usr/sbin/in.telnetd
>>>>> >
>>>>> >
>>>>> > Service defaults
>>>>> > � � � �Instances = 1000
>>>>> > � � � �Groups = yes
>>>>> > � � � �umask = 2
>>>>> > � � � �CPS = max conn:1000 wait:1000
>>>>> > � � � �PER_SOURCE = 1000
>>>>> > � � � �Bind = All addresses.
>>>>> > � � � �Only from: All sites
>>>>> > � � � �No access: No blocked sites
>>>>> > � � � �Logging to file: /var/log/xinetd.log (no limits)
>>>>> > � � � �Log_on_success flags = HOST DURATION EXIT PID
>>>>> > � � � �Log_on_failure flags = HOST ATTEMPT
>>>>> >
>>>>> > Service configuration: swat
>>>>> > � � � �id = swat
>>>>> > � � � �flags = IPv4
>>>>> > � � � �socket_type = stream
>>>>> > � � � �Protocol (name,number) = (tcp,6)
>>>>> > � � � �port = 901
>>>>> > � � � �wait = no
>>>>> > � � � �user = 0
>>>>> > � � � �Groups = yes
>>>>> > � � � �umask = 2
>>>>> > � � � �PER_SOURCE = 1000
>>>>> > � � � �Bind = All addresses.
>>>>> > � � � �Server = /usr/sbin/swat
>>>>> > � � � �Server argv = swat
>>>>> > � � � �Only from: �127.0.0.1(NUMERIC) 192.168.0.0/255.255.0.0(NET)
>>>>> > � � � �No access: No blocked sites
>>>>> > � � � �Logging to common log file
>>>>> > � � � �Log_on_success flags = HOST DURATION EXIT PID
>>>>> > � � � �Log_on_failure flags = HOST ATTEMPT USERID
>>>>> >
>>>>> > Service configuration: telnet
>>>>> > � � � �id = telnet
>>>>> > � � � �flags = REUSE IPv4
>>>>> > � � � �socket_type = stream
>>>>> > � � � �Protocol (name,number) = (tcp,6)
>>>>> > � � � �port = 23
>>>>> > � � � �wait = no
>>>>> > � � � �user = 0
>>>>> > � � � �Groups = yes
>>>>> > � � � �umask = 2
>>>>> > � � � �PER_SOURCE = 1000
>>>>> > � � � �Bind = All addresses.
>>>>> > � � � �Server = /usr/sbin/in.telnetd
>>>>> > � � � �Server argv = in.telnetd
>>>>> > � � � �Only from: All sites
>>>>> > � � � �No access: No blocked sites
>>>>> > � � � �Logging to common log file
>>>>> > � � � �Log_on_success flags = HOST DURATION EXIT PID
>>>>> > � � � �Log_on_failure flags = HOST ATTEMPT USERID
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Thiago Gomes
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thiago Gomes
>>>>> _______________________________________________
>>>>> CentOS-pt-br mailing list
>>>>> CentOS-pt-br em 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 em centos.org
>>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Thiago Gomes
>>>
>>
>>
>>
>> --
>> Thiago Gomes
>>
>
>
>
> --
> Thiago Gomes
>



-- 
Thiago Gomes


Mais detalhes sobre a lista de discuss�o CentOS-pt-br