On Fri, 03 Oct 2003 16:52:49 -0700, Michael Amster <[EMAIL PROTECTED]> wrote:
Henry:This indicates that imap/log/run is failing and being restarted every second by the supervise process. Running imap/log/run from the Unix command line will probably give you a better indication of the failure.
[EMAIL PROTECTED] service]# svstat imap/log imap/log: up (pid 31673) 1 seconds
Does the /var/log/bincimap directory exist and is it owned by multilog?
[EMAIL PROTECTED] service]# ps auxwww | grep multilog | grep binc
nobody 10410 0.0 0.1 3224 1332 ? S 18:15 0:00 /opt/bincimap/bin/bincimap-up --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf -- /home/vpopmail/bin/vchkpw /opt/bincimap/bin/bincimapd
nobody 23186 0.0 0.1 3220 1324 ? S 21:14 0:00 /opt/bincimap/bin/bincimap-up --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf -- /home/vpopmail/bin/vchkpw /opt/bincimap/bin/bincimapd
root 24740 0.0 0.0 1356 292 ? S 21:19 0:00 multilog t n5 s1048576 /var/log/bincimap
root 24791 0.0 0.0 1356 288 ? S 21:19 0:00 multilog t n5 s1048576 /var/log/bincimap-ssl
root 25218 0.0 0.0 1368 312 ? S 21:21 0:00 tcpserver -c 100 -u 0 -g 0 -l koala.webeasy.com -HDRP 0 143 /opt/bincimap/bin/bincimap-up --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf -- /home/vpopmail/bin/vchkpw /opt/bincimap/bin/bincimapd
nobody 25779 0.0 0.1 3220 1324 ? S 21:23 0:00 /opt/bincimap/bin/bincimap-up --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf -- /home/vpopmail/bin/vchkpw /opt/bincimap/bin/bincimapd
nobody 28753 0.0 0.1 3220 1324 ? S 21:35 0:00 /opt/bincimap/bin/bincimap-up --logtype=multilog --conf=/etc/opt/bincimap/bincimap.conf -- /home/vpopmail/bin/vchkpw /opt/bincimap/bin/bincimapd
my run files: imap/run - #!/bin/sh # $Id: run.in,v 1.1.1.1 2003/08/18 18:06:05 andreaha Exp $ # daemontools supervise run-file for Binc IMAP Service.
exec 2>&1
exec tcpserver -c 100 -u 0 -g 0 \ -l koala.webeasy.com -HDRP \ 0 143 \ /opt/bincimap/bin/bincimap-up \ --logtype=multilog \ --conf=/etc/opt/bincimap/bincimap.conf -- \ /home/vpopmail/bin/vchkpw \ /opt/bincimap/bin/bincimapd
imap/log/run - #!/bin/sh # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version.
# You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, # USA.
# $Id: run.in,v 1.1 2003/08/23 12:53:25 andreaha Exp $ # daemontools supervise run-file for Binc IMAP Service.
exec 2>&1
exec multilog t n5 s1048576 /var/log/bincimap
Lets hold the thanks until you are up and running. Hopefully we are close:-)
Thanks,
-MA
Henry Baragar wrote:
Michael,
Lets get this back onto the list.
------- Forwarded message ------- From: Michael Amster <[EMAIL PROTECTED]> To: Henry Baragar <[EMAIL PROTECTED]> Subject: Re: [binc] Server goes AWOL Date: Fri, 03 Oct 2003 14:18:48 -0700
Henry:
Using multilog. I can reconfigure to other logging. Using tcpserver - not xinetd
OK. That's what I use.
Log is created, but blank at this point. I have restarted the server with svc -d imap and then svc -u imap. Nothing was logged in the multilog.
OK. Sounds like multilog is not running.
- Did you do a "svc -u imap/log"? (checked with "svstat imap/log")
- Does the directory "/var/opt/log/bincimap" exist?
If you answered yes to the above questions, please post your "run" files.
-MA
Henry Baragar wrote:
Michael,
Some additional information would be helpful:
- are you using xinetd or multilog?
- what do the logs say?
Answers to these questions will probably lead to more questions, but we can help you sort out your problem.
Henry
On Fri, 03 Oct 2003 11:30:08 -0700, Michael Amster <[EMAIL PROTECTED]> wrote:
I have Binc 1.2.3 setup on a RedHat 7.3 server. It runs fine and I use it to service one IMAP account with a very large number of folders (744) and high mail volume. I am using Mozilla 1.4 as an IMAP client.
So far so good. What I see is that after Binc is running for a while, it seems to stop responding to the socket. I can telnet into port 143 on the IMAP server and I connect, but I never get the Binc response. It seems to be "hung" in some state. If I restart the service, everything is fine. Of course, the logs don't seem to have anything of interest.
Any thoughts or similar experiences?
-MA
-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca

