LinuxQuestions.org
Help answer threads with 0 replies.
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, 04:20 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
xinetd control all the servers


I just need a clearfication
Dose xinetd control all the servers running on the machine for example vsftpd, httpd, etc so if i stop xinetd, /etc/rc.d/init.d/xinetd stop, it will stop all the server it controls.
My question is what if i only want to stop ftp server but leave httpd up and running what would i do? or how to do that?
 
Old 04-21-2006, 05:00 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have a look in /etc/xinetd.conf and the files in /etc/xinetd.d/* to see what is controlled by xinetd. It's likely that your ftp server is controlled by xinetd but your http server isn't. Checking those files will confirm this.

If your http server was controlled by xinetd, you could modify /etc/xinetd.d/httpd (I'm not sure that's the correct name) and set disable to yes, then restart xinetd.
 
Old 04-21-2006, 09:29 PM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Steve thx for your response
i have one more comment on what you told me to do i checked my /etc/xinetd and beside vsftpd it also include number of other services that it xinetd control like "time, daytime, klogin and punch of the services" so again my question is if i want to stop my vsftpd does that means i have to stop everything esle under /etc/xinetd? is this is the right way to stop do it? i remmeber in FC4 there was a seprate service for each server running on the server that you contral by using "service vsftpd stop" or "start" can i still do that in FC5? what is the signifficant of using xinetd or not?

I am sorry for the long comment question thing but i just want to know what i am doing and if i am doing it tyhe right way


Thanks
 
Old 04-22-2006, 11:01 AM   #4
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
Xinetd is really about adding additional security & logging properties etc. to services. As usual, if you do not need it, there is really no reason to use it.

You can add an option "disabled = yes" in xinetd.conf or e.g. /etc/xinetd.d/cups-lpd to disable a service controlled by xinetd. Xinetd does not start nor stop services per se. Note that the directory /etc/xinetd.d/ is just a "symlink" read by xinetd.conf, i.e. you can put everything within that directory directly to xinetd.conf, if you want.

Man xinetd.conf gives rather detailed instructions to configure different options.
 
Old 04-22-2006, 03:31 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
As mentioned above, you can set disable to yes for ftp and restart xinetd. Doing this will stop ftp but it doesn't affect anything else under xinetd except during the restart. vsftpd doesn't have to be run out of xinetd and the man page for vsftpd on my system recommends running it stand-alone. You need to modify the vsftpd.conf file to make sure that listen=no isn't included (listen=yes is the default on my system).

IIRC, on FC4 the default location for vsftpd.conf file was under /etc/vsftpd/vsftpd.conf when run out of xinetd and under /etc/vsftpd.conf when run stand-alone. However you can symlink from one location to the other or use command line options to change where vsftpd looks for the file.
 
  


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
Writing UDP servers with Xinetd kidskc Programming 1 11-15-2005 06:41 PM
xinetd & ftp servers dominant Linux - Software 0 01-11-2005 04:23 AM
Can't find the "servers" option in the control center in Mandrake 10.0 Ggrot Mandriva 2 05-28-2004 10:22 AM
Xinetd dead --xinetd dead but pid file exists hillxy Linux - General 1 04-15-2004 03:10 PM
Can't launch redhat-network-control after updating gnome-control-center fedetxf Red Hat 0 12-12-2003 08:12 AM

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

All times are GMT -5. The time now is 09:00 PM.

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