Current time: 04-20-2024, 12:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] proftpd problem rc4
Author Message
mats Offline
Newbie
*

Posts: 6
Joined: Mar 2008
Reputation: 0
Post: #1
[SOLVED] proftpd problem rc4
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]
(This post was last modified: 03-21-2008 09:52 PM by BeNe.)
03-21-2008 07:58 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #2
RE: proftpd problem rc4
I had a smimilar issue, but cant remeber what i did XD

but could you please post
netstat -tulpen | grep :21
?
03-21-2008 08:23 AM
Find all posts by this user Quote this message in a reply
mats Offline
Newbie
*

Posts: 6
Joined: Mar 2008
Reputation: 0
Post: #3
RE: proftpd problem rc4
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
(This post was last modified: 03-21-2008 08:26 AM by mats.)
03-21-2008 08:26 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #4
RE: proftpd problem rc4
hm, tcp listens on port 21. Thats wrong XD

could you also post your /etc/services?
03-21-2008 08:28 AM
Find all posts by this user Quote this message in a reply
mats Offline
Newbie
*

Posts: 6
Joined: Mar 2008
Reputation: 0
Post: #5
RE: proftpd problem rc4
ftp-data 20/tcp
ftp 21/tcp
fsp 21/udp fspd
03-21-2008 08:31 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #6
RE: proftpd problem rc4
hm, seems ok

but why does initd listens on port 21...
03-21-2008 08:34 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #7
RE: proftpd problem rc4
please post your proftpd.conf or just look what your ServerType is.
(This post was last modified: 03-21-2008 08:41 AM by Zothos.)
03-21-2008 08:41 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #8
RE: proftpd problem rc4
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)
(This post was last modified: 03-21-2008 08:46 AM by Zothos.)
03-21-2008 08:44 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #9
RE: proftpd problem rc4
Remove init.d from init.d.conf then it should work.
03-21-2008 10:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mats Offline
Newbie
*

Posts: 6
Joined: Mar 2008
Reputation: 0
Post: #10
RE: proftpd problem rc4
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 Smile
thx
03-21-2008 09:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)