Installing Virtuozzo - Missing Dependencies

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

I have a server with RAID 1 failing indicating Drive 1 Not in Use. I have never successfully recovered from a RAID failure because honestly I don't know how. Do I just rebuild the array?

Moving along, I am trying to remotely install Virtuozzo 4.7 and it is telling me that I am missing dependences. I asked for help at Centos and they appear to misunderstood my request and sent me elsewhere.

Virtuozzo is balking at the following dependencies that are need by vzup2ate-4.7.0-6.x86_64 to continue.

libstdc++.so.5 (64-bit)
libstdc++.so.5 (CXXABI 1.2) (64-bit)
libstdc++.so.5 (GLIBCPP 3.2) (64-bit)
libstdc++.so.5 (GLIBCPP 3.2.2) (64-bit)

I am a rookie and your help is most welcome. I cannot screw this up. Are these part of a specific package because I don't see them using YUM and Centos 6.2?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Installing Virtuozzo - Missing Dependencies

Unread post by scott »

I know all about raid failovers, Id be happy to walk you through it.


In regard to virtuozzo, it can be a mess if the distro is customized (and it sounds like yours is). You could start trying to repair it using yum. Those particular libraries belong to Centos 4 normally, they are also available in CentOS 5 as a compatibility package, compat-libstdc++-33-3.2.3-61.x86_64

You can use yum to determine what package provides a library with:
yum provides /usr/lib64/libstdc++.so.5


PS- Im sure your experience with the centos crowd was pleasant and wonderful. :P
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

3ware is assisting me with restoring both drives and rebuilding the array. Kudos to 3ware!

My install is not custom. Since I don't have DVD and CD only I have to do a Netinstall. I have just what it gives me and that is not a complete install.

Any suggestions? I have 25 servers to upgrade and error after error I am already twisted. I have a DVD with a funky j-something connector that converts it to a SATA connector. The problem then becomes that my 3ware controllers a RAID controllers. Can I put a SATA device on an unused port and use it? Otherwise I am stuck with Netinstall and many hassles. They have a LiveCD for 6.3 that I think replaces the Netinstall.

Is there a bootable USB DVD drive that will boot a linux server? I have a DOS bootable Flash drive now. I'll buy it right now!!!

Your help is worth more than you know.

Bob
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

I am trying to see if the SuperMicro motherboard H8DAR-I is USB bootable.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Installing Virtuozzo - Missing Dependencies

Unread post by mikeshinn »

libstdc++.so.5 (64-bit)
libstdc++.so.5 (CXXABI 1.2) (64-bit)
libstdc++.so.5 (GLIBCPP 3.2) (64-bit)
libstdc++.so.5 (GLIBCPP 3.2.2) (64-bit)
Thats usually part of the compat-libstdc++ rpms. Try

yum install compat-libstdc++33

You can also ask yum what packages, if any, might provide something you are missing. For example, for the library you are looking for this command will tell you what rpm to get:

yum provides */libstdc++.so.5

Which returns:

Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* asl-3.0: www5.atomicorp.com
* atomic: www5.atomicorp.com
* base: centos.mirrors.tds.net
* extras: mirror.fdcservers.net
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirrors.tds.net
290 packages excluded due to repository priority protections
asl-3.0/filelists_db | 2.7 MB 00:00
atomic/filelists_db | 557 kB 00:00
base/filelists_db | 5.9 MB 00:00
extras/filelists_db | 13 kB 00:00
rpmforge/filelists_db | 2.2 MB 00:00
updates/filelists_db | 3.1 MB 00:00
compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib/libstdc++.so.5



compat-libstdc++-33-3.2.3-69.el6.x86_64 : Compatibility standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib64/libstdc++.so.5
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

I had already run yum provides */libstdc++.so.5 and it didn't do anything useful.
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

[root@hw004 ~]# yum install compat-libstdc++
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: linux.mirrors.es.net
* extras: yum.phx.singlehop.com
* updates: centos.mirror.facebook.net
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 4.1 MB 00:00
Setting up Install Process
No package compat-libstdc++ available.
Error: Nothing to do
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Installing Virtuozzo - Missing Dependencies

Unread post by mikeshinn »

Somethings wrong with your Centos install, or your yum configuration. Try that command again:

yum install yum install compat-libstdc++-33

That rpm is part of both the Centos 5 and 6 and base repos:

# cat /etc/redhat-release
CentOS release 5.8 (Final)
# yum provides */libstdc++.so.5
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* asl-3.0: www2.atomicorp.com
* atomic: www2.atomicorp.com
* base: mirror.thelinuxfix.com
* extras: centos-mirror.jchost.net
* updates: mirror.team-cymru.org
Excluding Packages from Plesk Server Administrator
Finished
compat-libstdc++-33-3.2.3-61.x86_64 : Compatibility standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib64/libstdc++.so.5



compat-libstdc++-33-3.2.3-61.i386 : Compatibility standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib/libstdc++.so.5



compat-libstdc++-33-3.2.3-61.i386 : Compatibility standard C++ libraries
Repo : installed
Matched from:
Filename : /usr/lib/libstdc++.so.5

# cat /etc/redhat-release
CentOS release 6.3 (Final)
# yum provides */libstdc++.so.5
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* asl-3.0: www5.atomicorp.com
* atomic: www5.atomicorp.com
* base: centos.mirrors.tds.net
* extras: mirror.fdcservers.net
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirrors.tds.net
290 packages excluded due to repository priority protections
compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib/libstdc++.so.5



compat-libstdc++-33-3.2.3-69.el6.x86_64 : Compatibility standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib64/libstdc++.so.5
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

I know that it is easy to blame my installation. It isn't my installation, it is the installation provided by Centos. I have not done any tricks without because frankly I don't know any :) I used Netinstall, which asks for the HTTP or FTP path to a server and it gets the files. Virtuozzo then does it';s thing and that is beyond my control as well. I am sorry that you have a preconceived notion. The first server I installed 6.2 did not do this. The 2nd is. The question is why.

The server is unused so I may as well install 6.3.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Installing Virtuozzo - Missing Dependencies

Unread post by mikeshinn »

I'd be pretty worried if this:

yum install compat-libstdc++-33

Doesnt work on your system. Its part of the base, if thats missing I'd be concerned the box isnt actually pointing to the real Centos repos.
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

Gentlemen,

I installed Centos 6.2 using the Netinstall CD for 6.2. I then installed Virtuozzo 4.7 without issue.

Today I attempted to install Virtuozzo 4.7 to a server that already has Centos 6.2 on it and hit the errors.

Suggesting that less than real Centos repo's have been installed serves no purpose.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Installing Virtuozzo - Missing Dependencies

Unread post by mikeshinn »

You're right, it's not your install. I see what you did now, you didn't type in the full command:

yum install compat-libstdc++-33

You typed in:
[root@hw004 ~]# yum install compat-libstdc++
The correct command is:

yum install compat-libstdc++-33
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

The joys of cut and paste.
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

It's great to figure out my cut and paste error, but the bigger question is how a person can install Centos without a DVD reader. I mean, the H8DAR-I mobo is a great board as far as dual AMD's go and coupled with 3Ware RAID do just fine. The only choice is 6.3's LiveCD or Netinstall. I know from experience that they don't install everything. When going to install Virtuozzo 4.7 is balks because something IS missing. Not because I didn't do something right, but because it isn't part of the minimal package established by Centos. I like their distro and will continue to support it. But it has gotten so big that they no longer use CD's. I cannot afford 25 new servers.
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: Installing Virtuozzo - Missing Dependencies

Unread post by KrazyBob »

Correcting my mistake allowed me to successfully install Virtuozzo 4.7. No one likes to be wrong but we humble through. Thank you.

Bob
Post Reply