LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-09-2014, 05:45 PM   #1
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Rep: Reputation: 24
Question Unable to connect to pure-ftpd (mysql)


Hi,

2months ago, I've installed pure-ftpd with users in mysqlDB. All was working fine. Unfortunately when I tried to login today, I was unable to do that.

System: Debian 7 wheezy up2date
Pure-FTPD: 1.0.36-1.1
MySQL: 5.5.40-0
OpenSSL: 1.0.1e-2

1. When I tried to login using filezilla, I get information after entering credentials:
Code:
Response:	331 User MY_USER OK. Password required
Command:	PASS **********
Response:	530 Login authentication failed
Error:   	Critical error: Could not connect to server
PureFTP logs said (with debug mode on):
Code:
Dec 10 00:35:45 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [INFO] New connection from ppp-46-210-101-69.dynamic.mnet-online.de
Dec 10 00:35:45 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [DEBUG] Command [auth] [TLS]
Dec 10 00:35:46 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with AES256-GCM-SHA384, 256 secret bits cipher
Dec 10 00:35:46 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [DEBUG] Command [user] [MY_USER]
Dec 10 00:35:46 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [DEBUG] Command [pass] [<*>]
Dec 10 00:35:49 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [WARNING] Authentication failed for user [MY_USER]
Dec 10 00:35:49 bdc pure-ftpd: (?@ppp-46-210-101-69.dynamic.mnet-online.de) [INFO] Logout.
2. I am using correct configuration in filezilla (explict FTP over TLS)
3. Username,password,Host stored in /etc/pure-ftpd/db/mysql.conf are ok, as I am able to open DB. I am also able to run this query which I have set in this file under: MYSQLGetPW.
4. This is not FW issue as it's disabled
5. All users are stored in mySQL DB and they have their folders in local filesystem.
6. I do not touch this configuration from 2months.

Any idea what can be the reason? And how to investigate more? Debug mode is not very helpfull as you see..


UPDATE:
After removing users from DB and adding them again, is starts working.

Last edited by grzeslaw; 12-11-2014 at 04:07 AM. Reason: Solved
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to ftp server(pure-ftpd) with ssl/tls enabled rtz Linux - Networking 2 11-24-2014 03:21 PM
pure-ftpd-mysql activates pure-ftpd zvikamer Linux - Software 2 03-01-2008 12:11 PM
Pure-FTPD( Unable to connect) fritz001 Slackware 5 01-27-2005 06:36 PM
Pure-ftpd-mysql + Sarge nestor10 Linux - Software 1 01-26-2005 08:06 AM
pure-ftpd and mysql dominant Linux - General 1 01-11-2005 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration