Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-18-2005, 06:12 AM   #1
Registered: Sep 2004
Location: Hyderabad.
Posts: 83

Rep: Reputation: 15
Moving vsftpd from xinetd to /etc/rc.d/init.d


I have installed vsftpd server on my redhat 9.0.. Xinetd is taking control of the vsftpd server. i want to move the vsftpd from xinetd control to the /etc/rc.d/init.d so that it can be started at the boot time . Because this would allow me to start and stop the vsftpd service using "service vsttpd start/stop". But if it is under control of the xinetd i have to start/stop and xinetd when ever i want stop the vsftpd server. i know that i can disable vsftpd sever by setting disable=yes in vsftpd service file, but i want to move the vsftpd from xinetd control. so that it can be started at boot time. Any ideas will be helpful for me.

Old 01-18-2005, 11:16 AM   #2
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
I have no experience with vsftpd but the reason ftp daemons are usually run from (x) inetd is that you would normally allow several simultaneous ftp connections. So there must be a separate listener process that launches one daemon for each connection.

One solution is to write a simple script with a start and a stop branch. Use sed to modify the disable line in the configuration script, then run xinetd reload. This way you're not stopping the xinetd service, just forcing it to reload the configuration.


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 and xinetd problem zsoltrenyi Linux - Software 5 09-01-2004 02:48 AM
Xinetd not starting vsftpd? simonmccourt Linux - Networking 0 02-22-2004 08:08 AM
VSFTPD problems with xinetd paintcheck200 Linux - Networking 6 09-11-2003 12:39 PM
Cannot get vsftpd and xinetd to play together SForsgren Linux - General 6 05-02-2003 01:08 AM
Xinetd to run vsftpd? tharris Linux - Newbie 3 01-30-2003 01:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 PM.

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