← Back to team overview

sslug-teknik team mailing list archive

Re: Proftp bind fejl

 

"MONZ" <monz@xxxxxxxxx> wrote in message news:3A6E9494.F609ECA6@xxxxxxxxx...
> Jesper Bunch wrote:
> >
> > "MONZ" <monz@xxxxxxxxx> wrote in message
news:3A6E238B.B3C783B@xxxxxxxxx...
> > > /usr/local/sbin/proftpd -d 1 -c /etc/proftpd.conf
> > >
> > > Jan 24 01:29:40 scumbag proftpd[27352]: scumbag.onscreen.zzz -
> > > attempted bind to 0.0.0.0, port 21
> > > Jan 24 01:29:40 scumbag proftpd[27352]: scumbag.onscreen.zzz - bind()
> > > failed in inet_create_connection(): Address already in use
> > > Jan 24 01:29:40 scumbag proftpd[27352]: scumbag.onscreen.zzz - Check
> > > the ServerType directive to ensure you are configured correctly.
> > >
> > <klip>
> >
> > Du har sandsynligvis glemt at slå ftp fra i inetd. Men det ser ud som om
> > at du allerede har noget kørende på port 21, hvilket sandsynligvis er en
> > anden ftp server.
> > prøv evt. netstat -an | grep ":21"
>
> Yep:
> tcp        0      0 0.0.0.0:21              0.0.0.0:*
> LISTEN
>
> Men hvad det er har jeg her til morgen ikke fundet ud af. Kører ikke
> nogen anden ftp server...
>

Prøv "netstat -pan | grep :21" så  kan du se hvilken proces der har kører på
port 21 (skal vist nok køres som root for at den kan finde ud af det).

// Jesper




Follow ups

References