#21  
Old 11th March 2008, 20:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

What happens when you comment out
Code:
Include /etc/proftpd_ispconfig.conf
and restart ProFTPd?

Have you compared the proftpd.conf of the working and the not-working 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
The Following User Says Thank You to falko For This Useful Post:
SupuS (12th March 2008)
Sponsored Links
  #22  
Old 11th March 2008, 21:25
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Default

If I comment suggested line everything work as expected! And login to FTP is very fast now .. before I had to wait about 10 s.
What included file do? Is it safe keeping it out?

Thanks for solution

Last edited by SupuS; 11th March 2008 at 21:31.
Reply With Quote
  #23  
Old 12th March 2008, 19:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

If you don't need anonymous FTP, you don't need that line.
__________________
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
  #24  
Old 12th March 2008, 19:36
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Thumbs up

Thanks falco .. I don't use anonymous FTP so I comment out this line on other servers Thanks for your help

SupuS
Reply With Quote
  #25  
Old 24th March 2008, 12:12
jupiter2005ster jupiter2005ster is offline
Junior Member
 
Join Date: Mar 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

okey I didn't find mod_tls.c, but

# if not --> compile proftp with tls :
Quote:
./configure --with-modules=mod_tls
make
make install

when I do it, I didn't find configure. I know ./ syntax this is running, but the file (configure) not exist.
Reply With Quote
  #26  
Old 25th March 2008, 06:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

Make sure you're in the correct directory.
__________________
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
  #27  
Old 25th March 2008, 08:38
jupiter2005ster jupiter2005ster is offline
Junior Member
 
Join Date: Mar 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I tryd to make ./configure....etc. then I was -> /usr/sbin
Reply With Quote
  #28  
Old 26th March 2008, 15:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
Default

You must be in the ProFTPd source directory.
__________________
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
  #29  
Old 3rd April 2008, 18:00
Allmight Allmight is offline
Junior Member
 
Join Date: Apr 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I have followed this thread since i had the same problems as OP. When commented out the "Include /etc/proftpd_ispconfig.conf" line, i took one step in the right direction, but stumbled upon another one instead.

When i connect, everything works fine until i reach the "LIST" command, where it hangs for awhile, and finally dissconnects with an error.

Code:
Status:	Resolving IP-Address for ***.**************.com
Status:	Connecting to ###.###.##.###:21...
Status:	Connection established, waiting for welcome message...
Response:	220 FTP Server ready.
Command:	AUTH TLS
Response:	234 AUTH TLS successful
Status:	Initializing TLS...
Command:	USER *************
Status:	Verifying certificate...
Status:	TLS/SSL connection established.
Response:	331 Password required for *************.
Command:	PASS *******
Response:	230 User ****_******** logged in.
Command:	PBSZ 0
Response:	200 PBSZ 0 successful
Command:	PROT P
Response:	200 Protection set to Private
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is current directory.
Command:	TYPE I
Response:	200 Type set to I
Command:	PASV
Response:	227 Entering Passive Mode (###,###,##,###,199,172).
Command:	LIST
Error:	Connection timed out
Error:	Failed to retrieve directory listing
Note, i have edited out the domain, IP and user name for privacy's sake.

And here is the tls.log

Code:
Apr 03 17:00:01 mod_tls/2.1.1[24974]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:30:01 mod_tls/2.1.1[25371]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:33:37 mod_tls/2.1.1[25440]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:33:37 mod_tls/2.1.1[25440]: TLS/TLS-C requested, starting TLS handshake
Apr 03 17:33:38 mod_tls/2.1.1[25440]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES128-SHA (128 bits)
Apr 03 17:33:44 mod_tls/2.1.1[25440]: Protection set to Private
Apr 03 17:34:27 mod_tls/2.1.1[25451]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:34:27 mod_tls/2.1.1[25451]: TLS/TLS-C requested, starting TLS handshake
Apr 03 17:34:27 mod_tls/2.1.1[25451]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES128-SHA (128 bits)
Apr 03 17:34:27 mod_tls/2.1.1[25451]: Protection set to Private
Apr 03 17:35:15 mod_tls/2.1.1[25462]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:35:15 mod_tls/2.1.1[25462]: TLS/TLS-C requested, starting TLS handshake
Apr 03 17:35:15 mod_tls/2.1.1[25462]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES128-SHA (128 bits)
Apr 03 17:35:15 mod_tls/2.1.1[25462]: Protection set to Private
Apr 03 17:35:49 mod_tls/2.1.1[25469]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:35:49 mod_tls/2.1.1[25469]: TLS/TLS-C requested, starting TLS handshake
Apr 03 17:35:49 mod_tls/2.1.1[25469]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES128-SHA (128 bits)
Apr 03 17:35:49 mod_tls/2.1.1[25469]: Protection set to Private
Apr 03 17:46:26 mod_tls/2.1.1[25762]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Apr 03 17:46:26 mod_tls/2.1.1[25762]: TLS/TLS-C requested, starting TLS handshake
Apr 03 17:46:26 mod_tls/2.1.1[25762]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES128-SHA (128 bits)
Apr 03 17:46:26 mod_tls/2.1.1[25762]: Protection set to Private

Does anyone know what might cause this problem?

Can this be because of firewalls, and if so, what ports other than 21 is needed to be open? I have tried to force active mode in CuteFTP and FileZilla, but it allways uses passive anyhow.

The server is firewalled using the built in one in ISPConfig, and on my end i use a Netgear router.

Last edited by Allmight; 3rd April 2008 at 18:17.
Reply With Quote
  #30  
Old 4th April 2008, 19:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,736 Times in 2,571 Posts
 
Default

Have you tried both active and passive transfers in your FTP client?
__________________
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
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
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 11:39.


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