Where does Zimbra look for missing files?

Ask questions about your setup or get help installing ZCS server (ZD section below).
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Postby shieldfire » Wed Jun 04, 2014 3:18 am

When trying to install Zimbra on CentOS 6 I get the message that the installation can't find various requirements, like sudo and libstdc++.
Doing a whereis or find on the system shows that these are indeed installed. Usually in /usr/lib or /usr/bin or linked there.

So what can I do to make zimbra installation understand that the requisits are actually installed?
Threads of this kind I've found says "install FOO" which obviously isn't the solution in this case...


phoenix
Ambassador
Ambassador
Posts: 26621
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Where does Zimbra look for missing files?

Postby phoenix » Wed Jun 04, 2014 3:24 am

Which version and release are you trying to install? Since 2005 ZCS has always installed without problems for me.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Postby shieldfire » Wed Jun 04, 2014 5:45 am

zcs-8.0.7_GA_6021.RHEL6_64.20140408123911.tgz was what I downloaded.
phoenix
Ambassador
Ambassador
Posts: 26621
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Where does Zimbra look for missing files?

Postby phoenix » Wed Jun 04, 2014 5:52 am

[quote user="shieldfire"]zcs-8.0.7_GA_6021.RHEL6_64.20140408123911.tgz was what I downloaded.[/QUOTE]... and your version of CentOS is 64bit? If it is then you're going to have to show some logs that of the relevant errors during the install and some evidence the the correct "missing" software is actually installed.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Postby shieldfire » Wed Jun 04, 2014 6:43 am

[quote user="10330phoenix"]... and your version of CentOS is 64bit? If it is then you're going to have to show some logs that of the relevant errors during the install and some evidence the the correct "missing" software is actually installed.[/QUOTE]
[root@doc ~]# uname -a

Linux SERVERNAME 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27

BST 2011 x86_64 x86_64 x86_64 GNU/Linux
Checking for prerequisites...

FOUND: NPTL

MISSING: sudo

MISSING: libidn11

MISSING: libgmp3c2

MISSING: libstdc++6
[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# whereis sudo

sudo: /usr/bin/sudo /usr/share/man/man8/sudo.8.gz
sudo: /usr/bin/sudo /usr/share/man/man8/sudo.8.gz

[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# find / -name 'libidn*'

/usr/share/info/libidn.info.gz

/usr/share/locale/cs/LC_MESSAGES/libidn.mo

/usr/share/locale/en@quot/LC_MESSAGES/libidn.mo

/usr/share/locale/pl/LC_MESSAGES/libidn.mo

/usr/share/locale/it/LC_MESSAGES/libidn.mo

/usr/share/locale/fr/LC_MESSAGES/libidn.mo

/usr/share/locale/fi/LC_MESSAGES/libidn.mo

/usr/share/locale/sr/LC_MESSAGES/libidn.mo

/usr/share/locale/nl/LC_MESSAGES/libidn.mo

/usr/share/locale/vi/LC_MESSAGES/libidn.mo

/usr/share/locale/zh_CN/LC_MESSAGES/libidn.mo

/usr/share/locale/ja/LC_MESSAGES/libidn.mo

/usr/share/locale/id/LC_MESSAGES/libidn.mo

/usr/share/locale/da/LC_MESSAGES/libidn.mo

/usr/share/locale/de/LC_MESSAGES/libidn.mo

/usr/share/locale/ro/LC_MESSAGES/libidn.mo

/usr/share/locale/en@boldquot/LC_MESSAGES/libidn.mo

/usr/share/locale/eo/LC_MESSAGES/libidn.mo

/usr/share/doc/libidn-1.18

/lib64/libidn.so.11.6.1

/lib64/libidn.so.11


[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# find / -name 'libstdc++*'

/usr/lib/libstdc++.so.6.0.13

/usr/lib/libstdc++.so.6

/usr/lib64/libstdc++.so.6.0.13

/usr/lib64/libstdc++.so.6


[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# find / -name 'libgmp*'

/usr/lib64/libgmpxx.so.4.1.0

/usr/lib64/libgmpxx.so.4

/usr/lib64/openssl/engines/libgmp.so

/usr/lib64/libgmp.so.3

/usr/lib64/libgmp.so.3.5.0

/opt/alfresco-4.2.f/common/lib/engines/libgmp.so
phoenix
Ambassador
Ambassador
Posts: 26621
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Where does Zimbra look for missing files?

Postby phoenix » Wed Jun 04, 2014 7:18 am

From the output you've posted you apparently don't have openssl installed, you need it - install it and try again. You should also use "yum" to display if a required package is installed correctly on your server. You also haven't shown any information on whether these packages are installed:
libidn11

libgmp3c2
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Postby shieldfire » Wed Jun 04, 2014 7:18 am

Also ln -s files
[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# ls -l /usr/lib/libidn*

lrwxrwxrwx 1 root root 19 Jun 4 14:16 /usr/lib/libidn.so.11 -> /lib64/libidn.so.11

lrwxrwxrwx 1 root root 23 Jun 4 14:16 /usr/lib/libidn.so.11.6.1 -> /lib64/libidn.so.11.6.1
without any change in result
EDIT: also this happens when trying to install openssl
Setting up Install Process

Package openssl-1.0.1e-16.el6_5.7.x86_64 already installed and latest version

Nothing to do

[root@doc ~]#
It is already installed.
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Postby shieldfire » Wed Jun 04, 2014 7:24 am

So basically, what happens is that the installation routine complains about requirements not being fullfiled, but when checking these - they actually do seem to be fullfiled, as everyting seems installed.

The standard reply of "well, then install FOO it is complaining about" doesn't seem to be a valid solution to the problem in this case.
It's all rather confusing.
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Postby shieldfire » Thu Jun 05, 2014 12:39 am

So on the umpteenth try and 3rd day I found this suggestion from last year

a">https://www.zimbra.com/forums/installation/64339-zimbra-8-x-centos-6-nc-missing.html
a
brutal hack, but it got me past the stage where it looks for and doesn't find the requirements that are already installed.

But now, I get another error ...
ERROR: Required Core package zimbra-core not found in ./packages

Exiting

[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# ls

bin docs packages readme_source_en_US.txt util

data install.sh readme_binary_en_US.txt README.txt

[root@doc zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# cd packages/

[root@doc packages]# ls

zimbra-apache-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-core-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-ldap-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-logger-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-memcached-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-mta-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-proxy-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-snmp-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-spell-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

zimbra-store-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm

Umm ... yes it is ...
Brad_C
Advanced member
Advanced member
Posts: 106
Joined: Sat Sep 13, 2014 2:33 am

Where does Zimbra look for missing files?

Postby Brad_C » Thu Jun 05, 2014 5:09 am

The zimbra installation scripts use the system package manager to identify packages, and the check you quote above lives in util/modules/packages.sh which is a bash script.

Why not try running the install script with bash -x so you can actually trace the operation as it does what it does? It would appear you have something that is not right somewhere.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests