PDA

View Full Version : FTP Issues on ISPConfig v3.0.0.9 (RC2)


rvelton
23rd February 2009, 22:30
I was using 3.0.0.8 before and ran the upgrade script. Everything seemed to work fine except for the FTP logins.

Command: PASS **********
Response: 530 Login authentication failed

Please let me know what information need from me and I will post that right away.

Thanks.

till
23rd February 2009, 23:03
Take a look ath the logfiles for a more detailed error message.

rvelton
23rd February 2009, 23:09
The weird part is after the upgrade nothing appears to be writing to the log.
/var/log/pureftpd.log

Unless I am looking in the wrong place. I have not customized any of the installation so everything should be defualts for paths and what not.

Could there be another log file I should look at?

Thanks for the reply.

rvelton
24th February 2009, 01:23
Okay I have some more information:

Feb 23 17:10:21 pure-ftpd: (?@70.183.19.205) [INFO] New connection from 70.183.19.205
Feb 23 17:10:21 pure-ftpd: (?@70.183.19.205) [ERROR] The SQL server seems to be down [Can't connect to MySQL server on '127.0.0.1' (111)]
Feb 23 17:10:21 pure-ftpd: (?@70.183.19.205) [WARNING] Authentication failed for user [USERNAME]
Feb 23 17:10:25 pure-ftpd: (?@70.183.19.205) [INFO] Logout.

Looks like pure-ftpd is having a hard time connection to MySQL. hmmm...

And found this when I try to startup pure-ftp:

Feb 23 17:12:14 pure-ftpd: (?@?) [ERROR] Unable to find the 'ftp' account

bl4ckb1rd
24th February 2009, 02:55
In ISPconfig 3 everything is virtualized in mysql, which means, if mysql isn't working, your whole server isn't working :) So start up the mysql and retry.

rvelton
24th February 2009, 03:07
Unforetunately, I wish it were that easy. MySQL is functioning/interacting fine wth ISPConfig, but for some reason the interaction between PureFTP is a no go. :(

Come on magic solution! COME TO ME! :)

bl4ckb1rd
24th February 2009, 03:15
pure-ftpd: (?@70.183.19.205) [ERROR] The SQL server seems to be down [Can't connect to MySQL server on '127.0.0.1' (111)]

Check what ip MySQL is listening on, and if it isn't localhost aka 127.0.0.1, then change in pure-ftpd.conf to ip that it's correct.

rvelton
24th February 2009, 03:21
Yes my MySQL server is listening to localhost(127.0.0.1)

I am starting to think it has more to do with the startup of pure-ftp.

Feb 23 17:12:14 pure-ftpd: (?@?) [ERROR] Unable to find the 'ftp' account

Been reading around and finding information about the '-s' command but have no luck with that issue. I know it has to be something small, it always is lol.

till
24th February 2009, 10:50
Which linux distribution do you use?

ignasigarcia
24th February 2009, 11:34
I'm also having similar problems with pure-ftpd after doing an upgrade from 3.0.0.8 ro 3.0.0.9 under ubuntu 8.10

If I ftp using the linux system's account I have no problem. I I ftp using a ispconfig user account then I get this message:

Name (192.168.2.177:ignasi):
331 User ignasi OK. Password required
Password:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: No such file or directory
ftp>


Any ideas?

till
24th February 2009, 11:39
Please post the output of:

netstat -tap

ignasigarcia
24th February 2009, 12:12
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 5066/dovecot
tcp 0 0 *:pop3s *:* LISTEN 5066/dovecot
tcp 0 0 localhost:10024 *:* LISTEN 4587/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 4977/master
tcp 0 0 localhost:mysql *:* LISTEN 4661/mysqld
tcp 0 0 *:pop3 *:* LISTEN 5066/dovecot
tcp 0 0 *:imap2 *:* LISTEN 5066/dovecot
tcp 0 0 localhost:spamd *:* LISTEN 4760/spamd.pid
tcp 0 0 *:webcache *:* LISTEN 5122/apache2
tcp 0 0 *:www *:* LISTEN 5122/apache2
tcp 0 0 *:ftp *:* LISTEN 4990/pure-ftpd (SER
tcp 0 0 192.168.2.177:domain *:* LISTEN 4527/named
tcp 0 0 localhost:domain *:* LISTEN 4527/named
tcp 0 0 localhost:postgresql *:* LISTEN 4739/postgres
tcp 0 0 *:smtp *:* LISTEN 4977/master
tcp 0 0 localhost:953 *:* LISTEN 4527/named
tcp 0 0 localhost:6010 *:* LISTEN 5278/0
tcp 0 0 *:https *:* LISTEN 5122/apache2
tcp 0 0 192.168.2.177:www 192.168.169.4:3816 ESTABLISHED 5146/apache2
tcp 0 0 192.168.2.177:webcache 192.168.169.225:44398 TIME_WAIT -
tcp 0 0 192.168.2.177:www 192.168.169.225:33268 ESTABLISHED 5149/apache2
tcp 0 0 192.168.2.177:www 192.168.169.225:33267 ESTABLISHED 5149/apache2
tcp 0 0 192.168.2.177:www 192.168.169.225:33265 TIME_WAIT -
tcp 0 0 192.168.2.177:imap2 192.168.169.225:33087 ESTABLISHED 5349/imap
tcp6 0 0 [::]:ftp [::]:* LISTEN 4990/pure-ftpd (SER
tcp6 0 0 [::]:domain [::]:* LISTEN 4527/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 4550/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 4527/named
tcp6 0 0 ip6-localhost:6010 [::]:* LISTEN 5278/0
tcp6 0 0 192.168.2.177%20432:ssh 192.168.2.1%20432:53806 ESTABLISHED 5276/sshd: adminisp

wincrash32
24th February 2009, 20:52
I have the same problem. I am on CentOS 5.2

I have created in the past a user called darkii, afterwards, I created other user called darkangelus with other directory but this user can't log in. Why?

till
24th February 2009, 20:59
As usual, take a look in the log files.

wincrash32
24th February 2009, 21:09
pureftpd.log is empty

ignasigarcia
24th February 2009, 21:44
Well, I deleted the ftp user and created it again and now it works. Go figure... maybe I deserve it for using release candidates :)