Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd FTP server connection problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Sun Jun 20, 2004 7:36 pm    Post subject: vsftpd FTP server connection problem Reply with quote

If, like me you suddenly find that your vsftpd FTP server can no longer be reached after some
Code:
emerge -u world
it may well be that this problem can easily be solved. Note: this tip applies to starting up vsftpd from xinetd only!

For some reason the default for vsftpd's configuration file is set to the brandnew IPv6 standard. If, like 99% of the world, you use IPv4, vsfptd refuses to build the socket. Fortunately, the solution is very simple. In the file /etc/xinetd.d/vsftpd you must change a line. The default contents of this file are commented out and replaced as follows:
Code:
# default: off
# description: Vsftpd is an FTP server, designed to be secure.
# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.xinetd.ipv6,v 1.1 2003/04/06 20:22:00 gmsoft Exp $
 
service ftp
{
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/vsftpd
        server_args     = /etc/vsftpd/vsftpd.conf
        log_on_success  += DURATION USERID
        log_on_failure  += USERID
        nice            = 10
        disable         = no
#       disable         = yes
        flags           = IPv4
#       flags           = IPv6
}
The first commented line is self-explanatory and has nothing to do with this tip. The second commented line specifies the default socket to be an IPv6 service, if available. However, on my system I only use IPv4.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum