<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Carbonio CE Centos 8 installation problem - Install &amp; Setup				            </title>
            <link>https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 05 Oct 2026 20:42:04 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Carbonio CE Centos 8 installation problem</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-6924</link>
                        <pubDate>Wed, 17 Jan 2024 12:38:08 +0000</pubDate>
                        <description><![CDATA[Hi, Jim, thanks for wanting to help. But that&#039;s not the problem. My output:
root@mx:~# getcap /opt/zextras/common/libexec/slapd/opt/zextras/common/libexec/slapd = cap_net_bind_service+eproo...]]></description>
                        <content:encoded><![CDATA[<p><span>Hi, Jim, thanks for wanting to help. But that's not the problem. My output:</span></p>
<p style="text-align: justify"><span style="color: #808080">root@mx:~# getcap /opt/zextras/common/libexec/slapd</span><br /><span style="color: #808080">/opt/zextras/common/libexec/slapd = cap_net_bind_service+ep</span><br /><span style="color: #808080">root@mx:~# setcap cap_net_bind_service=+ep /opt/zextras/common/libexec/slapd</span><br /><span style="color: #808080">root@mx:~# echo $?</span><br /><span style="color: #808080">0</span></p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>d.bokhonko</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-6924</guid>
                    </item>
				                    <item>
                        <title>RE: Carbonio CE Centos 8 installation problem</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-6905</link>
                        <pubDate>Mon, 15 Jan 2024 17:45:21 +0000</pubDate>
                        <description><![CDATA[Guessing at cause. Verify cap_net_bind_service can be set for slapd in your environment. 
Run this command:

% getcap /opt/zextras/common/libexec/slapd
/opt/zextras/common/libexec/slapd ...]]></description>
                        <content:encoded><![CDATA[
<p><span>I get the same error when installing on Ubuntu 20.04</span></p>
<p>/tmp/zmsetup.20240115-131132.log:</p>
<p>Mon Jan 15 13:24:42 2024 Checking ldap on localhost:389<br />Mon Jan 15 13:24:42 2024 failed: Unable to contact ldap at ldap://localhost:389: Connection refused<br />Mon Jan 15 13:24:42 2024 Couldn't bind to localhost as uid=zimbra,cn=admins,cn=zimbra</p>
<p> </p>
<p></p>
<p>Guessing at cause. Verify cap_net_bind_service can be set for slapd in your environment. </p>
<p>Run this command:</p>
<blockquote>
<p>% getcap /opt/zextras/common/libexec/slapd</p>
<p>/opt/zextras/common/libexec/slapd cap_net_bind_service=ep</p>
</blockquote>
<p>And to set:</p>
<pre contenteditable="false">% su - 
# setcap cap_net_bind_service=+ep /opt/zextras/common/libexec/slapd
# echo $?
0
</pre>
<p>If you do not have this set, verify you have a kernel with this capability. ldap no longer runs as root as there was a root escalation. Instead, they are using cap_net_bind_service as explained by GPT4 turbo.</p>
<blockquote>
<p><code>ap_net_bind_service</code> allows a program to bind to Internet domain sockets with a port number less than 1024, which is a privilege typically reserved for root. This can be useful for allowing non-root programs to run as network servers on privileged ports.</p>
<p>When you use <code>cap_net_bind_service=ep</code>, you're setting this capability on an executable file. This action is independent of the file system type where the file resides. Linux capabilities are supported on most modern Linux file systems, like ext3, ext4, XFS, Btrfs, etc., as they are a feature of the Linux kernel rather than the file system.</p>
</blockquote>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>Jim Dunphy</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-6905</guid>
                    </item>
				                    <item>
                        <title>RE: Carbonio CE Centos 8 installation problem</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-6902</link>
                        <pubDate>Mon, 15 Jan 2024 10:31:39 +0000</pubDate>
                        <description><![CDATA[I get the same error when installing on Ubuntu 20.04
 
screen carbonio-bootstrap:
2) Ldap master host: localhost      (i tried 127.0.0.1 and external IP - without success)3) Ldap port: 38...]]></description>
                        <content:encoded><![CDATA[<p><span>I get the same error when installing on Ubuntu 20.04</span></p>
<p> </p>
<p>screen carbonio-bootstrap:</p>
<p>2) Ldap master host: localhost      (i tried 127.0.0.1 and external IP - without success)<br />3) Ldap port: 389<br />** 4) Ldap Admin password: Not Verified</p>
<p> </p>
<p>/tmp/zmsetup.20240115-131132.log:</p>
<p>Mon Jan 15 13:24:42 2024 Checking ldap on localhost:389<br />Mon Jan 15 13:24:42 2024 failed: Unable to contact ldap at ldap://localhost:389: Connection refused<br />Mon Jan 15 13:24:42 2024 Couldn't bind to localhost as uid=zimbra,cn=admins,cn=zimbra</p>
<p> </p>
<p>/etc/sudoers.d/carbonio:</p>
<p><br />Defaults:zextras !requiretty<br />%zextras ALL=NOPASSWD:/opt/zextras/libexec/zmstat-fd *<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/postfix<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/postalias<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/qshape.pl<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/postconf<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/postsuper<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/postcat<br />%zextras ALL=NOPASSWD:/opt/zextras/libexec/zmqstat<br />%zextras ALL=NOPASSWD:/opt/zextras/libexec/zmmtastatus<br />%zextras ALL=NOPASSWD:/opt/zextras/common/sbin/amavis-mc<br />%zextras ALL=NOPASSWD:/opt/zextras/libexec/zmmailboxdmgr<br />root ALL=(ALL) NOPASSWD: /usr/bin/zmslapd</p>
<p> </p>
<p>iptables -nL:</p>
<p>...</p>
<p>ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:389</p>
<p>...</p>
<p> </p>
<p> </p>
<p><span>Is it possible to install carbonio without ldap? Please, help.</span></p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>d.bokhonko</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-6902</guid>
                    </item>
				                    <item>
                        <title>RE: Carbonio CE Centos 8 installation problem</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-4734</link>
                        <pubDate>Thu, 23 Mar 2023 21:27:46 +0000</pubDate>
                        <description><![CDATA[If you can&#039;t bind an ip address to port 389 then you will not have anything running to answer ldap queries which is what that is telling you and you verified.  Double check name resolution a...]]></description>
                        <content:encoded><![CDATA[<p>If you can't bind an ip address to port 389 then you will not have anything running to answer ldap queries which is what that is telling you and you verified.  Double check name resolution again for m-ldap.mydomain.com and if it doesn't resolve put an entry in /etc/hosts for this machine since in most configurations, they will check /etc/hosts prior to DNS.</p>
<p>Ref: /etc/nsswitch.conf </p>
<p>That is about all I can see given the amount of information you have provided.  Carbonio requires an entry in /etc/sudoers.d/carbonio for zmslapd for root to start ldap so it can bind at a port below 1024.</p>
<p>Your startup flow is: /opt/zextras/bin/ldap -&gt; /opt/zextras/libexec/zmslapd -&gt; /opt/zextras/common/libexec/slapd</p>
<p>The first 2 are scripts and the last is the binary. If you know the command line options you can jump directly to get feedback on stdout.</p>
<p>Another thing you could try to see what sane values are present:</p>
<pre contenteditable="false"># su - zextras
% source /opt/zextras/bin/zmshutil 
% zmsetvars
% env |grep -i ldap
</pre>
<p>Pay attention to any URL's in that output and verify how your host would convert that to an ip address so the daemon can bind to that address.</p>
<p>HTH,</p>
<p>Jim</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>Jim Dunphy</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-4734</guid>
                    </item>
				                    <item>
                        <title>Carbonio CE Centos 8 installation problem</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-4730</link>
                        <pubDate>Thu, 23 Mar 2023 07:10:29 +0000</pubDate>
                        <description><![CDATA[I&#039;m trying to install the Carbonio CE (Single-Server) following the manual.
But I&#039;m having issues with step 4 (Bootstrap Carbonio) setting passwords (more specifically, with LDAP).Any passw...]]></description>
                        <content:encoded><![CDATA[<p>I'm trying to install the Carbonio CE (Single-Server) following the <a href="https://docs.zextras.com/carbonio/html/single-server-installation.html#step-2-setting-hostname" target="_blank" rel="noopener">manual</a>.</p>
<p>But I'm having issues with step 4 (Bootstrap Carbonio) setting passwords (more specifically, with LDAP).<br />Any passwords I enter become "Not Verified".<br />Here's what's in the logs:</p>
<pre contenteditable="false">Thu Mar 23 08:51:36 2023 Couldn't bind to m-ldap.mydomain.com as uid=zmreplica,cn=admins,cn=zimbra
Thu Mar 23 08:51:36 2023 Checking ldap replication is enabled on m-ldap.mydomain.com:389
Thu Mar 23 08:51:36 2023 failed: Unable to contact ldap at ldap://m-ldap.mydomain.com:389: Connection refused</pre>
<p>But... It's a single server setup, I don't need LDAP replication :-) And, yes, nothing listening on port 389</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>zendx</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/carbonio-ce-centos-8-installation-problem/#post-4730</guid>
                    </item>
							        </channel>
        </rss>
		