Hallo,

ich bekomme den ProFTPD nicht als permanent laufenden Server in Gang;
Dynamisch gestarte (via inetd) läßt er sich problemlos betreiben.

Nach dem Upgrade von 1.2.xxx auf nun 1.3 bricht der Start ab:

> [EMAIL PROTECTED]:~# /etc/init.d/proftpd start
> Starting ftp server: proftpd - IPv6 getaddrinfo 'vaubox.rehavista.de' error: 
> Name or service not known

Zitat aus /usr/share/doc/proftpd/README.Debian:

> ** IPv6 issue:
> 
> In standalone mode proftpd binds both IPv4 and IPv6 addresses. That
> causes a quite annoying message at startup on IPv4-only boxes, such as:
> 
>         IPv6 getaddrinfo 'your_host_name' error: Name or service not known
> 
> That can be avoided by keeping an IPv6 mapping for your_host_name in your 
> /etc/hosts file, such as:
> 
>         ::1 ip6-localhost ip6-loopback your_host_name
> 
> or also
> 
>         ::fff:A.B.C.D   your_host_name
> 
> when you got a static IPv4 address A.B.C.D. The same is required for all 
> IP4/6 addresses, just
> in case your nameserver does not map your hostname and IPs.

Na gut, dann halt in die /etc/hosts eintragen:

> ::1                   ip6-localhost ip6-loopback vaubox.rehavista.de vaubox
> ::fff:10.0.0.1        vaubox.rehavista.de vaubox
> ::fff:212.114.85.50   vaubox.rehavista.de vaubox

(Der Rechner hängt hinter einer HW-Firewall (darum die 10.0.0.1) mit der
fixen IP 212.114.85.50 im Internet.)

In der /etc/inetd.conf noch ein Kommentarzeichen vor die ftp Zeile

> #ftp    stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/proftpd

Nun gibts zwar keinen unmittelbar angezeigten Fehler beim Starten aber
der Service läuft nicht (Auszug aus /var/log/proftpd/proftpd.log):

> Jun 14 09:00:33 vaubox.rehavista.de proftpd[24264] vaubox.rehavista.de: 
> Failed binding to 0.0.0.0, port 21: Address already in use
> Jun 14 09:00:33 vaubox.rehavista.de proftpd[24264] vaubox.rehavista.de: Check 
> the ServerType directive to ensure you are configured correctly.

Weiss jemand wie ich ProFTPD als standalone-Server in Betrieb bekomme?

Peter


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an