Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PROFTPD] Error al iniciar servicio [resuelto]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Theasker
l33t
l33t


Joined: 18 Nov 2006
Posts: 656
Location: Zaragoza (Spain)

PostPosted: Thu Apr 12, 2007 2:24 pm    Post subject: [PROFTPD] Error al iniciar servicio [resuelto] Reply with quote

Code:
ServerType              standalone
DeferWelcome            on "Servidor ftp de Theasker"


DefaultServer           on
AllowRetrieveRestart    yes
AllowStoreRestart       yes

TimeoutNoTransfer       600
TimeoutStalled          100
TimeoutIdle             200

Port                    21

AccessGrantMsg                  "-= Bienvenido %u, tu acceso ha sido realizado correctamente =-"

LogFormat       default "%h %l %u %t \"%r\" %s %b"
LogFormat       auth    "%v [%P] %h %t \"%r\" %s"
LogFormat       write   "%h %l %u %t \"%r\" %s %b"
TransferLog     /var/log/proftpd/transfer
ExtendedLog     /var/log/proftpd/proftpd.down_up_log WRITE,READ write
ExtendedLog     /var/log/proftpd/proftpd.auth_log      AUTH auth
ExtendedLog     /var/log/proftpd/proftpd.all_log  ALL default

DefaultRoot                     ~

RequireValidShell            off

<Directory /home/ftp>
   Umask                         022
   AllowOverwrite                on
   <Limit READ WRITE>
          DenyAll
   </Limit>
   <Limit STOR>
          AllowAll
   </Limit>
</Directory>

Este es mi fichero de configuraci�n del servidor proftpd pero ...

Code:
 * Caching service dependencies ...                                            [ ok ]
 * Starting proftpd ...
 - warning: unable to determine IP address of 'theasker'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'      [ !! ]

_________________
"Oigo y olvido. Veo y recuerdo. Hago y comprendo"


Last edited by Theasker on Fri Apr 13, 2007 7:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Inodoro_Pereyra
Advocate
Advocate


Joined: 03 Nov 2006
Posts: 2631
Location: En la otra punta del cable

PostPosted: Thu Apr 12, 2007 6:04 pm    Post subject: Reply with quote

Quote:
warning: unable to determine IP address of 'theasker'

Que te devuelve el comando: ping theasker ??

Suena a que necesitas en /etc/hosts :
Code:
127.0.0.1       theasker


Saludos!
_________________
Mi Blog.

Si no fuera por C, estaríamos escribiendo programas en BASI, PASAL y OBOL.
Back to top
View user's profile Send private message
Theasker
l33t
l33t


Joined: 18 Nov 2006
Posts: 656
Location: Zaragoza (Spain)

PostPosted: Thu Apr 12, 2007 7:36 pm    Post subject: Reply with quote

/etc/hosts
Code:
127.0.0.1 theasker.gentoo.org gentoo localhost

me da q esto está mal no?
la salida de ping theasker es:
Code:
ping: unknown host theasker

_________________
"Oigo y olvido. Veo y recuerdo. Hago y comprendo"
Back to top
View user's profile Send private message
rwx
n00b
n00b


Joined: 06 Nov 2006
Posts: 23

PostPosted: Thu Apr 12, 2007 10:03 pm    Post subject: Reply with quote

Hola Theasker.

Creo que el Handbook puede ayudarte.

http://www.gentoo.org/doc/es/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2
Back to top
View user's profile Send private message
Theasker
l33t
l33t


Joined: 18 Nov 2006
Posts: 656
Location: Zaragoza (Spain)

PostPosted: Fri Apr 13, 2007 11:22 am    Post subject: Reply with quote

he modificado el hosts a
Code:
127.0.0.1 localhost
pero na, sigue sin funcionarme y me da el mismo error.
_________________
"Oigo y olvido. Veo y recuerdo. Hago y comprendo"
Back to top
View user's profile Send private message
rwx
n00b
n00b


Joined: 06 Nov 2006
Posts: 23

PostPosted: Fri Apr 13, 2007 7:09 pm    Post subject: Reply with quote

Prueba a modificar tu /etc/hosts tal que:

Code:
127.0.0.1     hostname.homenetwork     hostname     localhost


Donde:

hostname = valor de la variable HOSTNAME en /etc/conf.d/hostname
homenetwork = valor de la variable dns_domain_lo en /etc/conf.d/net

Luego haz un # /etc/init.d/net-eth0 restart para reiniciar la red y un # ping -c 3 hostname para ver si resuelve.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Apr 13, 2007 7:34 pm    Post subject: Reply with quote

Theasker wrote:
/etc/hosts
Code:
127.0.0.1 theasker.gentoo.org gentoo localhost

me da q esto está mal no?
la salida de ping theasker es:
Code:
ping: unknown host theasker


Code:
127.0.0.1 theasker.gentoo.org theasker localhost
Back to top
View user's profile Send private message
Theasker
l33t
l33t


Joined: 18 Nov 2006
Posts: 656
Location: Zaragoza (Spain)

PostPosted: Fri Apr 13, 2007 7:56 pm    Post subject: Reply with quote

arreglado, gracias, era eso, aunque no entiendo muy bien el xq :/
_________________
"Oigo y olvido. Veo y recuerdo. Hago y comprendo"
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Apr 13, 2007 8:02 pm    Post subject: Reply with quote

Theasker wrote:
arreglado, gracias, era eso, aunque no entiendo muy bien el xq :/


Lo que va detrás de la ip son nombres distintos para la máquina a la que apunta la ip. En este caso, se trata de una ip virtual, que se dirige a un dispositivo de red loopback, es decir, a tu propia máquina. Los nombres que siguen son nombres mediante los cuales te puedes referir a tu máquina. Podrías usar cualquiera de ellos en la configuración de proftpd y debería funcionar igual.

En otras palabras, el nombre de máquina que uses en proftpd debe estar listado en tu archivo de hosts, el cual no era el caso antes.
Back to top
View user's profile Send private message
rwx
n00b
n00b


Joined: 06 Nov 2006
Posts: 23

PostPosted: Fri Apr 13, 2007 8:08 pm    Post subject: Reply with quote

Handbook, 8. Configurando su sistema: Información de red.

Quote:
Necesita informar a Linux sobre su red. Esto se define en /etc/hosts y ayuda a transformar los nombres de host a direcciones IP para aquellas máquinas que no se resuelven a través de su servidor de nombres (DNS).


Handbook - EN
Handbook - ES

Theasker perdona por el enlace de mi primer post. Existen diferencias entre la versión en inglés y la versión en castellano.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum