sobota, 5 lipca 2008

CentOS 5.1 -> 5.2. Yum update problem

Today I wanted to update my CentOS 5.1 Server to current release - CentOS 5.2. After #yum update I got an error:
Error: Missing Dependency: libegroupwise-1.2.so.12 is needed by package evolution
and no update possible. After couple moments my amazing brain foud resolution (I really have no idea how it - brain - knows those things ;) ).

I downloaded .iso of CentOS 5.2 and mounted it in loop mode:

#mount -o loop /path-to-iso/CentOS-5.2-i386-bin-DVD.iso /mnt/cd
#cd /mnt/cd/CentOS/
#for i in *.rpm
> do
> yum localupdate $i
> done

.... and here I made mistake. Much more smarter would be: > yum -y localupdate $i . I had to spent two hours typing y, Enter :/

Anyway, it's one of resolutions but I have to find better because in company I work there is about 20 servers to be updated and this way is not very efficient.

poniedziałek, 28 kwietnia 2008

Hardy and VmWare

Hi, there is new version of ubuntu/kubuntu. It is very easy to upgrade ... if you believe in fairy tales.

In fact, it's completely unpredictable. If you have a lot of packets (I have about 2k) it is almost 100% sure that you will destroy your system.

There is resolution. Try to do it without logging into kde/gnome. Just console. apt-get dist-upgrade should work fine. I don't guarantee but it should :) . If it's not then check if file /etc/apt/sources.list contains 'gutsy' or 'hardy' lines. If still gutsy then copy file to some .old file and do #sed 's/gutsy/hardy/g' sources.list.old > sources.list and then #apt-get dist-upgrade. After couple of hours of fixing broken dependencies I have new updated kubuntu :D

One more big bug I just found is problem with VmWare Server. Simply, not working. Its common with VmWare that it's not working with new kernels and Hardy uses 2.6.24-16 (Thats why I like centos - old kernels ;)). There is quite fast way to resolve.

I used this post and it works.

piątek, 28 marca 2008

CentOS 5.1 and amanda ssh option

Hi,

I really don't have time. There is a lot interesting things I'm doing but no time for describing.

Last time I found the problem with auth "ssh" option in CentOS 5.1 amanda package. This option is included in amanda 2.5.0p2-4 version (which CentOS 5.1 contains) but can't use additional and required options. Those are ie.: ssh_keys "/var/lib/amanda/.ssh/id_rsa" and others. Additionally I found that this amanda version (I mean CentOS) is, a little bit different then provided by amanda team. Anyway. I decided to use rpm provided by zmanda for rhel4 (server client). There is no problem with this package on CentOS 5.1 so you can use it. All the options with ssh, key authentication, and others - just works. Some can ask why this version if there is new version with package for rhel5. Answer: I usually do not install newest versions.

I won't describe installation process but I'll post couple of useful links:
http://www.zmanda.com/quick-backup-setup.html (really helpful)
http://www.djatlantic.net/?p=268 (additional info about packages for rhel5)

środa, 23 stycznia 2008

Web calendar

This is first post about services I installed/found/whatever. I think it could be useful. Sometimes it's hard to find suitable resolution.

I've been looking for easy and functional web shared calendar. It should be light, fast, should have mail reminders functions. Any other functionalities are welcome but this shouldn't be overloaded.

After couple days of searching I found perfect one. It's written in PHP so it's light enough and has all functionalities I wanted. Here is a link to developer site. It looks very simple and minimalistic but you can create own CSS style to make it look better. I don't think it is worth of print screen right now because I don't have such CSS style yet.