Zimbra 8.6 on CentOS 6 errors

Ask questions about your setup or get help installing ZCS server (ZD section below).
test2nn
Posts: 14
Joined: Tue Jun 09, 2015 7:17 am

Zimbra 8.6 on CentOS 6 errors

Post by test2nn »

Hello [mention:b2d2f77aa8834e248d3a7d1d01dc5d2d:e9ed411860ed4f2ba0265705b8793d05]
Thank you.
First the output of ls -l --time-style long-iso /usr/lib64/ is the following:
[View:http://pastebin.com/vC15RLbS:940:0]
For the tracing of the install: I have a noob question: How do I enter a command while installing?
I tried using two ssh connections (1 with the installation and 1 for the command) and the command doesn't give me any output.
Thanks in advance.
tvizirov
Posts: 22
Joined: Fri Jan 23, 2015 10:32 am

Zimbra 8.6 on CentOS 6 errors

Post by tvizirov »

That's ok, when you trace, there shouldn't be an output because all activity is send to a log (/tmp/strace.log). That is the file to send me on my email. After the error is reproduced, check the file that it has logging info, then send it to me.



Thanks.
test2nn
Posts: 14
Joined: Tue Jun 09, 2015 7:17 am

Zimbra 8.6 on CentOS 6 errors

Post by test2nn »

Ah, I understand.

But the command ps -e | grep -i install isn't giving me any output!

So I can't find the PID.



Thanks.
tvizirov
Posts: 22
Joined: Fri Jan 23, 2015 10:32 am

Zimbra 8.6 on CentOS 6 errors

Post by tvizirov »

From the output that you sent me I see this:



lrwxrwxrwx. 1 root root 19 2015-05-13 12:54 libstdc++.so.6 -> libstdc++.so.6.0.13

-rwxr-xr-x 1 root root 0 2015-05-19 08:47 libstdc++.so.6.0.13



It shows that the libstdc++.so.6 is a symlink to libstdc++.so.6.0.13, but on the next line, the libstdc++.so.6.0.13 is shown as 0kb.

You can first find out the package that provides the file:

$ dpkg -S /urs/lib64/libstdc++.so.6.0.13



Then reinstall the same package and finally try the installation again. Let me know.
test2nn
Posts: 14
Joined: Tue Jun 09, 2015 7:17 am

Zimbra 8.6 on CentOS 6 errors

Post by test2nn »

Thank you.
Because I use CentOS I have used # rpm -qil /urs/lib64/libstdc++.so.6.0.13
Output is "package /urs/lib64/libstdc++.so.6.0.13 is not installed"
I tried installing the package libstdc++.so.6.0.13 by using yum install libstdc++.so.6.0.13 but got the following output:

yum install libstdc++.so.6.0.13

Loaded plugins: fastestmirror, security

Setting up Install Process

Loading mirror speeds from cached hostfile

* base: mirrors.centos.webair.com

* extras: mirrors.centos.webair.com

* updates: mirrors.centos.webair.com

No package libstdc++.so.6.0.13 available.

Error: Nothing to do
When trying to install libstdc++.so.6 I got the following output.
# yum install libstdc++.so.6
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* extras: mirror.atlanticmetro.net
* updates: mirror.atlanticmetro.net
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.3 MB 00:01
Package libstdc++-4.4.7-11.el6.i686 already installed and latest version
Nothing to do

How would I install this package?
tvizirov
Posts: 22
Joined: Fri Jan 23, 2015 10:32 am

Zimbra 8.6 on CentOS 6 errors

Post by tvizirov »

Oh, yes, sorry.



Can you run this command:



# yum install libstdc++ -y



Then try the install again and let me know if it works.
test2nn
Posts: 14
Joined: Tue Jun 09, 2015 7:17 am

Zimbra 8.6 on CentOS 6 errors

Post by test2nn »

Thank you.
When running this command I got the following output:
[root@zimbra ~]# yum install libstdc++ -y
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.centos.webair.com
* extras: mirrors.centos.webair.com
* updates: mirrors.centos.webair.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.8 MB 00:08
Package libstdc++-4.4.7-11.el6.x86_64 already installed and latest version
Nothing to do

I did update yum before trying to install libstdc. What am I missing?
Thanks
tvizirov
Posts: 22
Joined: Fri Jan 23, 2015 10:32 am

Zimbra 8.6 on CentOS 6 errors

Post by tvizirov »

Try:



# yum reinstall libstdc++ -y
test2nn
Posts: 14
Joined: Tue Jun 09, 2015 7:17 am

Zimbra 8.6 on CentOS 6 errors

Post by test2nn »

Thank you so much!

The installation finished now!

However I have one problem, when trying to verify the installation by using the su – zimbra -c “zmcontrol status” command I got a error saying:

-bash: zimcontrol: command not found

De webclient isn't working either.



I am sorry to bother you still, you helped me to get further than I have gotten before!
tvizirov
Posts: 22
Joined: Fri Jan 23, 2015 10:32 am

Zimbra 8.6 on CentOS 6 errors

Post by tvizirov »

Glad it worked.





I will summarize the solution:



1. In the install log we saw the following error that terminated the install:



Wed Jun 10 08:39:00 2015 Initializing ldap...

Wed Jun 10 08:39:00 2015 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit

/opt/zimbra/openldap/sbin/slapd: error while loading shared libraries: /usr/lib64/libstdc++.so.6: file too short





2. From the output that you sent me I see this:

lrwxrwxrwx. 1 root root 19 2015-05-13 12:54 libstdc++.so.6 -> libstdc++.so.6.0.13

-rwxr-xr-x 1 root root 0 2015-05-19 08:47 libstdc++.so.6.0.13



It shows that the libstdc++.so.6 is a symlink to libstdc++.so.6.0.13, but on the next line, the libstdc++.so.6.0.13 is shown as 0kb.



We found the package that provides the library:

$ rpm -qf /urs/lib64/libstdc++.so.6.0.13



Then reinstalled the same package and the installation succeed.



---------------------------------------------------------





Now, for your new errors, I suggest to open a new thread in the appropriate forum for that, since it is not going to be classified as installation issue anymore.



There is a little hint in the installation, without much info about it. The error was seen above the error that stopped the install:



----

Wed Jun 10 08:38:26 2015 The previous configuration appears to have failed to complete



Wed Jun 10 08:38:59 2015 Saving config in /opt/zimbra/config.28650...

Wed Jun 10 08:38:59 2015 done.

Wed Jun 10 08:39:00 2015 Operations logged to /tmp/zmsetup06102015-083813.log

---



I suspect this has something to do with it, but I am not sure. It could be other things. So, pls open a new thread for the new problems in the correct forums and people will respond.



Thanks.
Post Reply