Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd January 2011, 23:05
IceVilli IceVilli is offline
Junior Member
 
Join Date: Jan 2011
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default pure-ftpd 530 Login authentication failed

I just installed ISPConfig "Version: 3.0.3.1" on a physical server following the guide "The Perfect Server - Fedora 14 x86_64 [ISPConfig 3]"

I can login to pure-ftp as a shell user without a problem but when trying to login as a virtual user I get:

Status: Connecting to 192.168.1.42:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 55 allowed.
Response: 220-Local time is now 21:17. 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: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER iceheliiceheli
Status: TLS/SSL connection established.
Response: 331 User iceheliiceheli OK. Password required
Command: PASS *******
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server

netstat -tap

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imap *:* LISTEN 1776/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1382/rpcbind
tcp 0 0 *:49107 *:* LISTEN 1402/rpc.statd
tcp 0 0 *:ftp *:* LISTEN 1868/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 1610/sshd
tcp 0 0 *:imaps *:* LISTEN 1776/dovecot
tcp 0 0 *:pop3s *:* LISTEN 1776/dovecot
tcp 0 0 *:mysql *:* LISTEN 1749/mysqld
tcp 0 0 *:pop3 *:* LISTEN 1776/dovecot
tcp 0 0 192.168.1.42:ssh 192.168.1.2:51336 ESTABLISHED 2218/0
tcp 0 0 *:imap *:* LISTEN 1776/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1382/rpcbind
tcp 0 0 *:webcache *:* LISTEN 1854/httpd
tcp 0 0 *:http *:* LISTEN 1854/httpd
tcp 0 0 *:tproxy *:* LISTEN 1854/httpd
tcp 0 0 *:ftp *:* LISTEN 1868/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 1610/sshd
tcp 0 0 *:https *:* LISTEN 1854/httpd
tcp 0 0 *:imaps *:* LISTEN 1776/dovecot
tcp 0 0 *:pop3s *:* LISTEN 1776/dovecot
tcp 0 0 *:37227 *:* LISTEN 1402/rpc.statd
tcp 0 0 *:pop3 *:* LISTEN 1776/dovecot

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-SSH tcp -- anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-SSH (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

This is a record from the table ftp_user in the databse
ftp_user_id 1
sys_userid 1
sys_groupid 5
sys_perm_user riud
sys_perm_group riud
sys_perm_other
server_id 0
parent_domain_id 1
username iceheliiceheli
password $1$31iKPRuW$GON5nAOboTZ0wCe2BHPr3/
quota_size -1
active y
uid web1
gid client4
dir /var/www/
quota_files -1
ul_ratio -1
dl_ratio -1
ul_bandwidth -1
dl_bandwidth -1


/var/log/messages
Jan 3 21:03:59 Voyager pure-ftpd: (?@192.168.1.2) [INFO] Logout.
Jan 3 21:04:44 Voyager pure-ftpd: (?@192.168.1.2) [INFO] New connection from 192.168.1.2
Jan 3 21:04:44 Voyager pure-ftpd: (?@192.168.1.2) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with DHE-RSA-AES256-SHA, 256 secret bits cipher
Jan 3 21:04:48 Voyager pure-ftpd: (?@192.168.1.2) [WARNING] Authentication failed for user [iceheliiceheli]
Jan 3 21:04:48 Voyager pure-ftpd: (?@192.168.1.2) [INFO] Logout.
Reply With Quote
Sponsored Links
  #2  
Old 4th January 2011, 12:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,373
Thanks: 833
Thanked 5,478 Times in 4,313 Posts
Default

Please enable debugging in pure-ftpd, to get a more detailed log output in the messages log. Then you should try to authenticate without ls to see if it is a problem of the tls encryption or not.

That you can connect with a shell user but not with a ftp user might be a indication that the pure-ftpd binary that you installed has no mysql support included.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
IceVilli (4th January 2011)
  #3  
Old 4th January 2011, 17:04
IceVilli IceVilli is offline
Junior Member
 
Join Date: Jan 2011
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please enable debugging in pure-ftpd, to get a more detailed log output in the messages log. Then you should try to authenticate without ls to see if it is a problem of the tls encryption or not.

That you can connect with a shell user but not with a ftp user might be a indication that the pure-ftpd binary that you installed has no mysql support included.
How do I enable debugging in pure-ftpd on Fedora14?
Reply With Quote
  #4  
Old 4th January 2011, 22:57
IceVilli IceVilli is offline
Junior Member
 
Join Date: Jan 2011
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default

It's ok now!
I reinstalled the whole thing and it's working now.
Thanks!
Reply With Quote
  #5  
Old 24th January 2012, 03:20
MrPK MrPK is offline
Junior Member
 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

What did you reinstall exactly ?

I have same problem. On my server I have also SSL cert installed. And I'm not experienced user. Thanks
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
Failed during pvmove, howto: set up software raid 1 on running LVM system sbh77 HOWTO-Related Questions 2 8th October 2010 00:11
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 12:35.


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