Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st February 2007, 04:14 AM
oryan_dunn Offline
Registered User
 
Join Date: Nov 2004
Location: Auburn, IN
Posts: 30
vsftpd doesn't work when started automatically, but works started manually

If I have vsftpd started by "services vsftpd start", I am able to ftp to localhost, but no user names or passwords work. If I log in as root and start vsftpd via ./vsftpd from its directory, my usernames and passwords work just fine. In the vsftpd.conf file, I've disabled anonymous users, so only actual usernames and passwords should work. How do I get it to start properly via the automatic method?

Thanks,
Ryan
__________________
Ryan
Reply With Quote
  #2  
Old 1st February 2007, 05:20 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
su -
chkconfig vsftpd on
service vsftpd restart

You have local_enable=YES?

Oh, its not working for me either... Searched in googled, linked to linuxquestion.org.

This works for me, Selinux default doesn't let you use your home account.

From:http://www.linuxquestions.org/questi...d.php?t=432558
************************************************** ************
in fedora core 5 i believe this can be fixed by going to Security Level and Firewall then the SELinux tab. Then click modify SELinux Policy, ftp and make sure "Allow ftp to read/write in the user home directories" is checked.

Or, just use

/usr/sbin/setsebool -P ftp_home_dir 1

That worked for me.
************************************************** ************
Reply With Quote
  #3  
Old 1st February 2007, 05:21 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
I used the Security Level and Firewall part.
Reply With Quote
  #4  
Old 1st February 2007, 01:26 PM
oryan_dunn Offline
Registered User
 
Join Date: Nov 2004
Location: Auburn, IN
Posts: 30
Thanks guys,

I'll try that tonight when I get home.

Yea, I have local_enable = YES. Come to think of it, the error was something along the lines of my home directory, but I didn't think it had to do with something other than vsftpd since it works as a standalone process.

I wonder why it works when I start the program manually, but not when it is started by inetd? Does the SELinux only apply to processes started automatically or through the inetd?
__________________
Ryan

Last edited by oryan_dunn; 1st February 2007 at 01:29 PM.
Reply With Quote
  #5  
Old 1st February 2007, 05:22 PM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Ok, lets go back to the begining. I thought you mentioned vsftpd doesn't start automatically, assumed at bootup.

Anything in "chkconfig xxxx on' triggers to startup at bootup.

chkconfig vsftpd on
Reply With Quote
  #6  
Old 1st February 2007, 10:43 PM
oryan_dunn Offline
Registered User
 
Join Date: Nov 2004
Location: Auburn, IN
Posts: 30
It starts automatically at boot and when usings services vsftpd on, but logins fail.
__________________
Ryan
Reply With Quote
  #7  
Old 1st February 2007, 10:44 PM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Did you:
"going to Security Level and Firewall then the SELinux tab. Then click modify SELinux Policy, ftp and make sure "Allow ftp to read/write in the user home directories" is checked."
Reply With Quote
  #8  
Old 2nd February 2007, 09:41 PM
xerophyte Offline
Registered User
 
Join Date: Jun 2004
Location: Canada
Age: 38
Posts: 12
install pureftp or proftpd better ftp servers
__________________
http://www.linuxnetworkcare.com
Affordable Linux Server Managament Solution
Contact :[ AIM : xerophytev] [ICQ : 172194209][ Phone : 1+877 - 247-7973 ]
Reply With Quote
Reply

Tags
automatically, manually, started, vsftpd, work, works

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
syslogd running but not logging unless started manually cgerdes Using Fedora 4 6th December 2008 06:36 PM
ether-wake works but remote pc is not started marisdembovskis Servers & Networking 0 28th September 2006 08:38 AM
Opera works - err shown started w/ terminal jsabarese Using Fedora 8 6th July 2006 02:24 PM
Preventing yum from, automatically reload repos when started scorpio2002 Using Fedora 3 27th April 2006 11:10 PM


Current GMT-time: 07:59 (Thursday, 23-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