|
[SOLVED] proftpd problem rc4
|
| Author |
Message |
mats
Newbie

Posts: 6
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
[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:
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 |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
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
?
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
|
|
| 03-21-2008 08:23 AM |
|
 |
mats
Newbie

Posts: 6
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
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
?
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 |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
RE: proftpd problem rc4
hm, tcp listens on port 21. Thats wrong XD
could you also post your /etc/services?
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
|
|
| 03-21-2008 08:28 AM |
|
 |
mats
Newbie

Posts: 6
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
RE: proftpd problem rc4
ftp-data 20/tcp
ftp 21/tcp
fsp 21/udp fspd
|
|
| 03-21-2008 08:31 AM |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
RE: proftpd problem rc4
hm, seems ok
but why does initd listens on port 21...
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
|
|
| 03-21-2008 08:34 AM |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
RE: proftpd problem rc4
please post your proftpd.conf or just look what your ServerType is.
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
This post was last modified: 03-21-2008 08:41 AM by Zothos.
|
|
| 03-21-2008 08:41 AM |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
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)
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
This post was last modified: 03-21-2008 08:46 AM by Zothos.
|
|
| 03-21-2008 08:44 AM |
|
 |
gOOvER
Documentation Team
  
Posts: 1,283
Group: Docu Team
Joined: Jul 2007
Status:
Offline
Reputation: 11
|
RE: proftpd problem rc4
Remove init.d from init.d.conf then it should work.
OS : Debian 4.0 Etch 64bit
ispCP Version : RC6 r1257 - 01.07.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : none
-> This Signature is OpenSource <-
|
|
| 03-21-2008 10:03 AM |
|
 |
mats
Newbie

Posts: 6
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
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)
i removed the ftp entry and the ftp is working again now 
thx
|
|
| 03-21-2008 09:28 PM |
|
 |
|
|