
25th May 2006, 15:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's the output of ?
Does it work when you use a normal FTP client like SmartFTP?
|

25th May 2006, 19:58
|
|
Member
|
|
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes.
netstap -tap:
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:pop3s *:* LISTEN 1202/inetd
tcp 0 0 *:swat *:* LISTEN 1202/inetd
tcp 0 0 *:902 *:* LISTEN 1567/rpc.statd
tcp 0 0 localhost:mysql *:* LISTEN 27459/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 1402/smbd
tcp 0 0 *:pop3 *:* LISTEN 1202/inetd
tcp 0 0 localhost:spamd *:* LISTEN 8098/spamd.pid
tcp 0 0 *:imap2 *:* LISTEN 1202/inetd
tcp 0 0 *:sunrpc *:* LISTEN 902/portmap
tcp 0 0 *:www *:* LISTEN 27508/apache
tcp 0 0 *:81 *:* LISTEN 22638/ispconfig_htt
tcp 0 0 *:ftp *:* LISTEN 25344/proftpd: (acc
tcp 0 0 actualhost.actualdomain.tld:domain *:* LISTEN 1119/named
tcp 0 0 localhost:domain *:* LISTEN 1119/named
tcp 0 0 actualhost.actualdomain.tld.:ssh *:* LISTEN 7553/sshd
tcp 0 0 *:smtp *:* LISTEN 16105/master
tcp 0 0 *:https *:* LISTEN 27516/apache-ssl
tcp 0 0 localhost:891 *:* LISTEN 1563/famd
tcp 0 0 *:microsoft-ds *:* LISTEN 1402/smbd
tcp 0 0 localhost:ftp localhost:56187 TIME_WAIT -
tcp 0 0 localhost:ftp localhost:56189 TIME_WAIT -
tcp 0 0 localhost:ftp localhost:56191 TIME_WAIT -
|

26th May 2006, 01:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What happens if you remove these lines:
Code:
<Global>
DefaultRoot / root
DefaultRoot / photo1
DefaultRoot /var/www www-data
DefaultRoot ~
DeleteAbortedStores on
HiddenStor on
LoginPasswordPrompt off
RootLogin off
DisplayConnect /etc/proftpd.mesg
MaxLoginAttempts 1
UseFtpUsers on
AllowRetrieveRestart on
IdentLookups on
MaxClientsPerHost 15 "Methinks you are hogging my bandwidth. Begone wastrel!"
SyslogLevel emerg
DirFakeGroup off
DirFakeUser off
PassivePorts 1024 1024
RequireValidShell off
</Global>
TimeoutLogin 20
UseReverseDNS on
SystemLog /var/log/proftp
from /etc/proftpd.conf and restart proftpd?
|

26th May 2006, 15:45
|
|
Member
|
|
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Now I have
Code:
The following error occurred:
FTP: Failed to write Array/.htaccess
when I attempt to upload a file as a user.
Also, I am intermittently getting "Could not connect as user user". This happened prior to commenting out those lines.
|

26th May 2006, 16:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Can you try this in your /etc/proftpd.conf?
Code:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "Debian"
ServerType standalone
DeferWelcome off
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
LsDefaultOptions "-l"
DenyFilter \*.*/
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Port 21 is the standard FTP port.
Port 21
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
## <Anonymous ~ftp>
## User ftp
## Group nogroup
## # We want clients to be able to login with "anonymous" as well as "ftp"
## UserAlias anonymous ftp
##
## RequireValidShell off
##
## # Limit the maximum number of anonymous logins
## MaxClients 10
##
## # We want 'welcome.msg' displayed at login, and '.message' displayed
## # in each newly chdired directory.
## DisplayLogin welcome.msg
## DisplayFirstChdir .message
##
## # Limit WRITE everywhere in the anonymous chroot
## <Directory *>
## <Limit WRITE>
## DenyAll
## </Limit>
## </Directory>
##
## # Uncomment this if you're brave.
## # <Directory incoming>
## # # Umask 022 is a good standard umask to prevent new files and dirs
## # # (second parm) from being group and world writable.
## # Umask 022 022
## # <Limit READ WRITE>
## # DenyAll
## # </Limit>
## # <Limit STOR>
## # AllowAll
## # </Limit>
## # </Directory>
##
## </Anonymous>
Include /etc/proftpd_ispconfig.conf
|

26th May 2006, 17:45
|
|
Member
|
|
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How do I restart ISPConfig's proftpd?
a simple proftpd restart from the command line returns:
Code:
- warning: "ProFTPD" address/port (208.44.78.14:21) already in use by "Debian"
netstat -tap
Code:
tcp 0 0 *:ftp *:* LISTEN 20987/proftpd: (acc
|

27th May 2006, 14:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by tgansert
How do I restart ISPConfig's proftpd?
|
It's not ISPConfig's Proftpd, it's your system's Proftpd. ISPConfig doesn't come with an FTP server included.
Restart it like this:
Code:
/etc/init.d/proftpd restart
|

27th May 2006, 15:22
|
|
Member
|
|
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No good. I can connect from any FTP client, but not ISPConfig. I've noted since I installed the OS that the FTP server takes about 8-10 seconds to reply to a connection request.... If ISPConfig uses PHP's ftp_* instead, how can I test to check if --with-ftp was used during PHP install?
|

27th May 2006, 16:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,900
Thanks: 693
Thanked 4,191 Times in 3,209 Posts
|
|
The ISPCOnfig PHP that is used on the server on port 81 is identically compiled with FTP enabled on all ISPConfig installations.
|

27th May 2006, 18:04
|
|
Member
|
|
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Are there any logs I can view to see if there are errors being kicked out?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 19:46.
|
|
Recent comments
13 hours 59 min ago
20 hours 40 min ago
1 day 30 min ago
1 day 2 hours ago
1 day 10 hours ago
1 day 20 hours ago
1 day 20 hours ago
2 days 25 min ago
2 days 4 hours ago
2 days 5 hours ago