qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread schoon

Thanks for reading!

Subject tells all. I installed qmail-pop3d using LWQ, and it's working
just fine. I've searched the archives hi and lo and have checked
inetd.conf, commented out pop3 and HUPed it. Nmap reports nothing on
port 110. Tcpserver is reporting the above error message and I can't
figure out why. Here's my run file:

#!/bin/shexec /usr/local/bin/softlimit -m 200
\/usr/local/bin/tcpserver -v -R xxx.xxx.xxx.xxx pop3
/var/qmail/bin/qmail-popup \mail.computer.domain /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir 21 \| /var/qmail/bin/splogger pop3d
21 

Hopefully I've just made some silly mistake. If you need additional
information, please let me know. For now I just commented out the
splogger command so I don't fill the logfile.

TIA

.mark
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/E/IT/O d- s+ a C$ L$ P+++$ L++ E--- W-- N+ o K- w-- !O
M- !V PS+ PE+ Y+ PGP t+ !5 X R- tv b+++ DI+ D- G e++ h--- r+++ z
--END GEEK CODE BLOCK--


1.79x10^12 furlongs per fortnight -- it's not just a good idea, it's the
law!!

use Disclaimer;
my $opinion_only;




Re: qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Subject tells all.

Don't rely on it -- please repeat the problem in the body of the message in
future.

 I installed qmail-pop3d using LWQ, and it's working just fine. I've searched
 the archives hi and lo and have checked inetd.conf, commented out pop3 and
 HUPed it. Nmap reports nothing on port 110.

Possibly its another instance of tcpserver reporting the error, like the
one starting qmail itself?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread schoon

Charles,

Thanks for the reply. Well, tcpserver is called in the run file for
qmail-smtpd and qmail-pop3d. When I make changes to the qmail-pop3d run
file, the errors do change in syslog - like commenting out the line for
splogger.

OK - I just figured it out!! Seems my rc.qmail script doesn't
stop/restart qmail-pop3d properly. There were two copies of qmail-pop3d
running. As soon as I killed the old, incorrect pop3d, the errors went
away.

| Subject tells all.

|Don't rely on it -- please repeat the problem in the body of the message in
|future.

Sorry, I've been only doing this on the net for about 15 years! I'll
reinclude this information in the bodies of future emails.

Thanks again for the tip!

.mark


--
From:  Charles Cazabon[SMTP:[EMAIL PROTECTED]]
Sent:  Thursday, February 22, 2001 12:00 PM
To:[EMAIL PROTECTED]
Subject:   Re: qmail-pop3d: tcpserver: unable to bind: address in use problem

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Subject tells all.

Don't rely on it -- please repeat the problem in the body of the message in
future.

 I installed qmail-pop3d using LWQ, and it's working just fine. I've
searched
 the archives hi and lo and have checked inetd.conf, commented out pop3 and
 HUPed it. Nmap reports nothing on port 110.

Possibly its another instance of tcpserver reporting the error, like the
one starting qmail itself?

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---




Re: qmail-pop3d: tcpserver: unable to bind: address in use problem

2001-02-22 Thread Greg White

On Thu, Feb 22, 2001 at 12:28:24PM -0800, [EMAIL PROTECTED] wrote:
 Charles,
 
   Thanks for the reply. Well, tcpserver is called in the run file for
 qmail-smtpd and qmail-pop3d. When I make changes to the qmail-pop3d run
 file, the errors do change in syslog - like commenting out the line for
 splogger.
 
   OK - I just figured it out!! Seems my rc.qmail script doesn't
 stop/restart qmail-pop3d properly. There were two copies of qmail-pop3d
 running. As soon as I killed the old, incorrect pop3d, the errors went
 away.
 

Make sure that you're 'exec'ing tcpserver in the run file. Dave Sill,
this might want updating in 'Life with qmail' -- this seems to burn a
lot of people

Bad:

tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 \
/var/qmail/bin/splogger pop3d


Good:

exec tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 \
/var/qmail/bin/splogger pop3d

and then maybe instructions for supervising it properly? If it sounds
like I'm volunteering to write the new docs, I am more than willing... 


-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy