Where does Zimbra look for missing files?
Where does Zimbra look for missing files?
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?
-
- Posts: 14
- Joined: Sat Sep 13, 2014 3:53 am
Where does Zimbra look for missing files?
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]
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]
Where does Zimbra look for missing files?
[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?
-
- Posts: 14
- Joined: Sat Sep 13, 2014 3:53 am
Where does Zimbra look for missing files?
Because I'm installing stuff on it - haven't gotten that far yet. It was delivered as a 6.0 server.
-
- Advanced member
- Posts: 57
- Joined: Fri Sep 12, 2014 10:38 pm
Where does Zimbra look for missing files?
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)
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)
Where does Zimbra look for missing files?
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.
-
- Posts: 14
- Joined: Sat Sep 13, 2014 3:53 am
Where does Zimbra look for missing files?
Agreed, and thanks everyone for suggestions. Now at last the server installed =)
Where does Zimbra look for missing files?
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/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
-
- Advanced member
- Posts: 75
- Joined: Sat Sep 13, 2014 2:29 am
Where does Zimbra look for missing files?
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)
(_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)
Where does Zimbra look for missing files?
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/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/