Virtualmin/CentOS5 on Amazon EC2

13 posts / 0 new
Last post
#1 Sun, 12/12/2010 - 16:37
lp86

Virtualmin/CentOS5 on Amazon EC2

I set up a instance with the AMI provided by virtualmin, it looks great, however when I tried to "yum update" the machine I got this.

"Error: Missing Dependency: libGeoIP.so.1 is needed by package proftpd"

Anyone have any clues where I can get that from? And why is isn't provided by the repo.

Sun, 12/12/2010 - 17:02
helpmin

Did you try "yum install GeoIP"? It would be also great if you could provide more details about your distro for questions like this.

Sun, 12/12/2010 - 17:36
lp86

Its the AMI template that is provided by Virtualmin, Its CentOS 5 with Virtualmin.

[root@ip-10-243-43-95:/] yum install GeoIP Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Nothing to do

[root@ip-10-243-43-95:/] cat /etc/redhat-release CentOS release 5 (Final)

[root@ip-10-243-43-95:/] uname -a Linux ip-10-243-43-95 2.6.16-xenU #1 SMP Mon May 28 03:41:49 SAST 2007 i686 i686 i386 GNU/Linux

Here is where I found the info for the AMI at http://www.virtualmin.com/documentation/aws/virtualmin_gpl_ami

Sun, 12/12/2010 - 18:24
helpmin

Sorry, overlooked that part. But here is my guess. The virtualmin guys updated very recently proftpd from 132 to 133 in their repository (it is not a standard centos package). Probably they didn't test it with their AMI image? Maybe you can exclude proftpd somehow during the update. But I don't really know what I am talking about, I guess Eric knows more :-)

Sun, 12/12/2010 - 20:21
lp86

The AMI image is really messed up, after I updated the system (everything except proftpd) I rebooted and now I can't get into the machine.

Sun, 12/12/2010 - 20:44
andreychek

There could be a missing dependency in regards to the newly available ProFTPd -- I'd be curious what "yum search geoip" shows on there.

However, I'm not sure why you wouldn't be able to access your server after rebooting... are any of the services on your server available? If not, does Amazon provide an interface where you can access the console and see any error output? If so, knowing what errors you're seeing on the console would be helpful.

-Eric

Tue, 12/14/2010 - 08:54
BossHog

Hi yall,
one of the things I've found to be helpful when seeing odd output with yum can be caused from repo data being out of sync.
If you see output that wasn't expected try doing a "yum clean all", this will clear out cached packages and grab fresh repo data.
I'm sorry that I don't have anything to offer to help you out, but I was seeing the same problem about a week ago and did the above which allowed the updates to run as expected.
Joe

Thu, 12/16/2010 - 10:23
helpmin

I tested this myself, but couldn't make it work either. I tried "yum clean all", but it didn't help. It doesn't seem to be possible to update this image. Any ideas how we could update?

Thu, 12/16/2010 - 10:35
helpmin

There is another problem with that image:

Transaction Check Error: file /etc/logrotate.d/syslog from install of sysklogd-1.4.1-46.el5 conflicts with file from package syslog-ng-1.6.12-1.el5.centos

Fri, 12/17/2010 - 08:20
simp

I am having the same problem...

Upon doing a package update, proftpd does not update, and the image does not restart.

I will hold off on doing an update until this is resolved.

Sat, 12/18/2010 - 08:06
andreychek

Are you guys able to see any sort of console message that might suggest why your system isn't booting up?

As far as ProFTPd is concerned -- I'm curious what output you see if you type:

rpm -qa | grep proftpd

Sat, 12/18/2010 - 10:19
lp86

I fixed this:

Transaction Check Error: file /etc/logrotate.d/syslog from install of sysklogd-1.4.1-46.el5 conflicts with file from package syslog-ng-1.6.12-1.el5.cento

by doing this

yum remove syslog-ng

I was able to update everything else besides proftpd

The version of proftpd that was on the image was 1.3.0 I think, it was missing this

"Error: Missing Dependency: libGeoIP.so.1 is needed by package proftpd"

I manually installed the library and it still didn't work.

Thu, 12/23/2010 - 14:50
Joe Pro Licensee
Joe's picture

Oops. I forgot to add this new dependency to our GPL repo linking script. Fixed now.

--

Check out the forum guidelines!