Where does Zimbra look for missing files?

Ask questions about your setup or get help installing ZCS server (ZD section below).
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Where does Zimbra look for missing files?

Post by phoenix »

It sounds to me like you have a corrupt installation, as I mentioned earlier I've been installing ZCS on CentOS (clean installs of CentOS and upgraded servers) for a long time without problems. Is this actually a clean install of CentOS6 (minimum server install?) then fully updates or is it some form of VM?
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?

Post by shieldfire »

Ah, that was usefull =)
I get [QUOTE]+ for i in '$CORE_PACKAGES'

+ findLatestPackage zimbra-core

+ package=zimbra-core

+ latest=

+ himajor=0

+ himinor=0

+ histamp=0

++ ls './packages/zimbra-core*.deb'

+ files=

+ file=

+ '[' '!' -f '' ']'

+ echo 'ERROR: Required Core package zimbra-core not found in ./packages'[/QUOTE]
It seems that the package for RHEL and CentOS looks for a deb-file? It won't find one on a rpm-based system ... so of course it will fail.

I'm not finding any lines with *.deb in that file though...
EDIT: this however comes from bin/get_plat_tag.sh which has a line that looks for a /etc/redhat-release file.

In that it looks for

[QUOTE]

grep "CentOS release 6" /etc/redhat-release > /dev/null 2>&1

# Treat CentOS as RHEL

if [ $? = 0 ]; then

echo "RHEL6${i}"

exit 0[/QUOTE]
While my redhat-release file says
[QUOTE]CentOS Linux release 6.0 (Final)[/QUOTE]
Another EDIT: changing the line in this file also seems to solve the mystery of the missing requirements.
[QUOTE]Checking for prerequisites...

FOUND: NPTL

FOUND: nc-1.84-22

FOUND: sudo-1.7.2p2-9

FOUND: libidn-1.18-2

FOUND: gmp-4.3.1-7

MISSING: libaio

FOUND: /usr/lib64/libstdc++.so.6[/QUOTE]
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Where does Zimbra look for missing files?

Post by phoenix »

[quote user="shieldfire"]Ah, that was usefull =)CentOS Linux release 6.0 (Final)[/QUOTE]Why have you not updated your server to the most recent CentOS 6.5?
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?

Post by shieldfire »

Because I'm installing stuff on it - haven't gotten that far yet. It was delivered as a 6.0 server.
magnus.moren
Advanced member
Advanced member
Posts: 57
Joined: Fri Sep 12, 2014 10:38 pm

Where does Zimbra look for missing files?

Post by magnus.moren »

From the Release Notes:
Preparing Your OS

Before you upgrade ZCS, Zimbra recommends that the operating system is

updated with the latest patches that have been tested with ZCS.
I have installed Zimbra on RHEL over many years and never seen those problems.

(RHEL 4.x, 5.x and 6.x and Zimbra as old as version 4.5.x. Have 8.0.6 in production, multi-server, right now)
Brad_C
Advanced member
Advanced member
Posts: 106
Joined: Sat Sep 13, 2014 2:33 am

Where does Zimbra look for missing files?

Post by Brad_C »

File that trick away for the future. It's really, really handy to watch batch files being interpreted line by line when things are going wrong. I only wish I could do the same thing for make.
shieldfire
Posts: 14
Joined: Sat Sep 13, 2014 3:53 am

Where does Zimbra look for missing files?

Post by shieldfire »

Agreed, and thanks everyone for suggestions. Now at last the server installed =)
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Where does Zimbra look for missing files?

Post by quanah »

There were serious issues with RHEL/CentOS in 6.2 and previous. You must run 6.3 and later. You should update to 6.3 or later PRIOR to installing Zimbra.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
10119metux
Advanced member
Advanced member
Posts: 75
Joined: Sat Sep 13, 2014 2:29 am

Where does Zimbra look for missing files?

Post by 10119metux »

Such things usually happen, when software isn't packaged directly for certain distros

(_including_ proper package repositories) and instead people hack up strange

installation programs that should work for all distros (which they obviously dont).
This is also the reason why then also ship on instances of tons of 3rdparty libs,

just because on some distro version there had been some bug in package X

several years ago. Even zimbra uses packages (somehow), it still pushes them

in using low-level tools (dpkg, rpm, etc), instead of using repositories.
Such things are really sucking for the operators.
(yes, I know, other companies haven't ever heared of packaging at all)
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Where does Zimbra look for missing files?

Post by quanah »

I suggest you know what you're talking about before responding. The issues in 6.2 and earlier were related to serious kernel bugs, and have zero to do with packaging, etc.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Post Reply