HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   pure-ftp CLIENTNAME on ISPConfig 3? (http://www.howtoforge.com/forums/showthread.php?t=54260)

JESUSSAVES 24th September 2011 20:36

pure-ftp CLIENTNAME on ISPConfig 3?
 
Hi,

Installed Fedora 15 - ISPConfig 3 following instructions.

I've never used pure-ftp prior to this installation so I don't where it keeps it's configuration files.

I've discovered where my CLIENTNAME is listed (under the ftp user list).

I can connect to the server with pure-ftp with a Linux user id, but not with an ISPConfig defined ftp user. I'm using FileZilla on port 22 as the ftp client. I used my domain name (with the tld of course) but not the protocol as the host.

I'm at a loss to know what to do.

Please could someone give me advice. Thanks.

JESUSSAVES 25th September 2011 01:51

/etc/pure-ftpd/pure-ftpd.conf
 
The configuration file is setup as it should be.

I can only get connected on port 22 as SSH.

On port 21 as TLSES I get an error.

I got past accepting my certificate, that's OK.

FileZilla log screen shows last successful entry" "227 entering passive mode (192...)"

Then immediately I get a Status:"Server sent passive reply with unroutable address. Using server address instead"

Then it dies - error messages in red.

/var/log/messages shows login successful then logout, but no errors.

falko 25th September 2011 10:48

Did you try both active and passive transfers in your FTP client?

till 25th September 2011 13:52

Thats most likely a firewall issue. Try to disable the firewall and if that works, define a passive port range in the firewall and the pureftpd configuration.

JESUSSAVES 25th September 2011 15:32

yes both active and passive with firewall down
 
Yes, I've tried both active and passive (port 990) with the firewall disabled.

One irregularity was that I caught that I had not set TLS 1 until after I installed ISPConfig 3. But after restarting pure-ftpd and rebooting still it didn't work.

After having problems I discovered the FTP HOWTO "Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Fedora 14". I'm not sure whether that is just for ISPConfig 2, but I haven't done that stuff.

Thank you for your help.

till 25th September 2011 16:54

This tutorial is incompatible with all ispconfig versions, so dont use that on a ispconfig server. The only tutorial that is required to setup the server is the perfect setup guide for ispconfig 3. Dont use the guide for ispconfig 2 or any oher tutorial. Mske sure that you folowed every command exactly. Port 990 is not the ftp port. Please use the normal ftp port 21 to connect to ftp. Are connections withot tls are working fine?

JESUSSAVES 26th September 2011 00:20

only works on 22 SSH
 
The first attempt was 21 with TLSES and the second with plain ftp on 21.

Status: Selected port usually in use by a different protocol.
Status: Resolving address of delcowebhosting.com
Status: Connecting to 71.225.4.213:21...
Status: Connection established, initializing TLS...
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of delcowebhosting.com
Status: Connecting to 71.225.4.213:21...
Status: Connection established, initializing TLS...
Error: Connection timed out
Error: Could not connect to server
Status: Resolving address of delcowebhosting.com
Status: Connecting to 71.225.4.213:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 18:10. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER delco001
Response: 331 User delco001 OK. Password required
Command: PASS ******
Response: 230 OK. Current restricted directory is /
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNI X.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Response: 211 End.
Command: OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (71,225,4,213,57,240)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing

till 26th September 2011 07:41

Thats a firewall issue, the connection gets interrupted when ftp switches to another port. Please turn of the firewall and try again. Be aware that it takes at least one minute until the ispconfig firewall is turned off. It may also be a firewall at yor isp or datacenter which blocks the connection.

JESUSSAVES 26th September 2011 17:09

GnuTLS error -53: Error in the push function
 
With firewalls disabled and off I still got the problem.

I Googled the error:"GnuTLS error -53: Error in the push function" and found a discussion thread on a FileZilla forum about a confirmed bug in gnuTLS. (I've have a different Linux kernel level 2.6.4 than the instructions on howtoforge.com). My gnuTLS is gnutls-2.10.5-1.fc15.x86_64 while my FileZilla agent uses 2.10.4.

So I downloaded a different FTP client and now everything works as it should.

Thanks again,
JESUSSAVES


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

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