LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-18-2005, 06:12 AM   #1
rajesh_b
Member
 
Registered: Sep 2004
Location: Hyderabad.
Posts: 83

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


Hi,

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.

thanx,
rajesh.
 
Old 01-18-2005, 11:16 AM   #2
LasseW
Member
 
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.
 
  


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 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


All times are GMT -5. The time now is 02:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration