View Full Version : Debian Sarge, FTP problems
KenKnight
21st July 2006, 04:36
I've read through several FTP related threads I found and still haven't found the fix.
My problem is this; Running proftpd. When I try to connect to the server it shows EVERY file and folder at the top level. Not in a proper tree like normal.
Does anyone have a suggestion?
I've added the socketbindtight (but don't thinks thats necessary in this case).
Also a note, when I try to do a "proftpd restart", it gives the warning about "already being in use by "Debian"". Which leads me to believe that its not under ISPconfig's control??
Thanks,
Ken
TheRudy
21st July 2006, 11:39
Also a note, when I try to do a "proftpd restart", it gives the warning about "already being in use by "Debian"". Which leads me to believe that its not under ISPconfig's control??
Read http://www.howtoforge.com/forums/showthread.php?t=5433&highlight=DefaultAddress+127.0.0.1
Also with the latest version, this has been added to the config file..
falko
22nd July 2006, 15:54
My problem is this; Running proftpd. When I try to connect to the server it shows EVERY file and folder at the top level. Not in a proper tree like normal.
Please check that you have
DefaultRoot ~
in /etc/proftpd.conf.
KenKnight
23rd July 2006, 00:12
Hi all,
Well I got rid of the warning problem but I'm still getting an list of files being displayed in the "root" folder. I checked the DefaultRoot and it is in place with the tilde.
Any other suggestions?
Thanks,
Ken
till
23rd July 2006, 12:04
Please post your proftpd.conf file. Please remove comments before you post it.
KenKnight
29th July 2006, 19:16
sorry for the delay, had to go out of town.
here's the config w/o comments;
---------------------------------------------------------
ServerName "Debian"
ServerType standalone
DeferWelcome off
DefaultAddress 192.168.10.169
PassivePorts 40000 40100
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
MaxInstances 30
User nobody
Group nogroup
Umask 022 022
AllowOverwrite on
IdentLookups off
ServerIdent on "FTP Server ready."
Include /etc/proftpd_ispconfig.conf
-------------------------------------------
Thanks,
Ken
falko
30th July 2006, 17:44
DefaultRoot ~ is missing in your proftpd.conf.
KenKnight
1st August 2006, 06:09
Hi Falko,
Thanks for the response. I added to the main proftpd.conf file, however, it was already listed in the proftpd_ispconfig.conf. Heres a copy of that
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.10.169>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
<VirtualHost 192.168.10.170>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
Does all that look ok?
Thanks,
ken
PS. I'm using a multihomed NIC, theres not really to physical cards there.
falko
2nd August 2006, 13:48
Did you restart ProFTPd? Does it work now? Did you try with a user you created with ISPConfig?
KenKnight
5th August 2006, 21:02
Sorry about the long delay between responses. I've been having to travel on business over the last few weeks.
Yes I restarted the entire system. When I login via ftp it pulls over a directory listing about 2.6megs in size still with everything right in the root.
--UPDATE---
It is now working correctly via Active connection but not passive. Unfortunantely I need passive for my software development.
--UPDATE #2--
Well after restarting the system 3 times, it now appears to be working on passive as it should. I'll restart it a few more times and see it holds.
Thanks,
Ken
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.