Proftpd config problem in Fedora 11 ( 64Bit )

Rick Stevens ricks at nerd.com
Wed Mar 10 17:44:27 UTC 2010


On 03/10/2010 07:07 AM, Edward. S. P. Leong wrote:
> Dear All,
>
> Mine is Fedora 11 ( without enable firewall and selinux )....
> After install proftp as ftp server, there is error message during upload
> file/data to the ftp server as the following :
>
> [root@]# rpm -qa | grep "proftpd"
> proftpd-1.3.2d-1.fc11.x86_64
>
> for /etc/proftpd.conf :
> ServerType inetd
> DefaultServer on
> UseReverseDNS off
> IdentLookups off
> Port 21
> Umask 022
> MaxInstances 30
> MaxClients 50
> User nobody
> Group nobody
> TimeoutIdle 1800
> TimeoutStalled 1800
> TimeoutNoTransfer 1800
> TimeoutLogin 1800
> TimesGMT off
>
> AllowRetrieveRestart on
> AllowOverwrite on
> AllowStoreRestart on
>
> ServerIdent On "FTP Server"
>
> for /etc/xinetd.d/proftpd :
> service ftp
> {
> socket_type = stream
> wait = no
> user = root
> server = /usr/sbin/in.proftpd
> # log_on_success += DURATION USERID
> # log_on_failure += USERID
> log_on_success = EXIT DURATION
> log_on_failure = ATTEMPT
> nice = 10
> disable = no
> }
>
> error :
> STOR MySQL-client-5.1.44-1.glibc23.x86_64.rpm
> 150 Opening BINARY mode data connection for
> MySQL-client-5.1.44-1.glibc23.x86_64.rpm
> Transmitted 7359458 bytes in 155.5 secs, (464.13 Kbps), transfer succeeded
> ! Receive error: Blocking call cancelled

The STOR command is the FTP command lingo for "put".  When the client
does a "put", it sends the server a "STOR" command.  It looks like the
transfer occurred, but the destination directory wasn't writable by
the FTP server.  Double check the permissions on the destination 
directory and make sure user "nobody" can write to it, since that's
who you've told ProFTPD to run as.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
- Millihelen, adj: The amount of beauty required to launch one ship. -
----------------------------------------------------------------------


More information about the users mailing list