LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2011, 09:33 PM   #1
MsFinni
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Rep: Reputation: Disabled
vsftpd issue


I installed vsftpd using yum command. Trying to test the connection by typing this at the command line: vsftpd localhost

I get the error : 500 OOPS: cannot read config file: localhost


This driving me crazy; PLEASE help
 
Old 09-29-2011, 10:07 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
You are not invoking the program correctly.


Code:
VSFTPD(8)                 BSD System Manager's Manual                VSFTPD(8)

NAME
     vsftpd -- Very Secure FTP Daemon

SYNOPSIS
     vsftpd [configuration file and / or options]

DESCRIPTION
     vsftpd is the Very Secure File Transfer Protocol Daemon. The server can
     be launched via a ``super-server'' such as inetd(8) or xinetd(8).  Alter-
     natively, vsftpd can be launched in standalone mode, in which case vsftpd
     itself will listen on the network. This latter mode is easier to use, and
     recommended. It is activated by setting listen=YES in /etc/vsftpd.conf.
     Direct execution of the vsftpd binary will then launch the FTP service
     ready for immediate client connections.

OPTIONS
     An optional configuration file or files may be given on the command line.
     These files must be owned as root if running as root. Any command line
     option not starting with a "-" character is treated as a config file that
     will be loaded. Note that config files are loaded in the strict order
     that they are encountered on the command line.  If no config files are
     specified, the default configuration file of /etc/vsftpd.conf will be
     loaded, after all other command line options are processed.

     Supported options are:

     -v      Print the version information and exit, even if other options are
             encountered.

     -ooption=value
             Set a single option, value pair as per the format in the config
             file. Multiple -o options are supported, and they are applied in
             strict order relative to their appearance on the command line,
             including intermingling with loading of config files.
EXAMPLES
     vsftpd -olisten=NO /etc/vsftpd.conf -oftpd_banner=blah

     That example overrides vsftpd's built-in default for the "listen" option
     to be NO, but then loads /etc/vsftpd.conf which may override that set-
     ting. Finally, the "ftpd_banner" setting is set to "blah", which over-
     rides any default vsftpd setting and any identical setting that was in
     the config file.

FILES
     /etc/vsftpd.conf

SEE ALSO
     vsftpd.conf(5)

                                 March 8, 2001
 
Old 09-29-2011, 10:16 PM   #3
MsFinni
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
ftp server config

I followed the instructions step by step for Red Hat/ CentOS vsftpd ftp server configuration


which follows up with the following after the config:

How to start FTP in Redhat 9.0

Redhat 9 comes with the ftp server vsftpd. This is installed by default, but does not run at boot up.

To run vsftpd type: /etc/init.d/vsftpd start

Login to test it by typing ftp localhost at the prompt, and if you get the following, vsftpd is running.

This is where I get the error
 
Old 09-29-2011, 10:38 PM   #4
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Rep: Reputation: 20
vsftpd is the SERVER. to connect to it, you need a CLIENT. that's ftp or lftp program.

use yum install lftp
and then run lftp localhost to connect to your vsftpd SERVER
 
1 members found this post helpful.
Old 09-29-2011, 10:54 PM   #5
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by MsFinni View Post

Login to test it by typing
Code:
ftp localhost
at the prompt, and if you get the following, vsftpd is running.

This is where I get the error
Yet, in your first post that is not what you said you did.

Quote:
Originally Posted by MsFinni View Post
Trying to test the connection by typing this at the command line:
Code:
vsftpd localhost
I get the error :
Code:
500 OOPS: cannot read config file: localhost
 
Old 09-29-2011, 10:58 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005
Hello,

To the OP - How did you configure vsftpd? Can you post the contents of your /etc/vsftpd.conf file for us?

Cheers,

Josh
 
Old 09-30-2011, 11:35 AM   #7
MsFinni
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Think it's working

I followed Chenchu's post and installed lftp and was able to connect so I think it's working now - thanks a million!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with vsftpd a4kata Linux - Newbie 3 09-21-2009 04:35 AM
vsftpd issue da1 *BSD 12 10-03-2007 04:43 PM
vsftpd hiding issue GaTe_KeePeR Linux - Server 1 09-08-2007 07:27 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 08:24 PM
VSFTPd 2.0.3 issue ksn_m Linux - Networking 0 12-13-2005 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration