Ftp problem Vm problem

Discussion in 'General' started by toux, Feb 9, 2011.

  1. toux

    toux New Member

    I can't access trougth ftp to my accounts, all run perfectly, I use Debian Minimal Lenny in a VM vps. I read in the forum, other similar problems with FTP but I can't resolve it.

    FTP says: "ECONNREFUSED - Connection refused by server"

    I try to restart the ftp server and says:

    root@cdn2:/tmp# /etc/init.d/pure-ftpd-mysql restart
    Restarting ftp server: perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "es_ES.utf8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/auth/../conf/PureDB: "/etc/pure-ftpd/pureftpd.pdb": No such file
    root@cdn2:/tmp#

    ///////////////////////////////////////////////

    root@cdn2:/tmp# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:ssh *:* LISTEN 17488/sshd
    tcp 0 0 *:smtp *:* LISTEN 19506/master
    tcp 0 0 *:https *:* LISTEN 19579/apache2
    tcp 0 0 localhost.localdoma:637 *:* LISTEN 19541/famd
    tcp 0 0 localhost.localdo:10024 *:* LISTEN 17566/amavisd (mast
    tcp 0 0 localhost.localdo:10025 *:* LISTEN 19506/master
    tcp 0 0 localhost.localdo:mysql *:* LISTEN 17630/mysqld
    tcp 0 0 localhost.localdo:spamd *:* LISTEN 17698/spamd.pid
    tcp 0 0 *:sunrpc *:* LISTEN 16335/portmap
    tcp 0 0 *:http-alt *:* LISTEN 19579/apache2
    tcp 0 0 *:www *:* LISTEN 19579/apache2
    tcp 0 0 *:tproxy *:* LISTEN 19579/apache2
    tcp 0 0 cdn2.dtrnetwork.com:ssh cliente-24117.ibe:23425 ESTABLISHED 22042/sshd: root@no
    tcp 0 240 cdn2.dtrnetwork.com:ssh cliente-24117.ibe:22868 ESTABLISHED 19841/0
    tcp6 0 0 [::]:ssh [::]:* LISTEN 17488/sshd
    tcp6 0 0 [::]:imaps [::]:* LISTEN 18389/couriertcpd
    tcp6 0 0 [::]:pop3s [::]:* LISTEN 18409/couriertcpd
    tcp6 0 0 [::]:pop3 [::]:* LISTEN 18396/couriertcpd
    tcp6 0 0 [::]:imap2 [::]:* LISTEN 18377/couriertcpd
    /////////////////////////////////////////////

    root@cdn2:/tmp# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    FATAL: Could not load /lib/modules/2.6.18-194.26.1.el5.028stab079.2/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/2.6.18-194.26.1.el5.028stab079.2/modules.dep: No such file or directory
    fail2ban-ssh tcp -- anywhere anywhere multiport dports 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
    root@cdn2:/tmp#


    Thank you very much to all

    Toux
     
    Last edited: Feb 10, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if your pure-ftpd server is configured to use pureDB authentication instead of mysql. PureDB is not used by ispconfig, please remove the PureDB autentication in /etc/pure-ftpd/auth/../conf/PureDB and restart pure-ftpd.
     

Share This Page