LinuxQuestions.org
Register a domain and help support LQ
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 02-27-2003, 02:00 PM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Angry inetd.conf yet again


Ok I know this has been posted how many times here, but I still don't quite get it.

I am trying to install qmail and all is working except one of the instructions says to put a line in my inetd.conf file, and of course I don't have one, (redhat 7.2) everything I read says I can put it in my xinetd.conf, but once again I don't have one, in my /etc I have both a inet.d directory with a bunch of scripts that run at startup and a xinetd.d directory with nothing in it.

Can I put another file in my inet.d directory with the command I need?

This is the line that I need to put somewhere:
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

Thank you for explaining to this confused linux user who just wants to understand.
 
Old 02-27-2003, 02:09 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi Marcus ...

An empty xinet.d directory in RH is odd, as
is a non-empty inet.d ... I believe your
installation is effed-up :}

Check you installed packages, uninstall
inetd, re-install xinetd - in my opinion the
only way to go since RH's configuration
tools for networking are targeted at xinetd.

My two cents on that topic :)

Cheers,
Tink

P.S.: Haven't read your other threads :}
on this topic, I usually don't mess with RH users,
been to long that I touched it last...
 
Old 02-27-2003, 02:16 PM   #3
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
This is a fresh install of redhat 7.2, I did the very base install and have built it from there. I will check to see if there is an xinetd rpm to install, if anyone else has a suggestion I would love you hear it, (besides slackware or something, I would like that for personal but do not have time to learn it for production servers)
 
Old 02-27-2003, 02:33 PM   #4
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
Ok I have xinetd installed from rpm, now how would I set up the section in the xinetd.conf file for the line below?

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

Thanks for pointing me in the right direction so far.
 
Old 03-02-2003, 02:14 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well, I guess you'll have to read up on
both inetd and xinetd and their configuration
files.

Xinted.conf is *just* (well, not quite, but
pretty much so) a pointer to the xinted.d
directory which contains files that hold
information on specific services.

The line you want to insert is a line for
inetd, but I think we agree that your system
is (was?) using xinetd (which still is RedHats
preferred demon) ... xinetd doesn't operate
on a line basis. It operates on a file basis,
and in it's files it uses a "two dimensional"
layout using keyword/value pairs per line.

Look at your existing /etc/xinted.d/* and try to
suss it out for yourself mate :)

Cheers,
Tink
 
  


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
rc.inetd.conf Alstare Slackware 5 12-08-2004 07:19 PM
convert from inetd.conf to xinetd.conf linuxturtle Linux - Networking 7 11-12-2003 05:23 AM
Please help!!! inetd.conf granny Linux - Newbie 4 12-10-2002 08:13 PM
/etc/inetd.conf RUN Linux - General 6 07-14-2002 07:57 PM
inetd.conf jondean Linux - Networking 2 12-05-2000 01:28 PM


All times are GMT -5. The time now is 12:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration