ProFTPd Problem

Backup, Restore und Transfer von Daten
Post Reply
nautilusiii
Posts: 48
Joined: 2004-06-12 19:55
 

ProFTPd Problem

Post by nautilusiii »

Hi,

ich kann meinen proftpd nicht starten und erhalte immer die Meldung:

[...] address/port (meineip:21) already in use by "Gentoo"

Meine Konfig:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "Gentoo"
ServerType standalone
RequireValidShell off
#AuthPAM off
#AuthPAMConfig ftp

DeferWelcome on

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
#LsDefaultOptions "-l"
ListOptions "-l"

DenyFilter *.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off

# Port 21 is the standard FTP port.
Port 21

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User proftpd
Group proftpd

# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022

AllowOverwrite on
</Directory>

<VirtualHost http://www.domain.de>
ServerName "www.domain.de"
ServerAdmin info@domain.de
MaxClients 5
MaxLoginAttempts 3
RequireValidShell no
DefaultRoot /var/www/localhost/htdocs/domain.de/
User andreas
AllowOverwrite yes
</VirtualHost>

Ein netstat --inet -an zeigt auf port 21 nichts an, ein grep -A | ps proftp liefert nichts und ein proftpd.pid gibts auch keins.

Ideen ?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: ProFTPd Problem

Post by captaincrunch »

lsof -i :21
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
nautilusiii
Posts: 48
Joined: 2004-06-12 19:55
 

Re: ProFTPd Problem

Post by nautilusiii »

Kommt exakt nichts zurück:

serv2026 root # lsof -i :21
serv2026 root #

Weitere Ideen ?
nautilusiii
Posts: 48
Joined: 2004-06-12 19:55
 

Re: ProFTPd Problem

Post by nautilusiii »

Evtl. sollte ich etwas genauer sein mit der Fehlermeldung:

serv2026 root # proftpd
- error: "www.domain.de" address/port (meineip:21) already in use by "Gentoo"
serv2026 root #
nautilusiii
Posts: 48
Joined: 2004-06-12 19:55
 

Re: ProFTPd Problem

Post by nautilusiii »

Mh,

wenn ich den Port auf 1025 (willkürlich) änder lkann ich proftpd starten.
Auf Port 21 geht nichts...

Wie gesagt, standalone mode und ich starte über proftpd Kommando, nicht über ein inet.d script...

Irgenwelche Ideen ?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: ProFTPd Problem

Post by Joe User »

Code: Select all

netstat -peatun
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
nautilusiii
Posts: 48
Joined: 2004-06-12 19:55
 

Re: ProFTPd Problem

Post by nautilusiii »

Code: Select all

serv2026 proftpd # netstat -peatun
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      0          169404     4065/couriertcpd
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      0          169353     4004/couriertcpd
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      0          168837     3709/mysqld
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      0          83104      4356/couriertcpd
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      0          425030     15341/spamd.pid -a
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      0          83063      4303/couriertcpd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          401431     28873/apache
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          455338     819/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      0          462778     3483/exim
tcp        0      0 xxx.195.47.6:22         xxx.84.195.174:3397     ESTABLISHED 0          456017     1217/sshd: root@not
tcp        0   1136 xxx.195.47.6:22         xxx.84.195.174:3446     ESTABLISHED 0          456710     1345/0
Nichts auf 21, oder bin ich blind ?

[EDIT by Joe User: Code-Tags hinzugefügt]
Post Reply