clarification, please, for pre-reqs for Ubuntu server 18.04 regarding libgmp3c2

Ask questions about your setup or get help installing ZCS server (ZD section below).
bisi
Posts: 17
Joined: Sat Sep 13, 2014 2:43 am
ZCS/ZD Version: many different versions from 6.x up

clarification, please, for pre-reqs for Ubuntu server 18.04 regarding libgmp3c2

Postby bisi » Mon Sep 30, 2019 9:00 pm

I'm hoping someone with actual experinence of a bare-metal install of Ubuntu 18.04, and then Zimbra 8.8.x can give some guidance as to how to get resolve my dilemma. I am just at the stage of configuring an Ubuntu 18.04.3 server to be ready for an install of Zimbra FOSS 8.8.15.

Starting wih the Zimbra Documentation page (Open Source Edition), found here https://www.zimbra.com/documentation/
In the requirements page,
https://zimbra.github.io/installguides/latest/single.html#System_Requirements
it indicates
For Ubuntu 16 and 18:
...
libgmp3c2

The other four requirements listed (and not shown) in the above quote are packages in Ubuntu, and were installed as part of the default.

libgm3c2 does not appear to exist for Ubuntu 18.04, and this is where I need some guidance.

here are some of my search efforts and results:

Code: Select all

# dpkg --list libgmp3c2
dpkg-query: no packages found matching libgmp3c2

Searching Ubuntu's package site was not helpful:
https://packages.ubuntu.com/search libgmp3c2

Code: Select all

» Ubuntu » Packages » Package Search Results
    Search in all suites
You have searched for packages that names contain libgmp3c2 in suite(s) bionic, all sections, and all architectures.

Sorry, your search gave no results

Code: Select all

» Ubuntu » Packages » Package Contents Search Results
    Search for libgmp3c2 within filenames
    Search exact filename libgmp3c2
You have searched for paths that end with libgmp3c2 in suite bionic, all sections, and all architectures.

Sorry, your search gave no results

OK - back to the machine and dpkg

Code: Select all

# dpkg --list libgmp*
||/ Name                     Version           Architecture      Description
+++-========================-=================-=================-=====================================================
ii  libgmp10:amd64           2:6.1.2+dfsg-2    amd64             Multiprecision arithmetic library
un  libgmp3                  <none>            <none>            (no description available)

that libgmp3 looks promising....
# apt install libgmp3

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libgmp3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libgmpxx4ldbl

That is a multi-precision arithmetic library, but does Zimbra 8.8.15 really use it? But wait! libgmp10 is also a multi-precision arithmetic library, which was installed by default. Does Zimbra 8.8.15 maybe use that lib, instead, and the documentation just needs updating to keep up with the distro?

Further noodling finds that libgmp3-dev exists and is also a multi-precision arithmetic library.

so - where to from here?

And perhaps someone with enough mojo can get the documentation updated with the correct information for Ubuntu Server 18.04

I should note that I have not "just tried it" as far as installing Zimbra 8.8.15 goes, since I have found over the years that RTFM is generally a good starting point for installing/configuring complex systems. You never know when ignoring a requirement will come back to bite you.

Thanks in advance.
Last edited by bisi on Sun Dec 08, 2019 12:24 am, edited 1 time in total.


bisi
Posts: 17
Joined: Sat Sep 13, 2014 2:43 am
ZCS/ZD Version: many different versions from 6.x up

Re: clarification, please, for pre-reqs for Ubuntu server 18.04 regarding libgmp3c2

Postby bisi » Sun Dec 08, 2019 12:22 am

Well, after an October 4 email response from Gayle Billat of zimbra-team at zimbra [dot] com, and a couple of follow up emails over the next two weeks, we at least know zimbra are aware of this gap in the checklist....

Thanks for bringing this to our attention. I will work on getting the documentation updated.

I see that you haven't had a response to your forum post, so I'm adding Andrew Shingler to this conversation. He will be able to help you or point you to the right person for assistance.

Thank you for your interest in Zimbra!
Gayle


The answer to "where to from here?", as of Dec 7, is to just try it (zimbra 8.8.15 FOSS) on the default install ubuntu server 18.04.3 , with /opt/zimbra as ext4 on a 1 TB drive.

Futher bulletins as events warrant.

Edit, 2019-12-20
Well, that appears to have worked. the mostly default install of ubuntu server 18.04 with the default install of libgmp10:amd64 (the undocumented multi-precision arithmetic library) seems to be working fine in testing. We will be deploying it "shortly" at a clients.

Here are my notes after deployment, regarding the ACTUAL requirements for deploying on Ubuntu server 18.04.3

non-stock exceptions:
set up as a VM on an ESXi server (not a cloud install)
separate 8 GB swap paritition
1 TB .vmdk, formatted ext4, mounted on /opt/zimbra
-----
removed snapd, lxd, and cloud-init (all as root)
dpkg --purge snapd
dpkg --purge lxd
dpkg -l | grep snapd
dpkg -l | grep lxd

dpkg-reconfigure cloud-init
Then deselect all the options except NoCloud
apt purge cloud-init
mv /etc/cloud/ ~/; mv /var/lib/cloud/ ~/var_lib_cloud/
(better to move, rather than delete, in case something goes wrong and I need to restore the files)
There are some dependencies that (apparently) will time out in the boot process...
systemctl show -p WantedBy network-online.target
This will list the culprits as some iscsi services that you probably don’t need (there were 2 iscsi-related services).
Disable the iscsi services. *DON'T* disable the Zimbra services (if you are doing this after the fact)
systemctl disable <service name>; systemctl disable <other service name>
systemctl show -p WantedBy network-online.target
-----
Also need to turn off systemd-resolved, or else the Zimbra DNS caching module fails, and you have to fix it
systemctl status systemd-resolved
vi /etc/systemd/resolved.conf
edit line #DNSStubListener=yes
to be
DNSStubListener=no
systemctl stop systemd-resolved
systemctl status systemd-resolved
reboot to test...
netstat -tulnp | grep 53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1926/unbound
udp 0 0 127.0.0.1:53 0.0.0.0:* 1926/unbound
-----
Zimbra System requirements doc:
https://zimbra.github.io/installguides/ ... quirements
Other Dependencies
For SUSE and Ubuntu systems, disable AppArmor and verify that the AppArmor service is not running before installing Zimbra Collaboration.
dpkg --purge apparmor
...but "systemd depends on libapparmor1 (>= 2.9.0-3+exp2)"
dpkg --set-selections /root/fix_dpkg_selections

apparmor_status
apparmor module is loaded.
21 profiles are loaded.
21 profiles are in enforce mode.
/sbin/dhclient
/snap/core/8213/usr/lib/snapd/snap-confine
/snap/core/8213/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
/usr/bin/lxc-start
/usr/bin/man
/usr/lib/NetworkManager/nm-dhcp-client.action
/usr/lib/NetworkManager/nm-dhcp-helper
/usr/lib/connman/scripts/dhclient-script
/usr/lib/snapd/snap-confine
/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
/usr/sbin/tcpdump
lxc-container-default
lxc-container-default-cgns
lxc-container-default-with-mounting
lxc-container-default-with-nesting
man_filter
man_groff
snap-update-ns.core
snap-update-ns.stress-ng
snap.core.hook.configure
snap.stress-ng.stress-ng
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.


so: service apparmor stop
service apparmor status

Dec 09 20:57:35 mail systemd[1]: Stopping AppArmor initialization...
Dec 09 20:57:35 mail apparmor[3822]: * Clearing AppArmor profiles cache
Dec 09 20:57:35 mail apparmor[3822]: ...done.
Dec 09 20:57:35 mail apparmor[3822]: All profile caches have been cleared, but no profiles have been unloaded.
Dec 09 20:57:35 mail apparmor[3822]: Unloading profiles will leave already running processes permanently
Dec 09 20:57:35 mail apparmor[3822]: unconfined, which can lead to unexpected situations.
Dec 09 20:57:35 mail apparmor[3822]: To set a process to complain mode, use the command line tool
Dec 09 20:57:35 mail apparmor[3822]: 'aa-complain'. To really tear down all profiles, run the init script
Dec 09 20:57:35 mail apparmor[3822]: with the 'teardown' option."
Dec 09 20:57:35 mail systemd[1]: Stopped AppArmor initialization.

apparmor_status
apparmor module is loaded.
21 profiles are loaded.
21 profiles are in enforce mode.
... all the same as before.

so -- not really possible to meet the system requirement for installation (disable AppArmor and verify that the AppArmor service is not running), but even though profiles are in "enforce mode", Zimbra 8.8.15 OSE works as installed.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 3 guests