#1  
Old 17th June 2010, 16:59
nevermindtbc nevermindtbc is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default SOLVED - I'm not able to use FTP access.

Hi
I'm running ubuntu 10 server and followed the tutorial on this site for install for ISPConfig3.

I have setup a new ftp client and website, these are both working. I have also made sure that there is a ftp usr also. However when I attemp to get access useing filezilla I am given an error;

Code:
Status:	Connecting to 192.168.0.12: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 16:11. 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 si81
Response:	331 User si81 OK. Password required
Command:	PASS ******
Response:	530 Login authentication failed
Error:	Critical error
Error:	Could not connect to server
I can connect by ssh and outcome of netstat -tap | grep ftp is
Code:
tcp        0      0 *:ftp                   *:*                     LISTEN      12854/pure-ftpd (SE
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      12854/pure-ftpd (SE
Alos enabled verbose logging in pure-ftp

Code:
Jun 17 16:11:12 simalpas pure-ftpd: (?@192.168.0.2) [INFO] New connection from 192.168.0.2
Jun 17 16:11:17 simalpas pure-ftpd: (?@192.168.0.2) [WARNING] Authentication failed for user [si81]
Jun 17 16:11:17 simalpas pure-ftpd: (?@192.168.0.2) [INFO] Logout.
I know i put the correct password in, also I can login to the FTP with my system user account.

Seem to have a similar problem to clammy77

No idea why I can't connect.

Thanks in advance for your help, I'm sure I'm doing something stupid.

Last edited by nevermindtbc; 18th June 2010 at 01:33. Reason: add info
Reply With Quote
Sponsored Links
  #2  
Old 17th June 2010, 17:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

A FTP username in ISPConfig looks like c0... or c1..., so you did not use the correct full FTP username. It must be something like c0si81. Please look into the FTP users list, you can see the username there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th June 2010, 18:05
nevermindtbc nevermindtbc is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've look in the interface under FTP-Users and it lists the user name as si81,

I've tried adding on a c0 through to c6 (the client with the user name si is client 3)

Still no joy, if i put in my ssh login details though filezilla displays the file system. Could pure-ftp be looking at the wrong user table?
Reply With Quote
  #4  
Old 17th June 2010, 18:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Quote:
Still no joy, if i put in my ssh login details though filezilla displays the file system. Could pure-ftp be looking at the wrong user table?
Thats a good point for further investigation. If you are able to login with a SSH user, the pure-ftpd is not connected to the mysql database, instead it authenticates against /etc/passwd which is not the correct authentication method for virtual FTP users.

There are 4 different pure-ftpd packages available:

pure-ftpd-ldap - Pure-FTPd FTP server with LDAP user authentication
pure-ftpd-mysql - Pure-FTPd FTP server with MySQL user authentication
pure-ftpd-postgresql - Pure-FTPd FTP server with PostgreSQL user authentication
pure-ftpd - Pure-FTPd FTP server

The one that has to be installed is:

pure-ftpd-mysql

the other ones will not work. At the moment, you seem to have installed pure-ftpd without mysql bindings. Please run:

apt-get install pure-ftpd-mysql

to install the one with mysql bindings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 17th June 2010, 19:03
nevermindtbc nevermindtbc is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, thanks for the help so far.

I've just tried reinstalling pure-ftpd-mysql, and also checked that mysql is running. Both seem to be fine.

Checking in mysql dbispconfig is present and under ftp_user the user si81 is listed. For some reason pure-ftp doesn't seem to be connecting to mysql, but I have no idea how to fix this.

Sorry to be a pain.


edit: ISPConfig shows mysql as enabled in the monitor tab

Last edited by nevermindtbc; 17th June 2010 at 19:06.
Reply With Quote
  #6  
Old 17th June 2010, 19:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

First, try to run:

rm /etc/pure-ftpd/db/mysql.conf~

and restart pure-ftpd and try to login again. If this does not help, post the output of:

ls -la /etc/pure-ftpd/auth

and the file

/etc/pure-ftpd/db/mysql.conf

(remove the line MYSQLPassword .... before you post the file).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 18th June 2010, 01:33
nevermindtbc nevermindtbc is offline
Junior Member
 
Join Date: Jun 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for all the help.

I managed to accidentally delete mysql.conf so decided to reinstall everything, now ftp seems to be working. I just can't get the default webpage off apache default and point to an ISPConfig defalut page. I'll keep looking into it, I'm sure I'll find the answer some where (damn dyndns!)
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
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
FTP Error joshabts Installation/Configuration 3 4th November 2006 16:19
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 18:43.


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