Ein freundliches "Hallo" an alle Leidengenossen.
Bevor wieder eine "Schnippische" Antwort kommt ................. :wink:
JA ich habe die Boardsuche benutzt und auch die hier Angebotenen Faq's gelesen.
Auch ich habe das
"Failed binding to 0.0.0.0, port 21: Address already in use" Problem.
Ich hab den FTP sowohl als Deamon (inetd) als auch als "Standalone" mit
entsprechender Löschung in der proftpd.conf laufen lassen --->>> Ohne Erfolg
Ich kann mich weder über Console, noch über einen in VHCS2 eingelegten FTP User einloggen.
#
# VHCS proftpd config file
#
#
ServerName "Testserver"
ServerType standalone
#ServerType inetd
DeferWelcome off
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
LogFormat traff "%b %u"
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
#LsDefaultOptions "-l"
DenyFilter \*.*/
DefaultRoot ~
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Port 21 is the standard FTP port.
Port 21
Dazu folgende inetd.conf
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
#:STANDARD: These are standard services.
#ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#:INFO: Info services
nach "killall proftp" und Anschließendem /etc/init.d/proftpd restart war der
der Port wieder aktiv:
Testserver:~# fuser -n tcp 21
21/tcp: 15723
nobody 15723 1 0 15:40 ? 00:00:00 proftpd: (accepting connections)
root 15739 15396 0 15:42 pts/0 00:00:00 grep 15723
Testserver:~# ftp localhost
Connected to Testserver.local.
421 Service not available, remote server has closed connection
Hier noch weitere Infos:
Testserver:~# proftpd -n -d9
- mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004
- parsing '/etc/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'ServerName' to module mod_core
- dispatching directive 'ServerType' to module mod_core
- dispatching directive 'DeferWelcome' to module mod_core
- dispatching directive 'ShowSymlinks' to module mod_ls
- dispatching directive 'MultilineRFC2228' to module mod_core
- dispatching directive 'DefaultServer' to module mod_core
- dispatching directive 'ShowSymlinks' to module mod_ls
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'TimeoutNoTransfer' to module mod_xfer
- dispatching directive 'TimeoutStalled' to module mod_xfer
- dispatching directive 'TimeoutIdle' to module mod_core
- dispatching directive 'DisplayLogin' to module mod_core
- dispatching directive 'DisplayFirstChdir' to module mod_core
- dispatching directive 'DenyFilter' to module mod_core
- Compiling deny regex '\*.*/'.
- Allocated deny regex at location 0x812e660.
- dispatching directive 'DefaultRoot' to module mod_auth
- dispatching directive 'Port' to module mod_core
- FS: using system read()
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching auth request "getpwnam" to module mod_radius
- dispatching auth request "getpwnam" to module mod_sql
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching directive 'Group' to module mod_core
- dispatching auth request "getgrnam" to module mod_radius
- dispatching auth request "getgrnam" to module mod_sql
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- dispatching directive '<Directory>' to module mod_core
- <Directory /*>: adding section for resolved path '/*'
- dispatching directive 'Umask' to module mod_core
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive 'HideNoAccess' to module mod_core
- dispatching directive '</Directory>' to module mod_core
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'IgnoreHidden' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive '<Global>' to module mod_core
- dispatching directive 'TransferLog' to module mod_core
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive 'PathDenyFilter' to module mod_core
- Compiling deny regex '.quota$'.
- Allocated deny regex at location 0x8141220.
- dispatching directive '</Global>' to module mod_core
- dispatching directive '<IfModule>' to module mod_core
- <IfModule>: found 'mod_delay.c' module
- dispatching directive 'DelayEngine' to module mod_delay
- dispatching directive '</IfModule>' to module mod_core
- dispatching directive 'SQLAuthTypes' to module mod_sql
- dispatching directive 'SQLAuthenticate' to module mod_sql
- dispatching directive 'SQLConnectInfo' to module mod_sql
- dispatching directive 'SQLUserInfo' to module mod_sql
- dispatching directive 'SQLGroupInfo' to module mod_sql
- dispatching directive 'SQLMinID' to module mod_sql
- dispatching directive 'QuotaEngine' to module mod_quotatab
- dispatching directive 'QuotaShowQuotas' to module mod_quotatab
- dispatching directive 'QuotaDisplayUnits' to module mod_quotatab
- FS: using system read()
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'QuotaLock' to module mod_quotatab
- dispatching directive 'QuotaLimitTable' to module mod_quotatab
- FS: using system read()
- dispatching directive 'QuotaTallyTable' to module mod_quotatab
- FS: using system read()
- FS: using system close()
Testserver -
Testserver - Config for Testserver:
Testserver - Limit
Testserver - IgnoreHidden
Testserver - /*
Testserver - Umask
Testserver - DirUmask
Testserver - AllowOverwrite
Testserver - HideNoAccess
Testserver - ShowSymlinks
Testserver - DisplayLogin
Testserver - DisplayFirstChdir
Testserver - DenyFilter
Testserver - SQLAuthTypes
Testserver - SQLAuthenticate
Testserver - SQLConnectInfo
Testserver - SQLMinID
Testserver - SQLNamedQuery_get-quota-limit
Testserver - SQLNamedQuery_get-quota-tally
Testserver - SQLNamedQuery_update-quota-tally
Testserver - SQLNamedQuery_insert-quota-tally
Testserver - TransferLog
Testserver - PathDenyFilter
Testserver - DeferWelcome
Testserver - ShowSymlinks
Testserver - DefaultServer
Testserver - ShowSymlinks
Testserver - AllowOverwrite
Testserver - TimeoutNoTransfer
Testserver - TimeoutStalled
Testserver - TimeoutIdle
Testserver - DisplayLogin
Testserver - DisplayFirstChdir
Testserver - DenyFilter
Testserver - DefaultRoot
Testserver - UserID
Testserver - UserName
Testserver - GroupID
Testserver - GroupName
Testserver - DelayEngine
Testserver - SQLAuthTypes
Testserver - SQLAuthenticate
Testserver - SQLConnectInfo
Testserver - SQLUserTable
Testserver - SQLUsernameField
Testserver - SQLPasswordField
Testserver - SQLUidField
Testserver - SQLGidField
Testserver - SQLHomedirField
Testserver - SQLShellField
Testserver - SQLGroupTable
Testserver - SQLGroupnameField
Testserver - SQLGroupGIDField
Testserver - SQLGroupMembersField
Testserver - SQLMinID
Testserver - QuotaEngine
Testserver - QuotaShowQuotas
Testserver - QuotaDisplayUnits
Testserver - SQLNamedQuery_get-quota-limit
Testserver - SQLNamedQuery_get-quota-tally
Testserver - SQLNamedQuery_update-quota-tally
Testserver - SQLNamedQuery_insert-quota-tally
Testserver - QuotaLock
Testserver - QuotaLimitTable
Testserver - QuotaTallyTable
Testserver - TransferLog
Testserver - ExtendedLog
Testserver - PathDenyFilter
Testserver - dispatching auth request "getgroups" to module mod_radius
Testserver - dispatching auth request "getgroups" to module mod_sql
Testserver - dispatching auth request "getgroups" to module mod_auth_file
Testserver - dispatching auth request "getgroups" to module mod_auth_unix
Testserver - SETUP PRIVS at ../../../src/main.c:2736
Testserver - ROOT PRIVS at ../../../src/main.c:1970
Testserver - RELINQUISH PRIVS at ../../../src/main.c:1977
Testserver - ROOT PRIVS at ../../../src/main.c:2325
Testserver - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
Testserver - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
Testserver - RELINQUISH PRIVS at ../../../src/main.c:2351
Testserver - ROOT PRIVS at ../../../src/inet.c:322
Testserver - RELINQUISH PRIVS at ../../../src/inet.c:362
Testserver - Failed binding to 0.0.0.0, port 21: Address already in use
Testserver - Check the ServerType directive to ensure you are configured correctly.
PORT STATE SERVICE
21/tcp open ftp
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
783/tcp open hp-alarm-mgr
953/tcp open rndc
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
9876/tcp open sd
Was mit noch Aufgefallen ist, bei mir existiert kein xfer.log !!
Ich hoffe es ist jetzt zu Faschingszeit noch jemand Fit um sich meinem Problem zu Widmen
Gruß
Thommy