Click to See Complete Forum and Search --> : xinetd confusion


outpost7
07-24-2001, 05:38 PM
I feel monumentally stupid for having to ask this question, but I guess we all have to start somewhere.

I'm trying to configure samba on my Red Hat 7.1 box and in the process am trying to set up SWAT. The instructions that I'm following state that I need to add SWAT to the xinetd.conf file and then restart xinetd. Only problem is that I cannot figure out how to start the durn thing. Every resource I've come across says that there should be a script in /etc/rc.d/init.d that I should be able to run, yet I see no such thing. I have a listing for xinetd in my /usr/sbin directory, but have no idea how to use it whatsoever, all instructions that I come across seem to assume knoweledge that I don't have.

Can anyone help? My forhead is starting to hurt from banging it against the wall.

:confused: Dave :confused:

bdg1983
07-24-2001, 05:45 PM
I'll let you in a little secret. www.google.com/linux (http://www.google.com/linux) and search for 'restart xinetd'.

Here are a couple...
http://linuxline.epfl.ch/Doc/rhl-rg-en-7.1/s1-ssh-requiring.html

Restart xinetd with the command: /etc/rc.d/init.d/xinetd restart.
The command should report ``OK,'' and the restart will be noted in the system message log.

outpost7
07-24-2001, 05:53 PM
That's exactly my problem, though, when I try to run /etc/rc.d/init.d/xinetd restart (or start or stop or anything) it tells me that it's not there and when I do a ls -a on the directory, xinetd is no such file or directory (btw, I've tried with ./ also). I've tried reading a lot of the docs and I just don't get it. They say "restart" and assume that I have this file, yet I can't find it. I tried downloading and installing the newest version of xinetd, hoping that it would replace the file, but sadly it did no such thing.

Hope I'm not being too obtuse...I'm just a dumb windows user who's trying to branch out...

outpost7
07-24-2001, 05:58 PM
That's exactly my problem, though, when I try to run /etc/rc.d/init.d/xinetd restart (or start or stop or anything) it tells me that it's not there and when I do a ls -a on the directory, xinetd is no such file or directory (btw, I've tried with ./ also). I've tried reading a lot of the docs and I just don't get it. They say "restart" and assume that I have this file, yet I can't find it. I tried downloading and installing the newest version of xinetd, hoping that it would replace the file, but sadly it did no such thing.

Hope I'm not being too obtuse...I'm just a dumb windows user who's trying to branch out...

outpost7
07-24-2001, 06:05 PM
sorry about that, the dumb middle mouse button doesn't do the same thing in KDE that it does in windows :(

FYI, I tried to use

/sbin/service xinetd restart

and it told me that no such service exists. sheesh...

bdg1983
07-24-2001, 06:16 PM
You are trying logged on as root or su root?

There's always rebooting though a last resort.

outpost7
07-24-2001, 06:19 PM
oh yes, tried both of those...

jim beam
07-24-2001, 10:42 PM
try /etc/init.d/xinetd restart

outpost7
07-25-2001, 11:43 AM
Nope, "No such file or directory"