#11  
Old 25th May 2006, 15:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

What's the output of
Code:
netstat -tap
?
Does it work when you use a normal FTP client like SmartFTP?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 25th May 2006, 19:58
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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  -
Reply With Quote
  #13  
Old 26th May 2006, 01:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 26th May 2006, 15:45
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #15  
Old 26th May 2006, 16:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 26th May 2006, 17:45
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #17  
Old 27th May 2006, 14:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 27th May 2006, 15:22
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #19  
Old 27th May 2006, 16:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

The ISPCOnfig PHP that is used on the server on port 81 is identically compiled with FTP enabled on all ISPConfig installations.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 27th May 2006, 18:04
tgansert tgansert is offline
Member
 
Join Date: May 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Are there any logs I can view to see if there are errors being kicked out?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14
problems mysql rayit General 15 1st April 2006 04:57
Problems with postfix-mysql Pelle Installation/Configuration 39 13th November 2005 23:25


All times are GMT +2. The time now is 20:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.