Debian Codegraph @

doc/html/imap/reference/faqs/o-unable-join-environment.html

raw
1 <!DOCTYPE html>
2 <html class="writer-html5" lang="en" data-content_root="../../../">
3 <head>
4 <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
5
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>&#34;unable to join environment&#34; error &mdash; Cyrus IMAP 3.12.3 documentation</title>
8 <link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
9 <link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=86f27845" />
10 <link rel="stylesheet" type="text/css" href="../../../_static/graphviz.css?v=eafc0fe6" />
11 <link rel="stylesheet" href="../../../_static/cyrus.css" type="text/css" />
12
13
14
15 <script src="../../../_static/jquery.js?v=8dae8fb0"></script>
16 <script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17 <script src="../../../_static/documentation_options.js?v=2c828074"></script>
18 <script src="../../../_static/doctools.js?v=888ff710"></script>
19 <script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
20 <script src="../../../_static/js/theme.js"></script>
21 <link rel="index" title="Index" href="../../../genindex.html" />
22 <link rel="search" title="Search" href="../../../search.html" />
23 <link rel="next" title="Why does Cyrus set the MAIL FROM address of the sender of vacation responses to &#39;&lt;&gt;&#39;?" href="o-vacation-mailfrom.html" />
24 <link rel="prev" title="The process count keeps growing!" href="o-toomanyprocesses.html" />
25 </head>
26
27 <body class="wy-body-for-nav">
28 <div class="wy-grid-for-nav">
29 <nav data-toggle="wy-nav-shift" class="wy-nav-side">
30 <div class="wy-side-scroll">
31 <div class="wy-side-nav-search" >
32
33
34
35 <a href="../../../index.html" class="icon icon-home">
36 Cyrus IMAP
37 </a>
38 <div class="version">
39 3.12.3
40 </div>
41 <div role="search">
42 <form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
43 <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
44 <input type="hidden" name="check_keywords" value="yes" />
45 <input type="hidden" name="area" value="default" />
46 </form>
47 </div>
48 </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
49 <p class="caption" role="heading"><span class="caption-text">Cyrus IMAP</span></p>
50 <ul class="current">
51 <li class="toctree-l1"><a class="reference internal" href="../../../download.html">Download</a></li>
52 <li class="toctree-l1"><a class="reference internal" href="../../../quickstart.html">Quickstart Guide</a></li>
53 <li class="toctree-l1"><a class="reference internal" href="../../../overview.html">Overview</a></li>
54 <li class="toctree-l1"><a class="reference internal" href="../../../setup.html">Setup</a></li>
55 <li class="toctree-l1 current"><a class="reference internal" href="../../../operations.html">Operations</a><ul class="current">
56 <li class="toctree-l2"><a class="reference internal" href="../manpages/index.html">Man pages</a></li>
57 <li class="toctree-l2"><a class="reference internal" href="../admin.html">Administrator Guide</a></li>
58 <li class="toctree-l2 current"><a class="reference internal" href="../faq.html">Frequently Asked Questions</a><ul class="current">
59 <li class="toctree-l3"><a class="reference internal" href="../faq.html#features">Features</a></li>
60 <li class="toctree-l3"><a class="reference internal" href="../faq.html#installation-problems">Installation Problems</a></li>
61 <li class="toctree-l3"><a class="reference internal" href="../faq.html#common-feature-requests">Common Feature Requests</a></li>
62 <li class="toctree-l3 current"><a class="reference internal" href="../faq.html#common-operational-questions">Common Operational Questions</a><ul class="current">
63 <li class="toctree-l4"><a class="reference internal" href="o-acls.html">How do I view ACLs on a mailbox?</a></li>
64 <li class="toctree-l4"><a class="reference internal" href="o-annotations.html">What annotations are available?</a></li>
65 <li class="toctree-l4"><a class="reference internal" href="o-configdir-tempfs.html">Is it safe to put &lt;configdirectory&gt;/proc and &lt;configdirectory&gt;/lock on a tmpfs filesystem?</a></li>
66 <li class="toctree-l4"><a class="reference internal" href="o-coredump.html">How to enable core dumps</a></li>
67 <li class="toctree-l4"><a class="reference internal" href="o-delete-mailbox.html">Why can I not delete a mailbox as an admin user?</a></li>
68 <li class="toctree-l4"><a class="reference internal" href="o-deleted-expired-expunged-purged.html">When is What ... Deleted, Expired, Expunged or Purged?</a></li>
69 <li class="toctree-l4"><a class="reference internal" href="o-deliverdb-size.html">Why is deliver.db so large?</a></li>
70 <li class="toctree-l4"><a class="reference internal" href="o-freezes.html">I have multiple imapd-SERVICES configured and experience occasional freezes when I try to log in!</a></li>
71 <li class="toctree-l4"><a class="reference internal" href="o-gdb.html">How to run gdb on Cyrus components</a></li>
72 <li class="toctree-l4"><a class="reference internal" href="o-mailbox-doesnotexist.html">Cyrus delivers claims that the mailbox does not exist</a></li>
73 <li class="toctree-l4"><a class="reference internal" href="o-mixedcase.html">Why is mail being rejected with No Mailbox found due to MiXed CaSe incoming e-mail?</a></li>
74 <li class="toctree-l4"><a class="reference internal" href="o-otherdatabases.html">Can I use MySQL (or another SQL database) as the primary mail store?</a></li>
75 <li class="toctree-l4"><a class="reference internal" href="o-pop3slow.html">Why do POP3 connections take so long, but once the connection is established all is well?</a></li>
76 <li class="toctree-l4"><a class="reference internal" href="o-reconstruct.html">Why does reconstruct -m not work?</a></li>
77 <li class="toctree-l4"><a class="reference internal" href="o-sharedfilesystem-gpfs.html">Shared File Systems GPFS for high availability</a></li>
78 <li class="toctree-l4"><a class="reference internal" href="o-telemetry.html">How to enable telemetry</a></li>
79 <li class="toctree-l4"><a class="reference internal" href="o-toomanyprocesses.html">The process count keeps growing!</a></li>
80 <li class="toctree-l4 current"><a class="current reference internal" href="#">&quot;unable to join environment&quot; error</a></li>
81 <li class="toctree-l4"><a class="reference internal" href="o-vacation-mailfrom.html">Why does Cyrus set the MAIL FROM address of the sender of vacation responses to '&lt;&gt;'?</a></li>
82 </ul>
83 </li>
84 <li class="toctree-l3"><a class="reference internal" href="../faq.html#common-interoperability-problems">Common Interoperability Problems</a></li>
85 </ul>
86 </li>
87 </ul>
88 </li>
89 <li class="toctree-l1"><a class="reference internal" href="../../../developers.html">Developers</a></li>
90 <li class="toctree-l1"><a class="reference internal" href="../../../support.html">Support/Community</a></li>
91 </ul>
92 <p class="caption" role="heading"><span class="caption-text">Cyrus SASL</span></p>
93 <ul>
94 <li class="toctree-l1"><a class="reference external" href="http://www.cyrusimap.org/sasl">Cyrus SASL</a></li>
95 </ul>
96
97 </div>
98 </div>
99 </nav>
100
101 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
102 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
103 <a href="../../../index.html">Cyrus IMAP</a>
104 </nav>
105
106 <div class="wy-nav-content">
107 <div class="rst-content">
108 <div role="navigation" aria-label="Page navigation">
109 <ul class="wy-breadcrumbs">
110 <li><a href="../../../index.html" class="icon icon-home" aria-label="Home"></a></li>
111 <li class="breadcrumb-item"><a href="../../../operations.html">Operations</a></li>
112 <li class="breadcrumb-item"><a href="../faq.html">Frequently Asked Questions</a></li>
113 <li class="breadcrumb-item active">&quot;unable to join environment&quot; error</li>
114 <li class="wy-breadcrumbs-aside">
115 <a href="https://github.com/cyrusimap/cyrus-imapd/blob/master/docsrc/imap/reference/faqs/o-unable-join-environment.rst" class="fa fa-github"> Edit on GitHub</a>
116 </li>
117 </ul>
118 <hr/>
119 </div>
120 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
121 <div itemprop="articleBody">
122
123 <section id="unable-to-join-environment-error">
124 <h1>&quot;unable to join environment&quot; error<a class="headerlink" href="#unable-to-join-environment-error" title="Link to this heading"></a></h1>
125 <p>This error is caused if you build Berkley DB 4 with threading support,
126 but do not then link the pthreads library to Cyrus. This is commonly
127 caused by a Linux distribution which supplies the pre-threaded library
128 version.</p>
129 <p>One workaround is to rebuild the db4 library without thread support.
130 Another is provided by Scott Adkins (<a class="reference external" href="mailto:adkinss&#37;&#52;&#48;ohio&#46;edu">adkinss<span>&#64;</span>ohio<span>&#46;</span>edu</a>):</p>
131 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>I talked to SleepyCat about it and they suggested making sure that the
132 threads library was being linked into the IMAP server. It used to be
133 that when compiling db3 that the IMAP server would automatically link in
134 the threads library, probably because of an rpath listed in the db3
135 shared library. They must have changed something with db4, since the
136 threads library is no longer linked into applications if they link
137 against the db4 library.
138
139 As it turns out, linking with threads (I believe I simply included the
140 ``-pthread CC`` command line option to have that happen) caused the join
141 errors to go away. I was still having some flakiness with db4 though...
142 </pre></div>
143 </div>
144 <p>Starting with Cyrus 2.2.1, it is possible to build without linking
145 Berkeley DB at all, which may be a viable option for some sites.</p>
146 </section>
147
148
149 </div>
150 </div>
151 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
152 <a href="o-toomanyprocesses.html" class="btn btn-neutral float-left" title="The process count keeps growing!" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
153 <a href="o-vacation-mailfrom.html" class="btn btn-neutral float-right" title="Why does Cyrus set the MAIL FROM address of the sender of vacation responses to &#39;&lt;&gt;&#39;?" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
154 </div>
155
156 <hr/>
157
158 <div role="contentinfo">
159 <p>&#169; Copyright 1993–2026, The Cyrus Team.</p>
160 </div>
161
162 Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
163 <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
164 provided by <a href="https://readthedocs.org">Read the Docs</a>.
165
166
167 </footer>
168 </div>
169 </div>
170 </section>
171 </div>
172 <script>
173 jQuery(function () {
174 SphinxRtdTheme.Navigation.enable(true);
175 });
176 </script>
177
178
179
180
181 </body>
182 </html>