[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: imapd 2.4.12 hangs SOLVED bug in configure?
From:       Gabriele Bulfon <gbulfon () sonicle ! com>
Date:       2011-10-24 8:44:08
Message-ID: 31244770.221.1319445848419.JavaMail.root () www
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Problem solved: the imap daemon forking from master, was looking for the imapd.conf
in the wrong place, and died unexpectedly.
My configure specifies --prefix=/sonicle, and any cyrus daemon usually looks at /sonicle/etc
Looks like last 4-5 source distros do not get the default of PREFIX/etc, so I had to force it
through --sysconfdir=/sonicle/etc
----------------------------------------------------------------------------------
Da: Simon Matter
A: Gabriele Bulfon
Cc: info-cyrus@lists.andrew.cmu.edu
Data: 24 ottobre 2011 9.28.38 CEST
Oggetto: Re: imapd 2.4.12 hangs
I see, and I remember reading about it.
But, what will happen if I "make install" a skiplist version onto an older
BDB deployment
with running users? Will I need to run a reconstruct? Will I need to get
rid of older bdb files
manually? Also, do you think I will find any benefits by using skiplist on
NFS instead of BDB?
Sorry, I can't help you here as we only do packaging on build hosts and
then install resulting RPMs on production systems.
What I'm sure is that you have to convert away from BDB before installing
new binaries, because they won't do anything with any BDB file.
I have never used NFS in this case.
Simon
Inviato da iPad
Il giorno 21/ott/2011, alle ore 14:07, "Simon Matter"
ha scritto:
Well, I've been using BDB for years on Cyrus.
Now I'm rebuilding a new distribution with the latest Cyrus, and I just
went on with the same
scheme.
How do I get rid of BDB? What will it use instead?
skiplist, most databases default to skiplist anyway. Those which still
default to BDB can be configured to use skiplist instead. Works fine for
me and many others.
Of course, I don't say your problems have to do with BDB, it's just
possible.
Simon
Gabriele.
----------------------------------------------------------------------------------
Da: Simon Matter
A: Gabriele Bulfon
Cc: info-cyrus@lists.andrew.cmu.edu
Data: 21 ottobre 2011 12.17.33 CEST
Oggetto: Re: imapd 2.4.12 hangs
Hi, I'm still having trouble running 2.4.12, once started, if I connect
to
port 143, I never
get the hello response, and the launched imapd goes in a loop.
These is the output of ldd against master, maybe some libraries are bad
versions?
Hi,
Do you build yourself? If so, do you really need BDB? I not, then you
may
want to build without BDB just to make sure to get rid of a possible
source of problems.
Regards,
Simon
linux-gate.so.1 =(0x009ff000)
libgssapi_krb5.so.2 =/sonicle/lib/libgssapi_krb5.so.2 (0x00a81000)
libkrb5.so.3 =/sonicle/lib/libkrb5.so.3 (0x00923000)
libk5crypto.so.3 =/sonicle/lib/libk5crypto.so.3 (0x00b76000)
libcom_err.so.3 =/sonicle/lib/libcom_err.so.3 (0x004a3000)
libkrb5support.so.0 =/sonicle/lib/libkrb5support.so.0 (0x00cc8000)
libresolv.so.2 =/lib/libresolv.so.2 (0x00a2e000)
libssl.so.0.9.8 =/sonicle/lib/libssl.so.0.9.8 (0x00300000)
libcrypto.so.0.9.8 =/sonicle/lib/libcrypto.so.0.9.8 (0x00110000)
libdb-4.8.so =/sonicle/lib/libdb-4.8.so (0x004a6000)
libpcre.so.0 =/sonicle/lib/libpcre.so.0 (0x00257000)
libpcreposix.so.0 =/sonicle/lib/libpcreposix.so.0 (0x00cdf000)
libz.so.1 =/sonicle/lib/libz.so.1 (0x00277000)
libc.so.6 =/lib/libc.so.6 (0x00655000)
libdl.so.2 =/lib/libdl.so.2 (0x0028f000)
libpthread.so.0 =/lib/libpthread.so.0 (0x00294000)
/lib/ld-linux.so.2 (0x00421000)
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Attachment #5 (text/html)]

<div style="font-family: Verdana; font-size: 12;">Problem solved: the imap daemon \
forking from master, was looking for the imapd.conf<br>in the wrong place, and died \
unexpectedly.<br>My configure specifies --prefix=/sonicle, and any cyrus daemon \
usually looks at /sonicle/etc<br><br>Looks like last 4-5 source distros do not get \
the default of PREFIX/etc, so I had to force it<br>through \
--sysconfdir=/sonicle/etc<br><div><br><br></div><tt><br><br><br>----------------------------------------------------------------------------------<br><br>Da: \
Simon Matter &lt;simon.matter@invoca.ch&gt;<br>A: Gabriele Bulfon \
&lt;gbulfon@sonicle.com&gt; <br>Cc: info-cyrus@lists.andrew.cmu.edu <br>Data: 24 \
ottobre 2011 9.28.38 CEST<br>Oggetto: Re: imapd 2.4.12 hangs<br><br></tt><blockquote \
style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>&gt; \
I see, and I remember reading about it.<br>&gt; But, what will happen if I &quot;make \
install&quot; a skiplist version onto an older<br>&gt; BDB deployment<br>&gt; with \
running users? Will I need to run a reconstruct? Will I need to get<br>&gt; rid of \
older bdb files<br>&gt; manually? Also, do you think I will find any benefits by \
using skiplist on<br>&gt; NFS instead of BDB?<br><br>Sorry, I can&#39;t help you here \
as we only do packaging on build hosts and<br>then install resulting RPMs on \
production systems.<br>What I&#39;m sure is that you have to convert away from BDB \
before installing<br>new binaries, because they won&#39;t do anything with any BDB \
file.<br>I have never used NFS in this case.<br><br>Simon<br><br>&gt;<br>&gt; Inviato \
da iPad<br>&gt;<br>&gt; Il giorno 21/ott/2011, alle ore 14:07, &quot;Simon \
Matter&quot;<br>&gt; &lt;simon.matter@invoca.ch&gt; ha \
scritto:<br>&gt;<br>&gt;&gt;&gt; Well, I&#39;ve been using BDB for years on \
Cyrus.<br>&gt;&gt;&gt; Now I&#39;m rebuilding a new distribution with the latest \
Cyrus, and I just<br>&gt;&gt;&gt; went on with the same<br>&gt;&gt;&gt; \
scheme.<br>&gt;&gt;&gt; How do I get rid of BDB? What will it use \
instead?<br>&gt;&gt;<br>&gt;&gt; skiplist, most databases default to skiplist anyway. \
Those which still<br>&gt;&gt; default to BDB can be configured to use skiplist \
instead. Works fine for<br>&gt;&gt; me and many others.<br>&gt;&gt;<br>&gt;&gt; Of \
course, I don&#39;t say your problems have to do with BDB, it&#39;s just<br>&gt;&gt; \
possible.<br>&gt;&gt;<br>&gt;&gt; Simon<br>&gt;&gt;<br>&gt;&gt;&gt; \
Gabriele.<br>&gt;&gt;&gt; \
----------------------------------------------------------------------------------<br>&gt;&gt;&gt; \
Da: Simon Matter<br>&gt;&gt;&gt; A: Gabriele Bulfon<br>&gt;&gt;&gt; Cc: \
info-cyrus@lists.andrew.cmu.edu<br>&gt;&gt;&gt; Data: 21 ottobre 2011 12.17.33 \
CEST<br>&gt;&gt;&gt; Oggetto: Re: imapd 2.4.12 hangs<br>&gt;&gt;&gt; Hi, I&#39;m \
still having trouble running 2.4.12, once started, if I connect<br>&gt;&gt;&gt; \
to<br>&gt;&gt;&gt; port 143, I never<br>&gt;&gt;&gt; get the hello response, and the \
launched imapd goes in a loop.<br>&gt;&gt;&gt; These is the output of ldd against \
master, maybe some libraries are bad<br>&gt;&gt;&gt; versions?<br>&gt;&gt;&gt; \
Hi,<br>&gt;&gt;&gt; Do you build yourself? If so, do you really need BDB? I not, then \
you<br>&gt;&gt;&gt; may<br>&gt;&gt;&gt; want to build without BDB just to make sure \
to get rid of a possible<br>&gt;&gt;&gt; source of problems.<br>&gt;&gt;&gt; \
Regards,<br>&gt;&gt;&gt; Simon<br>&gt;&gt;&gt; linux-gate.so.1 \
=(0x009ff000)<br>&gt;&gt;&gt; libgssapi_krb5.so.2 =/sonicle/lib/libgssapi_krb5.so.2 \
(0x00a81000)<br>&gt;&gt;&gt; libkrb5.so.3 =/sonicle/lib/libkrb5.so.3 \
(0x00923000)<br>&gt;&gt;&gt; libk5crypto.so.3 =/sonicle/lib/libk5crypto.so.3 \
(0x00b76000)<br>&gt;&gt;&gt; libcom_err.so.3 =/sonicle/lib/libcom_err.so.3 \
(0x004a3000)<br>&gt;&gt;&gt; libkrb5support.so.0 =/sonicle/lib/libkrb5support.so.0 \
(0x00cc8000)<br>&gt;&gt;&gt; libresolv.so.2 =/lib/libresolv.so.2 \
(0x00a2e000)<br>&gt;&gt;&gt; libssl.so.0.9.8 =/sonicle/lib/libssl.so.0.9.8 \
(0x00300000)<br>&gt;&gt;&gt; libcrypto.so.0.9.8 =/sonicle/lib/libcrypto.so.0.9.8 \
(0x00110000)<br>&gt;&gt;&gt; libdb-4.8.so =/sonicle/lib/libdb-4.8.so \
(0x004a6000)<br>&gt;&gt;&gt; libpcre.so.0 =/sonicle/lib/libpcre.so.0 \
(0x00257000)<br>&gt;&gt;&gt; libpcreposix.so.0 =/sonicle/lib/libpcreposix.so.0 \
(0x00cdf000)<br>&gt;&gt;&gt; libz.so.1 =/sonicle/lib/libz.so.1 \
(0x00277000)<br>&gt;&gt;&gt; libc.so.6 =/lib/libc.so.6 (0x00655000)<br>&gt;&gt;&gt; \
libdl.so.2 =/lib/libdl.so.2 (0x0028f000)<br>&gt;&gt;&gt; libpthread.so.0 \
=/lib/libpthread.so.0 (0x00294000)<br>&gt;&gt;&gt; /lib/ld-linux.so.2 \
(0x00421000)<br>&gt;&gt;&gt; ----<br>&gt;&gt;&gt; Cyrus Home Page: \
http://www.cyrusimap.org/<br>&gt;&gt;&gt; List Archives/Info: \
http://lists.andrew.cmu.edu/pipermail/info-cyrus/<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br><br><br><br><br><br></tt></blockquote></div>




----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic