RHEL6.4 and NX

Be careful if you update to RHEL6.4 and you are using NX. RHEL6.4 removes the  keymap.dir and this breaks NX at the moment.

To fix this, simply do a touch /usr/share/X11/xkb/keymap.dir. It looks like that RedHat will not fix this, because the file layout of xkeyboard-config is not part of the fixed ABI/API. The Centos guys are aware of this, and I hope they will fix this instead.

More infos:
Centos
FreeDesktop
RedHat BZ

Posted in Enterprise Linux, Fedora, Linux | Tagged | Comments Off on RHEL6.4 and NX

Todo after a Fedora upgrade

Even with the new fedup tool to upgrade. There are a couple of commands I use always after an upgrade. I suggest you use them too:

  1. yum distro-sync
  2. package-cleanup –problems
  3. package-cleanup –orphans
  4. rpmconf -a -fvimdiff
  5. rpmorphan

Helps to keep your Fedora installation clean.

 

Posted in Fedora, Linux, Uncategorized | Tagged | 1 Comment

python virtualenv

After joining my local LUG at the python workshop and because I start using more python now. Here some hints and tools that I’m using a lot lately.

virtualenvwrapper

Install it with pip install virualenvwrapper or yum install python-virtualenvwrapper.noarch.

Create new Enviroments with: mkvirtualenv ENV

Jump into the Env: workon ENV

jump out of Env: deactivate

Posted in python, Uncategorized | Tagged | Leave a comment

ArgoEclipse is dead and broken

If you are using ArgoUML and thought “Hey, its written with Eclipse, lets try using it inside Eclipse”. I’m pretty sure you search found ArogEclipse.

Please be aware this project looks very dead. I tried to open an perfectly good zargo file with it and it tells me it is broken. The Version is from 2010. Please use the standalone Version ArgoUML!

Posted in Fedora, Linux, Uncategorized | Tagged | Leave a comment

Two enterprise Linux boxes are talking to each other, or not

I setup a  RedHat Enterprise Box that should serve as a httpd server for a Suse Enterprise Server zypper repository and it don’t work.

Simple curl also don’t work. If you use curl -1 or curl -3 it works like a charm, curl without option I get the following error message:

Error code: Unrecognized error
error message: error: 14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

After some wiresharking I found the solution. You have to set a ServerName in the ssl VirtualHost. Yes, I know the hostname/CommonNamem is already in the sslcert you are using, but you have to repeat it in the config file there, otherwise some older version of openssl (like the one from SLES11) will run into this kind of problems.

Posted in Enterprise Linux, Linux, Uncategorized | Tagged | Leave a comment

For the Apple hater

I bought an IPhone for my mum this morning and had an interesting experience. Firefox on Mac showed the shop with a  “Please wait” sign, and with Safari the shop was open and ready to order. I Pressed Ctrl+Shift+r for real reload, but still “Please wait”. Both on the same machine. Did someone had the same experience, or was that simple bad luck?

Posted in personal | Tagged | 2 Comments

Enterprise Software

I have seen a lot of broken and bad RPM packages.
From vmware packages that contains one big tarfile and the rpm-postscript uncompressed this into a directory.
To test scripts from Oracle DB 11.2 that does not detect the 32bit libraries from Oracle Linux 6.3 because it looks for i386 instead of i686.

I get used to that. But Hitachi just shot the hoop.

You can not install the Hitachi Software if the rpm is not in /media/cdrom/rpms/,the postscript is over 10000 lines and the x86_64 packages requires 32bit libraries.

I start to think that Enterprise Software is an alias for broken packages and bad software installations.

Posted in Enterprise Linux, Linux, Uncategorized | Tagged | 3 Comments

That happens if you put to much output on your serial console

We searched for multiple days why one of our cluster machines was hanging for a couple of seconds, before it was fenced. We found out that the iptables LOG did put to much output onto the serial.

I wrote a kernel module to create a hugh amount of messages, and the serial line got scrambled. I got this output on the serial:

[  222.111488] Clocksource tsc unstable (delta = -60129537542 ns).  Enable clocksource lover by adding clocksource_failover kernel parameter.
but this in the syslog:

[  222.111488] Clocksource tsc unstable (delta = -60129537542 ns).  Enable clocksource failover by adding clocksource_failover kernel parameter.
The romatic guy in me wants to keep the serial version 🙂

Posted in Enterprise Linux, Linux, Uncategorized | Tagged | Leave a comment

Oracle vs. Centos

As a lot of people have noticed Oracle is offering a “conversion” script to move from Centos to Oracle Linux. Of course it is not really a conversion, it only moves the yum repos from Centos to Oracle. The existing packages are not touched. If you want a complete conversion have a look at my page about moving from Centos to Scientific Linux. You could use the same mechanism to move from any RHEL-based system to any other RHEL-based system.

I checked the announcement mails for the last kernel update RHSA-2012:1156-01. Here the recieved time for the mail on my mailserver.

RedHat: 14 Aug 2012 20:25:42 +0200 (CEST)
Centos:   15 Aug 2012 06:26:25 +0200 (CEST)
SL: 15 Aug 2012 16:36:55 +0200 (CEST)
Oracle: 15 Aug 2012 22:10:25 +0200 (CEST)

With this information in mind this Graph  looks “interesting”.

But overall I like the idea that nowadays we are talking about hours of delay instead of days or weeks between Red Hat and the Clones.

Posted in Enterprise Linux, Linux, Uncategorized | Tagged | Leave a comment

new packages for my default install

In the last couple of week I added 3 new packages to my default install:

1.) atop is a very good extension of top, it includes disk and network utilization among other things.

2.) mosh is a ssh replacement / addon, that switches from TCP to UDP and makes it possible to keep you sesstion open even with a new IP address.

3.) lzop very fast compress/uncompress, very good for disc images via network.

My current default post install list for a Fedora or RHEL list is:

yum install iptraf acpid man bind-utils vim-enhanced nc zip unzip wget etckeeper links screen yum-utils lsof bash-completion ddrescue dos2unix dstat lftp links hdparm smartmontools jwhois kexec-tools mc mcelog memtest86+ mmv mtr nmap ntp openssh-server pbzip2 rng-tools sysstat vconfig vlock lzop atop mosh

I normally install minimal, so some of them are already installed in normal installations. I also added EPEL packages when on EL.

Posted in Enterprise Linux, Fedora, Linux, Uncategorized | Tagged | Leave a comment