yum huge issue - can't install anything!

Issues related to applications and software problems
Post Reply
MonkY
Posts: 4
Joined: 2010/07/13 17:16:51
Contact:

yum huge issue - can't install anything!

Post by MonkY » 2011/08/11 20:03:46

I just bought a dedicated server that came with CentOS 6 x64 and cPanel/WHM. The first thing i wanted to do is to install mc (midnight commander) & htop (a better version of top).
Unfortunatelly, yum reports this whatever i try to do (even help):

root@server [~]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

liblber-2.4.so.2: failed to map segment from shared object: Cannot allocate memory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.5 (r265:79063, Jun 25 2011, 08:36:25)
[GCC 4.4.4 20100726 (Red Hat 4.4.4-13)]

Can you please help me fix this?
Thank you in advance!

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

yum huge issue - can't install anything!

Post by gerald_clark » 2011/08/12 16:47:45

Talk to your hoster, or cPanel support.
Sounds like you need more RAM assigned to your VPS.
You can try stopping all unneeded services during the yum install
( httpd and mysqld come to mind. )

MonkY
Posts: 4
Joined: 2010/07/13 17:16:51
Contact:

Re: yum huge issue - can't install anything!

Post by MonkY » 2011/08/16 00:30:16

[quote]
gerald_clark wrote:
Talk to your hoster, or cPanel support.
Sounds like you need more RAM assigned to your VPS.
You can try stopping all unneeded services during the yum install
( httpd and mysqld come to mind. )[/quote]
RAM is definatelly not an issue as i have 6GB RAM and only use the minimal install (only one small website for now).
So, what else can be the problem?

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: yum huge issue - can't install anything!

Post by r_hartman » 2011/08/16 10:17:00

As [b]Gerald[/b] said: Talk to your hoster.
You've obviously been provided with something that's broken.

Given the presence of cPanel, you may not even have real CentOS, but a derivative.

Please post the output of
[code]$ uname -r[/code]
or, [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]even better[/url], the output of
[code]# [b]./getinfo.sh package[/b][/code]

Post Reply