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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
04-21-2006, 02:48 PM
|
#1
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Rep:
|
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
|
|
|
|
04-21-2006, 02:53 PM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
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?
|
|
|
|
04-21-2006, 02:55 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2006
Posts: 5
Rep:
|
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.
|
|
|
|
04-21-2006, 02:59 PM
|
#4
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Original Poster
Rep:
|
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
|
|
|
|
04-21-2006, 03:04 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2006
Posts: 5
Rep:
|
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
|
|
|
|
04-21-2006, 03:04 PM
|
#6
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Original Poster
Rep:
|
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
|
|
|
|
04-21-2006, 03:08 PM
|
#7
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Original Poster
Rep:
|
rpm -q vsftpd
vsftd-2.0.4-1
chkconfig --list | grep vsftpd
vsftpd: on
|
|
|
|
04-21-2006, 03:13 PM
|
#8
|
|
LQ Newbie
Registered: Apr 2006
Posts: 5
Rep:
|
so what happens when you type "service vsftpd restart"? I gave you the incoorect command before, sorry.
|
|
|
|
04-21-2006, 03:16 PM
|
#9
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202
Original Poster
Rep:
|
service vsftpd restart
vsftpd: unrecognized service
|
|
|
|
04-21-2006, 03:25 PM
|
#10
|
|
LQ Newbie
Registered: Apr 2006
Posts: 5
Rep:
|
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".
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|