[SOLVED] proftpd problem rc4 - mats - 03-21-2008 07:58 AM
i just updated to rc4
but now i have an problem with proftpd. i followed the instructions on the wiki, and there were no errors, but now i can't connect to my ftp server
debug says this:
Quote:L-S-08:~# proftpd -n -d 5
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd/proftpd.conf' configuration
- parsing '/etc/proftpd/modules.conf' configuration
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- disabling runtime support for IPv6 connections
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using 'mod_delay.c' section at line 83
L-S-08 -
L-S-08 - Config for mats.8s.nl:
L-S-08 - Limit
L-S-08 - IgnoreHidden
L-S-08 - /*
L-S-08 - Umask
L-S-08 - DirUmask
L-S-08 - AllowOverwrite
L-S-08 - HideNoAccess
L-S-08 - ShowSymlinks
L-S-08 - AllowStoreRestart
L-S-08 - AllowForeignAddress
L-S-08 - DisplayLogin
L-S-08 - DisplayFirstChdir
L-S-08 - DenyFilter
L-S-08 - SQLAuthTypes
L-S-08 - SQLAuthenticate
L-S-08 - SQLConnectInfo
L-S-08 - SQLMinID
L-S-08 - SQLNamedQuery_get-quota-limit
L-S-08 - SQLNamedQuery_get-quota-tally
L-S-08 - SQLNamedQuery_update-quota-tally
L-S-08 - SQLNamedQuery_insert-quota-tally
L-S-08 - RootLogin
L-S-08 - TransferLog
L-S-08 - PathDenyFilter
L-S-08 - DeferWelcome
L-S-08 - ShowSymlinks
L-S-08 - DefaultServer
L-S-08 - ShowSymlinks
L-S-08 - AllowOverwrite
L-S-08 - IdentLookups
L-S-08 - AllowStoreRestart
L-S-08 - AllowForeignAddress
L-S-08 - TimeoutNoTransfer
L-S-08 - TimeoutStalled
L-S-08 - TimeoutIdle
L-S-08 - DisplayLogin
L-S-08 - DisplayFirstChdir
L-S-08 - DenyFilter
L-S-08 - DefaultRoot
L-S-08 - UserID
L-S-08 - UserName
L-S-08 - GroupID
L-S-08 - GroupName
L-S-08 - DelayEngine
L-S-08 - SQLBackend
L-S-08 - SQLAuthTypes
L-S-08 - SQLAuthenticate
L-S-08 - SQLConnectInfo
L-S-08 - SQLUserTable
L-S-08 - SQLUsernameField
L-S-08 - SQLPasswordField
L-S-08 - SQLUidField
L-S-08 - SQLGidField
L-S-08 - SQLHomedirField
L-S-08 - SQLShellField
L-S-08 - SQLGroupTable
L-S-08 - SQLGroupnameField
L-S-08 - SQLGroupGIDField
L-S-08 - SQLGroupMembersField
L-S-08 - SQLMinID
L-S-08 - QuotaEngine
L-S-08 - QuotaShowQuotas
L-S-08 - QuotaDisplayUnits
L-S-08 - SQLNamedQuery_get-quota-limit
L-S-08 - SQLNamedQuery_get-quota-tally
L-S-08 - SQLNamedQuery_update-quota-tally
L-S-08 - SQLNamedQuery_insert-quota-tally
L-S-08 - QuotaLock
L-S-08 - QuotaLimitTable
L-S-08 - QuotaTallyTable
L-S-08 - RootLogin
L-S-08 - TransferLog
L-S-08 - ExtendedLog
L-S-08 - PathDenyFilter
L-S-08 - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
L-S-08 - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
L-S-08 - Failed binding to 0.0.0.0, port 21: Address already in use
L-S-08 - Check the ServerType directive to ensure you are configured correctly.
it says adress already in use, but i first stopped proftpd[/quote]
RE: proftpd problem rc4 - Zothos - 03-21-2008 08:23 AM
I had a smimilar issue, but cant remeber what i did XD
but could you please post
netstat -tulpen | grep :21
?
RE: proftpd problem rc4 - mats - 03-21-2008 08:26 AM
Zothos Wrote:I had a smimilar issue, but cant remeber what i did XD
but could you please post
netstat -tulpen | grep :21
?
Code:
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 7514 3158/inetd
RE: proftpd problem rc4 - Zothos - 03-21-2008 08:28 AM
hm, tcp listens on port 21. Thats wrong XD
could you also post your /etc/services?
RE: proftpd problem rc4 - mats - 03-21-2008 08:31 AM
ftp-data 20/tcp
ftp 21/tcp
fsp 21/udp fspd
RE: proftpd problem rc4 - Zothos - 03-21-2008 08:34 AM
hm, seems ok
but why does initd listens on port 21...
RE: proftpd problem rc4 - Zothos - 03-21-2008 08:41 AM
please post your proftpd.conf or just look what your ServerType is.
RE: proftpd problem rc4 - Zothos - 03-21-2008 08:44 AM
hm, another idea:
Please check your /etc/inetd.conf there should be no ftp entry if your proftpd is running in standalone mode
(if ServerType = standalone)
RE: proftpd problem rc4 - gOOvER - 03-21-2008 10:03 AM
Remove init.d from init.d.conf then it should work.
RE: proftpd problem rc4 - mats - 03-21-2008 09:28 PM
Zothos Wrote:hm, another idea:
Please check your /etc/inetd.conf there should be no ftp entry if your proftpd is running in standalone mode
(if ServerType = standalone)
i removed the ftp entry and the ftp is working again now
thx
|