Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inted.conf

Status
Not open for further replies.

crazyabt

Technical User
Aug 8, 2001
7
IN
hi all,
when i tried the command killall -HUP inetd i am getting error as no process killed.how to over come this.
when i tried
telnet localhost 110 (pop port number)
error to remote host is refused is teh error.how to over come this so that i can start tyeh pop server.

thanx,
kris
 
hi,
i couldnt find any content in /etc/inetd.conf.i had added one line saying

pop-3 stream tcp nowait root /usr/sbin/tcpd

after that i tried
killall -HUP inetd

but i am getting error "no process killed"
why is it so.
pls clarify.
kris
 
Hi,



Its either because you have inetd and it wasn't actually running or, if you have a newish distro other than debian, because the functionality of inetd has been replaced by xinetd.



If it's the latter, just look in the /etc/xinetd.d directory for the config files (they are separate for each server now). If you have telnet-server installed there should be a file called 'telnet'. Just edit that file and change 'disable=yes' to 'disable=no' and restart the xinetd daemon with '/etc/rc.d/init.d/xinetd restart' or whatever equivalent works on your distro. Telnet should work now...



Rgds
 
Hi ifincham,
thanx for the advice.i had checked it out.in /etc/xinetd.d
/telent disable is no only i can do telnet from other systems .my problem is i had installed qmail on the server.
and i am checking whether pop3d is running or not.
i had made changes in inetd.conf as per the docs.after that
i had issued a command

"telnet localhost 110" to check whether server is listening to port 110.at that time i am getting the error as
"onnection to remote host failed".
i am not able to recive mails from other mails .
how to go for that.
regards,
kris
 
Hi,

I don't use qmail personally but I wouldn't expect that it is controlled by xinetd or inetd, however by default this seems to be the case.

So the fact that you can't telnet to localhost:110 almost certainly just means the qmail server isn't running.

I'd suggest either trying to create a xinetd config like the following (from qmail mailing list) :

/etc/xinetd.d/qmail
# default: off
# description: The qmail service provide MTAservice
smtp{
flags = NAMEINARGS
socket_type = stream
wait = no
user = qmaild
server = /usr/sbin/tcpd
server_args = /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
disable = no}

Or using the 'tcpserver' alternative to xinetd/inetd which is apparently now the preferred method. See --> .

Regards
using the
 
hi thanx for the immediate response.i will let u know after i update that.
thanx.
regs,
kris
 
hi ifincham,
i had updated the server as per ur advice .but i am unable to get the messages from outside.what should i do for that.
telnet on that port.
regs,
kris
 
your smtp daemon and your pop daemon do not
depend on each others existence to run.
You can run a popd without your smtpd running
and vice versa-not much use to it most of the time, but it can be done.

Do the following:

lsof -i ; if you see your popd running great.
otherwise

find / -name pop ; or if you have an rpm based distro rpm -q pop ; if you get nada that is what you have.
otherwise make sure that you have pop3 uncommented in your inetd.conf.

You confused me with your xinetd comment
do you have xinetd installed with inetd?
If so uninstall one or the other.

If you do have a listening popd ; telnet localhost 110 should work.
 
Hi,

Actually just realised from reading marsd that I gave you the qmail smtp config instead of the qmail pop config! Create a /etc/xinetd.d/pop3 something file this :

service pop3
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /var/qmail/bin/qmail-popup
server_args = DOMAIN.COM /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir
log_type = FILE /var/log/xinetd.log
log_on_success = HOST
log_on_failure = HOST RECORD
}

Rgds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top