patrick,

thanks so much for your insight and time!  you've earned yourself a free
meal if you ever pass through iowa.  just look me up.  :)

for the sake of anyone else on the list experiencing this problem, here's
how i fixed it...  not being an expert it may not be the ideal fix,
though.  :)

my libsasl.so was pointing to /usr/lib/libdb.so.3 (which was a link to
libdb-2.1.3 ?!?) and everything else was pointing to my new
/usr/local/BerkeleyDB.3.2/lib stuff.

i recompiled cyrus-sasl like (snipped out site specific stuff):

% export CPPFLAGS=-I/usr/local/BerkeleyDB.3.2/include
% export LDFLAGS=-L/usr/local/BerkeleyDB.3.2/lib
% ./configure
% make ; make install

it would have been nice to have the configure option (like cyrus-imap)
--with-dbdir=/usr/local/BerkeleyDB.3.2/.  maybe something to add in the
future?  :)

now they're all using the same library and they don't hang.  i'm just
hoping i don't stumble across anymore pitfalls...

so... thanks again, patrick.  and i'm serious about the meal thing.  :)

--matt

On Fri, 20 Jul 2001, Patrick Boutilier wrote:

> Matt,
> 
> This is most likely the problem of imapd and sasl being linked against 
> different libdb's
> 
> Can you provide the results of:
> 
> ldd /usr/cyrus/bin/imapd
> ldd /usr/cyrus/bin/master
> ldd /usr/local/lib/libsasl.so
> 
> 
> Matt J Bradshaw wrote:
> 
> >hello all,
> >
> >i'm running into some (painful!) problems with my fresh cyrus-imap 2.0.15
> >installation and would *really* appreciate any guru-advice i can get.
> >
> >master starts up fine (or at least appears to) and is listening on its
> >specified ports (143 and 993).  however, any connection to those ports
> >hangs waiting for the greeting and the spawned imapd process dies.  it
> >leaves this in the syslog:
> >
> >process 17601 exited, signalled to death by 11
> >
> >ouch.  that's pretty much all the diagnostics i have.  it's not a system
> >issue, packet-filtering and tcpwrappers are both fine.  :)
> >
> >build information:
> >
> >redhat-linux-6.2 (kernel2.2.16)
> >cyrus-imap-2.0.15
> >cyrus-sasl-1.5.24
> >BerkeleyDB-3.2.9
> >openssl-0.9.6b
> >
> >/etc/imapd.conf:
> >
> >configdirectory:     /var/imap
> >partition-default:   /var/spool/imap
> >admins:                      cyrus
> >sasl_pwcheck_method: passwd
> >tls_cert_file:               /var/imap/server.pem
> >tls_key_file:                /var/imap/server.pem
> >allowplaintext:              yes
> >
> >the only funny compile option was to disable libwrap (--without-libwrap i
> >believe) as i thought tcpwrapper support was broken bc of past experience.
> >btw, you *may* want to change your use of tcpwrappers to bring it in line
> >with standard use.  this is with regard to the service name usually being
> >the process name (*not* the service name).  perhaps creating a wrapper
> >/usr/cyrus/bin/imapsd which calls 'imapd -s' would be appropriate.
> >nothing big at all, and i just failed to read the cyrus.conf(5) man page.
> >but still an issue.  i would either highlight it more prominently in the
> >install docs or change the behavior...  back to the issue at hand.  sorry
> >for the tangent.
> >
> >perhaps other issues revelent during the build:  i built sasl with almost
> >all mechanisms disabled.  i want the PLAIN (login) mechanism only, over an
> >ssl-encrypted channel.  so that's what i built for.  --enable-plain.
> >
> >any help would be *very* appreciated.  tia.
> >
> >regards,
> >
> >--matt
> >
> >
> 
> 
> 
> 

Reply via email to