View previous topic :: View next topic |
Author |
Message |
Theasker l33t
Joined: 18 Nov 2006 Posts: 656 Location: Zaragoza (Spain)
|
Posted: Thu Apr 12, 2007 2:24 pm Post subject: [PROFTPD] Error al iniciar servicio [resuelto] |
|
|
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 |
|
|
Inodoro_Pereyra Advocate
Joined: 03 Nov 2006 Posts: 2631 Location: En la otra punta del cable
|
Posted: Thu Apr 12, 2007 6:04 pm Post subject: |
|
|
Quote: | warning: unable to determine IP address of 'theasker' |
Que te devuelve el comando: ping theasker ??
Suena a que necesitas en /etc/hosts :
Saludos! _________________ Mi Blog.
Si no fuera por C, estaríamos escribiendo programas en BASI, PASAL y OBOL. |
|
Back to top |
|
|
Theasker l33t
Joined: 18 Nov 2006 Posts: 656 Location: Zaragoza (Spain)
|
Posted: Thu Apr 12, 2007 7:36 pm Post subject: |
|
|
/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 |
|
|
rwx n00b
Joined: 06 Nov 2006 Posts: 23
|
|
Back to top |
|
|
Theasker l33t
Joined: 18 Nov 2006 Posts: 656 Location: Zaragoza (Spain)
|
Posted: Fri Apr 13, 2007 11:22 am Post subject: |
|
|
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 |
|
|
rwx n00b
Joined: 06 Nov 2006 Posts: 23
|
Posted: Fri Apr 13, 2007 7:09 pm Post subject: |
|
|
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 |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Apr 13, 2007 7:34 pm Post subject: |
|
|
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 |
|
|
Theasker l33t
Joined: 18 Nov 2006 Posts: 656 Location: Zaragoza (Spain)
|
Posted: Fri Apr 13, 2007 7:56 pm Post subject: |
|
|
arreglado, gracias, era eso, aunque no entiendo muy bien el xq :/ _________________ "Oigo y olvido. Veo y recuerdo. Hago y comprendo" |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Apr 13, 2007 8:02 pm Post subject: |
|
|
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 |
|
|
rwx n00b
Joined: 06 Nov 2006 Posts: 23
|
Posted: Fri Apr 13, 2007 8:08 pm Post subject: |
|
|
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 |
|
|
|