LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Cant log in ftp (https://www.linuxquestions.org/questions/linux-server-73/cant-log-in-ftp-736391/)

Summersex 06-29-2009 08:34 AM

Cant log in ftp
 
I use Proftp what ever user and what ever password I set, I cant log in to my ftp...please anybody help...

here is my configuration file

Code:

ServerType standalone
DefaultServer on
Umask 022
ServerName "0.0.0.0"
ServerIdent on "Elnetsec FTP"
ServerAdmin info@elnetsec.ee
IdentLookups on
UseReverseDNS off
Port 21
PassivePorts 49148 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 220
TransferRate STOR 250
TransferRate STOU 250
TransferRate APPE 250
SystemLog /var/log/secure
RequireValidShell off
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol SSLv23
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
  AllowUser Andry
  DenyALL
</Limit>

<Anonymous /var/ftp>
User Andry
Group ftpuser
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
 AllowAll
</Limit>
<Limit STOR STOU  APPE  RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
 DenyAll
</Limit>
</Anonymous>
<Global>
RootLogin off
AuthAliasOnly on
RequireValidShell on
UseFtpUsers off
</Global>

And my log file

Code:

Jun 29 15:10:45 localhost.localdomain proftpd[2747]: IPv6 getaddrinfo 'localhost.localdomain' error: Name or service not known
Jun 29 15:10:45 localhost.localdomain proftpd[2747] localhost.localdomain: error setting IPV6_V6ONLY: Protocol not available
Jun 29 15:11:31 localhost.localdomain proftpd[4854] localhost.localdomain (::ffff:192.168.1.64[::ffff:192.168.1.64]): error setting IPV6_V6ONLY: Protocol not available
Jun 29 15:11:41 localhost.localdomain proftpd[4854] localhost.localdomain (::ffff:192.168.1.64[::ffff:192.168.1.64]): FTP session opened.
Jun 29 15:11:41 localhost.localdomain proftpd[4854] localhost.localdomain (::ffff:192.168.1.64[::ffff:192.168.1.64]): USER Andry: user is not a UserAlias from ::ffff:192.168.1.64 [::ffff:192.168.1.64] to ::ffff:192.168.1.150:21
Jun 29 15:11:41 localhost.localdomain proftpd[4854] localhost.localdomain (::ffff:192.168.1.64[::ffff:192.168.1.64]): FTP session closed.


Simon Bridge 06-29-2009 08:38 AM

Quote:

error setting IPV6_V6ONLY: Protocol not available
http://ubuntuforums.org/showthread.php?t=281479
... stop using ipv6 in proftp or get localdomain to use ipv6.


All times are GMT -5. The time now is 05:57 PM.