I have the same problem. I checked and log is down. When I try to start it I get the following error:

[EMAIL PROTECTED] root]# svc -du /service/imap/log/
svc: warning: unable to control /service/imap/log/: file does not exist

I am using Binc 1.2.3 RPM on Red Hat 7.2
I recently updated from a Binc 1.0.5 RPM that was working perfectly, and now I am having a  problem, (folder functionality is basically broken), I was trying to see what's wrong but I got stuck because I have no logs, so I was going to ask for help.

Here  goes some info, I'm not sure exactly what would be most helpful

In /service/imap/log/ I have only one file, which is unmodified as it came in the RPM

[EMAIL PROTECTED] root]# ls -al /service/imap/log/
total 12
drwxr-xr-x    2 root     root         4096 Oct 30 18:57 .
drwxr-xr-x    4 root     root         4096 Nov  5 00:11 ..
-rwxr-xr-x    1 root     root          637 Sep 20 15:14 run

[EMAIL PROTECTED] root]# ls -al /service/imap/
total 20
drwxr-xr-x    4 root     root         4096 Nov  5 00:11 .
drwxr-xr-x    4 root     root         4096 Oct 30 18:57 ..
drwxr-xr-x    2 root     root         4096 Oct 30 18:57 log
-rwxr-xr-x    1 root     root          399 Nov  5 00:11 run
drwx------    2 root     root         4096 Nov  5 14:56 supervise

[EMAIL PROTECTED] root]# cat /service/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/opt/log/bincimap

log-related stuff in the RPM:

[EMAIL PROTECTED] root]# rpm -ql bincimap | grep log
/etc/opt/bincimap/service/imap/log
/etc/opt/bincimap/service/imap/log/run
/etc/opt/bincimap/service/imaps/log
/etc/opt/bincimap/service/imaps/log/run
/var/opt/log/bincimap
/var/opt/log/bincimap-ssl

[EMAIL PROTECTED] root]# ls -al /service/
total 8
drwxr-xr-x    2 root     root         4096 Oct 30 19:02 .
drwxr-xr-x   20 root     root         4096 Nov  5 04:05 ..
lrwxrwxrwx    1 root     root           30 Oct 30 19:02 imap -> /etc/opt/bincimap/service/imap
lrwxrwxrwx    1 root     root           24 Sep 27  2002 pop3d -> /var/qmail/service/pop3d
lrwxrwxrwx    1 root     root           24 Jun  7  2002 qmail -> /var/qmail/service/qmail
lrwxrwxrwx    1 root     root           24 Jun  7  2002 qread -> /var/qmail/service/qread
lrwxrwxrwx    1 root     root           24 Jun  7  2002 qstat -> /var/qmail/service/qstat
lrwxrwxrwx    1 root     root           25 Jun  7  2002 smtpd -> /var/qmail/service/smtpd/

Thanks
Greetings,
    Xavier

On Wed, 2003-11-05 at 14:26, Henry Baragar wrote:
Back onto the list...

This is not good:  either /var/service/imap{,s}/log is down (test with 
"svstat" on the directory) or these are not the log directories in the 
log/run file.  At a minimum, binc logs every connection and disconnection.

Regards,
Henry

------- Forwarded message -------
From: Florent Gilain <[EMAIL PROTECTED]>
To: Henry Baragar <[EMAIL PROTECTED]>
Subject: RE: [binc] Moving Binc imap server logs ?
Date: Wed, 5 Nov 2003 17:57:11 +0100

> Henry,
>
> binc is up and running, current log file is empty
>
> Florent
>
> -----Message d'origine-----
> De : Henry Baragar [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 5 novembre 2003 17:54
> À : Florent Gilain
> Objet : Re: [binc] Moving Binc imap server logs ?
>
>
> Florent,
>
> Your access rights look fine.
>
> BTW: is binc up and running right now?  If so, how come the "current" log
> files are empty?
>
> Regards,
> Henry
>
> On Wed, 5 Nov 2003 17:04:02 +0100, Florent Gilain
> <[EMAIL PROTECTED]> wrote:
>
>> Andreas,
>>
>> What about accesss rights to theses folders/files ?
>>
>> here is what i have :
>>
>> bash-2.05# pwd
>> /var/log/qmail
>> bash-2.05# ls -rtl
>> total 10
>> drwxr-xr-x   2 qmaill   other        512 nov   5 15:58 smtpd
>> drwxr-xr-x   2 qmaill   other        512 nov   5 15:58 pop3d
>> drwxr-xr-x   2 root     other        512 nov   5 16:56 bincimap-ssl
>> drwxr-xr-x   2 root     other        512 nov   5 16:56 bincimap
>> drwxr-xr-x   2 qmaill   nofiles      512 nov   5 17:04 qmail-send
>>
>> bash-2.05# pwd
>> /var/log/qmail/bincimap
>> bash-2.05# ls -rtl
>> total 0
>> -rw-r--r--   1 root     root           0 nov   5 16:56 state
>> -rw-------   1 root     root           0 nov   5 16:56 lock
>> -rw-r--r--   1 root     root           0 nov   5 16:56 current
>>
>> bash-2.05# pwd
>> /var/log/qmail/bincimap-ssl
>> bash-2.05# ls -rtl
>> total 0
>> -rwxr-xr-x   1 root     other          0 nov   5 16:56 state
>> -rwxr-xr-x   1 root     other          0 nov   5 16:56 lock
>> -rw-r--r--   1 root     other          0 nov   5 16:56 current
>>
>> Florent
>>
>> -----Message d'origine-----
>> De : Andreas Aardal Hanssen [mailto:[EMAIL PROTECTED]
>> Envoye : mercredi 5 novembre 2003 16:34
>> A : Binc IMAP General
>> Cc : [EMAIL PROTECTED]
>> Objet : Re: [binc] Moving Binc imap server logs ?
>>
>>
>> On Wed, 5 Nov 2003, Florent Gilain wrote:
>>> My Goal is to get /var/log/qmail/bincimap and
>>> /var/log/qmail/bincimap-ssl
>>
>> You need to edit these files:
>> /etc/opt/bincimap/service/imap/log/run
>> /etc/opt/bincimap/service/imaps/log/run
>>
>> there you will find the paths to the log directories. Change these, then
>> restart the log processes with
>>
>> svc -du /var/service/imap{,s}/log
>>
>>> + Can you please explain me the goal of each file of this directory
>>> please.
>>> What are theses files beginning by @ ?
>>
>> "current" is the current log file. @xxxxx is an archive. The file name 
>> is
>> a timestamp in tai64 format. The program "tai64nlocal" converts this
>> format to a human readable format.
>>
>> All other files are control files used by multilog.
>>
>> Andy :-)
>>
>> --
>> Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
>> Author of Binc IMAP      |  "It is better not to do something
>> http://www.bincimap.org/ |        than to do it poorly."
>>
>>
>
>
>
> --
> Henry Baragar
> Principal, Technical Architecture
> 416-453-5626
> Instantiated Software Inc.
> http://www.instantiated.ca
>
-- 
Xavier Quesada Allue
Travel Technology SA
+54-11-4834-6644 int 123

Reply via email to