RE: does cvt_cyrusdb work? is it normal to have "DBERRORS db3: x lockers" messages?

2002-05-18 Thread Jeff Bert

> Luca Olivetti wrote:
> Is that example configuration not good?
>

Dunno for sure.  I tend to change something and test... change and test...
change and test... but I didn't write everything down so I have to admit I'm
not sure how I got rid of those db3 errors... I had them too but don't
now... it might be how I compiled postfix that solved it:

# make -f Makefile.init makefiles \
CCARGS="-DHAS_MYSQL -I/usr/local/mysql/include \
-DHAS_DB -I/usr/include/db3" \
AUXLIBS="-L/usr/local/mysql/lib -lmysqlclient -lz -lm \
-L/usr/lib -ldb-3.3"

And then installed cyrus-sasl and cyrus-imapd.

When I first installed the cyrus rpms I got those db errors also and then
starting messing with stuff and finally got rid of them.  Maybe
it was the postfix compile.

As you know I'm not anywhere near an expert... I just trying to relate my
experience.  Since we use similar systems in Linux-Mandrake I thought that
mine might shed some light on yours.

Jeff

> >
> > # standard standalone server implementation
> >
> > START {
> >   # do not delete this entry!
> >recover  cmd="ctl_cyrusdb -r"
> >mboxlist cmd="ctl_mboxlist -r"
>  >deliver  cmd="ctl_deliver -r"
>
> according to the manpage ctl_mboxlist and ctl_deliver don't have an -r
> option now, this functionality is included in ctl_cyrusdb.
>
> []


yes, when you run the command it says it's depricated but if you are logging
via 'local6.debug' for cyrus you'll see that the ctl_mboxlist does run and
completes.

>
> > EVENTS {
> >   # this is required
> > #  checkpoint   cmd="ctl_cyrusdb -c" period=30
> >checkpoint   cmd="ctl_mboxlist -c" period=30
>
> ctl_mboxlist doesn't have a -c option now. Its functionality is in
> ctl_cyrusdb.
>

same as above, you get a report that it's depricated but it runs and reports
in the log file but, I'm going to put my cyrus.conf back to using the
ctl_cyrusdb for both STARTUP and EVENTS and see if I have any problems.




RE: does cvt_cyrusdb work? is it normal to have "DBERRORS db3: x lockers" messages?

2002-05-17 Thread Jeff Bert

Luca,

When I built the cyrus-sasl-2.1.2 rpm from your source files I noticed that
the "make" output never had a "-I/usr/include/db3" which is where the
include files for BerkeleyDB3.3 are stored from the Mandrake RPM's.

I added a "CPPFLAGS=-I/usr/include/db3" in the cyrus-sasl.spec file before
compiling... but not sure if it made a differece because:

Also, I modified the cyrus.conf file to be more like the older version
instead of the newer ones... here's mine... not sure which solved the
problem, the .spec file mod or the .conf file mod:

# standard standalone server implementation

START {
  # do not delete this entry!
   recover  cmd="ctl_cyrusdb -r"
   mboxlist cmd="ctl_mboxlist -r"
   deliver  cmd="ctl_deliver -r"

}

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap  cmd="imapd" listen="imap" prefork=5
  imaps cmd="imapd -s" listen="imaps" prefork=1
  pop3 cmd="pop3d" listen="pop3" prefork=3
  pop3s cmd="pop3d -s" listen="pop3s" prefork=1
  sieve cmd="timsieved" listen="sieve" prefork=0

  # at least one LMTP is required for delivery

  lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
}

EVENTS {
  # this is required
#  checkpoint   cmd="ctl_cyrusdb -c" period=30
   checkpoint   cmd="ctl_mboxlist -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd="ctl_deliver -E 3" period=1440

  # this is only necessary if caching TLS sessions
  tlsprune  cmd="tls_prune" period=1440
}

Jeff

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Luca Olivetti
> Sent: Thursday, May 16, 2002 1:48 PM
> To: [EMAIL PROTECTED]
> Subject: does cvt_cyrusdb work? is it normal to have "DBERRORS db3: x
> lockers" messages?
>
>
> Hi,
> in an attempt to see if it solved the mozilla unseen problem (see
> http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cy
rus&msg=13859)
>   I compiled cyrus with db3 as the seen db. I quickly went back to flat
> because I saw much more "DBERRORS db3: x lockers" than normal (btw, is
> it normal to see these messages?).
> Anyway, before using the new imapd, I converted the seen db for myself
> (/var/lib/imap/user/l/luca.seen) with cvt_cyrusdb, but *all* messages
> appeared as unseen.
> Is cvt_cyrusdb supposed to work for the seen.db?
>
> TIA
> --
> Luca Olivetti
>
>