On Sat, Jun 11, 2005 at 06:21:36PM +0900, David Leangen wrote:
> > Please keep the discussion on the mailing list, though.
>
> Sorry about that. A reflex just to hit "reply".
Perhaps you can make your email software aware of the mailing list
concept, that helps a lot if you get a list-reply feature that only
sends replies to the list address.
> > > So, now that all the junk is cleaned up, I am still faced with
> > > the problem that as soon as bincimap or bincimaps is put
> > > into service, the service becomes "defunct". The log still
> > > says:
> > >
> > > tcpserver: fatal: unable to bind: address already used
> > >
> > >
> > > I really have no idea what to do... Do you have any ideas?
> >
> > Strange, it should just work if you only have one tcpserver.
> >
> > Let's see what's going on anyway, please send output of
> >
> > ps fax
>
> Please see attached. I edited the file a little bit for privacy
> reasons, but I think all the essential stuff is there.
Yep. Looks pretty good.
> > ls -l /service
No problems here.
> 24970 ? S 0:00 | \_ supervise bincimap
> 24973 ? S 0:00 | \_ supervise log
> 24974 ? S 0:00 | | \_ multilog t n5 s1048576
> /var/log/qmail/log/bincimap
> 24984 ? S 0:00 | \_ supervise bincimaps
> 4091 ? Z 0:00 | | \_ [tcpserver] <defunct>
> 24985 ? S 0:00 | \_ supervise log
> 24986 ? S 0:00 | \_ multilog t n5 s1048576
> /var/log/qmail/log/bincimap-ssl
Looks good, apart from the tcpserver thing.
[..]
> 9232 ? S 0:28 multilog t n5 s1048576 /var/log/qmail/log/bincimap
[..]
> 5266 ? S 0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
> 5282 ? S 0:00 /usr/local/bin/multilog t /var/log/qmail
These stray multilogs should be killed so that supervise has control
over their replacements again. But again, does not cause the
tcpserver problems.
Ok, let's look elsewhere.. What do the Binc run files look like?
/service/bincimap{,s}/run
(Also, try just downing /service/bincimaps and have it stay down for
a few minutes, could be that the kernel needs to time out the use of
the port before tcpserver is allowed to use it again.)
//Peter