Fedora Linux Support Community & Resources Center
  #1  
Old 2nd March 2006, 03:54 PM
AlphaTwin's Avatar
AlphaTwin Offline
Registered User
 
Join Date: Aug 2005
Location: Sioux City, IA, USA
Posts: 252
VSFTPD Can't connect

Hello All,

I have a strange problem, when I try to login to my ftp with an account I just created it get the following error:
Code:
Connected to 172.17.137.11.
220 Welcome to Sioux City Truck Sales, Inc. FTP Server !!!
User (172.17.137.11:(none)): ftpguest
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/mnt/ftp
500 OOPS: child died
Connection closed by remote host.
Now this only happens with my ftpguest account. I can login just fine with my proxy account. The only thing different about them is the name, password and home dir.

Any Ideas?
Thanks
Eric
Reply With Quote
  #2  
Old 2nd March 2006, 04:02 PM
Chosen Reject Offline
Registered User
 
Join Date: Jun 2005
Posts: 94
What are the contents of vsftpd.conf?
Reply With Quote
  #3  
Old 2nd March 2006, 05:40 PM
AlphaTwin's Avatar
AlphaTwin Offline
Registered User
 
Join Date: Aug 2005
Location: Sioux City, IA, USA
Posts: 252
It looks like it just my /mnt dir. I can do other folders. I chmod -Rv 777 /mnt and it still won't let me do anything in the mnt dir.

Here's my conf file.

Code:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
chown_uploads=YES
chown_username=ftpguest
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
ascii_upload_enable=YES
ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to Sioux City Truck Sales, Inc. FTP Server !!!
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#chroot_local_user=no
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES

pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES

passwd_chroot_enable=yes
Thanks
Eric
Reply With Quote
  #4  
Old 2nd March 2006, 05:51 PM
AlphaTwin's Avatar
AlphaTwin Offline
Registered User
 
Join Date: Aug 2005
Location: Sioux City, IA, USA
Posts: 252
Ok... I see what it's doing. The ftp folder is actually a smbfs mount point. It looks like vsftp doesn't like it.

Is there a way to make vsftp see a smbfs mounted dir?

Thanks
Eric
Reply With Quote
Reply

Tags
connect, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can connect to vsftpd server Keldorn Servers & Networking 2 1st June 2008 01:07 PM
Unable to connect to vsftpd?? subarusvx Servers & Networking 16 2nd October 2007 10:35 PM
vsftpd server connect is ok, uploading fails RSD Installation and Live Media 1 22nd August 2006 09:16 PM
how to set /etc/vsftpd/vsftpd.conf talkstock888 Servers & Networking 4 15th March 2005 10:04 PM


Current GMT-time: 09:47 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat