öh joa...
Nach einem Upgrade von Dapper 6.06 auf Feisty 7.04 ( Ubuntu ) will der ProFTPd netmehr so wirklich wie er soll...
Der SQL-Zugriff Funktioniert Einwandfrei, daran kann es nicht liegen
In der Logfile steht nur die Start.Nachricht des Severs - extended.log und transfers.log existieren nicht.
Laut nmap und netstat lauscht er aber auf seinem Port:
Jemand eine Idee warum der server nicht erreichbar ist?
Nach einem Upgrade von Dapper 6.06 auf Feisty 7.04 ( Ubuntu ) will der ProFTPd netmehr so wirklich wie er soll...
Could not connect. FTP server may be too busy.
Code:
<Limit LOGIN>
Allow from ALL
</Limit>
Include /etc/proftpd/modules.conf
ServerName "ftp.domain.tld"
ServerType standalone
RLimitCPU 50
Port 21
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutLogin 600
TimeoutIdle 1200
DeferWelcome off
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "ls -lb strict"
Umask 026 027
AllowOverwrite on
DenyFilter \*.*/
RootLogin off
#PersistentPasswd off
#TLSEngine on
#Quotas on
#Ratios on
MaxInstances 30
DelayEngine on
User proftpd
Group nogroup
RequireValidShell off
DefaultRoot ~
SystemLog /var/log/proftpd/error.log
ExtendedLog /var/log/proftpd/extended.log ALL default
<Global>
TransferLog /var/lob/proftpd/transfer.log
PassivePorts 45000 65535
RootRevoke on
PathDenyFilter "(^|/)[-.]"
DirFakeUser on chuck
DirFakeGroup on norris
HiddenStores off
<Directory />
HideUser root
HideGroup root
HideNoAccess on
<Limit ALL>
AllowALL
IgnoreHidden on
</Limit>
</Directory>
</Global>
SQLAuthTypes Plaintext Crypt
SQLAuthenticate users groups
SQLConnectInfo proftpd@localhost proftpd B2jfH8UQra5YYPNV
SQLUserInfo ftpuser userid passwd uid gid homedir shell
SQLGroupInfo ftpgroup groupname gid members
SQLMinID 500
SQLHomedirOnDemand off
SQLLog PASS updatecount
SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser
SQLLog STOR,DELE modified
SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser
QuotaEngine on
QuotaDirectoryTally on
QuotaDisplayUnits Mb
QuotaShowQuotas on
SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM ftpquotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM ftpquotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" ftpquotatallies
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" ftpquotatallies
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally
Der SQL-Zugriff Funktioniert Einwandfrei, daran kann es nicht liegen
In der Logfile steht nur die Start.Nachricht des Severs - extended.log und transfers.log existieren nicht.
Code:
hostname:/etc/proftpd# proftpd -vv
- ProFTPD Version: 1.3.0 (stable)
- Scoreboard Version: 01040002
- Built: Sun Oct 15 11:31:12 UTC 2006
- Module: mod_core.c
- Module: mod_xfer.c
- Module: mod_auth_unix.c
- Module: mod_auth_file.c
- Module: mod_auth.c
- Module: mod_ls.c
- Module: mod_log.c
- Module: mod_site.c
- Module: mod_delay/0.5
- Module: mod_dso/0.4
- Module: mod_auth_pam.c
- Module: mod_readme.c
- Module: mod_cap/1.0
- Module: mod_ctrls/0.9.4
Laut nmap und netstat lauscht er aber auf seinem Port:
Code:
hostname:/etc/proftpd# nmap domain.tld
Starting Nmap 4.20 ( http://insecure.org ) at 2007-08-17 22:36 CEST
Interesting ports on domain.tld (xxx.xxx.xxx.xxx):
Not shown: 1691 closed ports
PORT STATE SERVICE
[...]
21/tcp open ftp
[...]
Code:
hostname:/etc/proftpd# netstat -lN
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
[...]
tcp6 0 0 :::ftp :::* LISTEN
[...]
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 105219 /var/run/proftpd/proftpd.sock
[...]
unix 2 [ ACC ] STREAM LISTENING 105214 /var/run/proftpd/proftpd.sock
Jemand eine Idee warum der server nicht erreichbar ist?