LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-21-2006, 02:48 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
vsftpd won't read vsftpd.conf


I changed my vsftpd.conf to see if I stop and restart my xinetd that vsftpd would pick up the changes but it didn't.

I have set anonymous_enable=NO
and then /etc/re.d/init.d/xinetd restart

but the ftp didn't pick up the change and i was still able to log in as anonymous.

I am assuming xinetd is not where i am suppose to restart the server to re-read the conf file?

Thanks for you help
 
Old 04-21-2006, 02:53 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
I am assuming xinetd is not where i am suppose to restart the server to re-read the conf file?
Not if vsftpd is running in standalone mode.

Is there a script for vsftpd in /etc/rc.d/init.d?
 
Old 04-21-2006, 02:55 PM   #3
jhod22
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
what linux distro are you using? You are best off running vsftpd as a stnadalone server, rather than through xinetd. If you are using Red Hat linux issue the following commands
"chkconfig --level 35 vsftpd on" and then "restart vsftpd". If your /etc/vsftpd/vsftpd.conf is configured correctly you should be ok.
 
Old 04-21-2006, 02:59 PM   #4
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
No, its not running in standalone mode and No, there isn't a script for vsftpd in /etc/rc.d/init.d - how do i create the script? if this what u think is causing the issue
 
Old 04-21-2006, 03:04 PM   #5
jhod22
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
Do a few things:

1) "rpm -qa | grep vsftpd" this confirms if the vsftpd rpm is installed.

2) "chkconfig --list | grep vsftpd"

Let me know the result of the following commands
 
Old 04-21-2006, 03:04 PM   #6
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by m2azer
No, its not running in standalone mode and No, there isn't a script for vsftpd in /etc/rc.d/init.d - how do i create the script? if this what u think is causing the issue
I am using FC5 and vsftpd 2.0.4 installed it from the source code
 
Old 04-21-2006, 03:08 PM   #7
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
rpm -q vsftpd
vsftd-2.0.4-1

chkconfig --list | grep vsftpd
vsftpd: on
 
Old 04-21-2006, 03:13 PM   #8
jhod22
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
so what happens when you type "service vsftpd restart"? I gave you the incoorect command before, sorry.
 
Old 04-21-2006, 03:16 PM   #9
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
service vsftpd restart
vsftpd: unrecognized service
 
Old 04-21-2006, 03:25 PM   #10
jhod22
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
make sure you can restart another service, ie "service nfs restart" or "service sendmail restart". These are just a couple of examples, you can try any service. If these commands work ok, I would suggest you reinstall the vsftpd rpm, with the following commands
1 "rpm -e <vsftpd pacgage name>" you obtained this before by doing rpm -qa | grep vsftpd. This uninstalls vsftpd
2 "redhat-config-packages" and as long as you have the red hat cds to hand you can choose to reinstall the vsftpd rpm. If using fedora type "system-config-packages".
 
  


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
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
VSFTPD.conf Malkaven Linux - Networking 7 03-09-2006 02:01 AM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM

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

All times are GMT -5. The time now is 06:11 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