Archive for the ‘Work’ Category

openssl with version information under sles11sp1

If you getting errors like this one $ /path/to/program /usr/lib/libcrypto.so.0.9.8: no version information available you need a libcrypto.so and a libssl.so with version information. Here are some information about the problem. openssl has evolved to a very important library in Linux distribution. A lot of cryptographic applications link to it including system libraries like pam [...]

JBoss Cluster – ServerPeerID

$SERVER/deploy/messaging/messaging-service.xml <attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute> For clustered environment each jboss node need a unique ServerPeerID which must be a valid integer.

Linux Virtual Tape Library

to save for later… mhvtl – A Linux Virtual Tape Library http://sites.google.com/site/linuxvtl2/ That could be a really nice backup solution.

Nagios plugin for JBoss monitoring – check_ajp

Released check_ajp v1 – see here

Create a shared disk for VMware ESX guests

To create a shared disk between two or more VMs, login into one of your ESX hosts and create a disk image. cd /vmfs/volumes/#volume-name#/#vm-name#/; vmkfstools -d thick -a lsilogic -c 50G shareddisk.vmdk; Add the new hardrive to the guest(s) and select a new SCSI bus (like SCSI 2:0). VMware create a new SCSI controller. Set [...]

Apache Tomcat & logrotate

Some linux distribution are shiped without a config for the catalina.out (Tomcat application server) $ cat /etc/logrotate.d/tomcat /var/log/tomcat/base/catalina.out { compress copytruncate create 644 tomcat tomcat rotate 30 size 4M } The catalina.out will be rotated after 4 mb and stored for 30 days (/var/log/tomcat/base/catalina.out.1; /var/log/tomcat/base/catalina.out.2.gz and so on)

SLES11, SLES10 SP3, grml64 on HP DL360-G6

Wozu gibt es zertifizierte Hardware(listen), wenns dann doch nicht geht ? Ein HP DL360-G6 mit einer NetXtreme BCM5709 Netzwerkkarte soll unter SLES10 (SP3) und SLES11 (GM) funktionieren (Quelle: HP und Novell). Aber irgendwie gehts dann doch nicht Selbst mit dem HP ProLiant Support Pack (Version 8.30) ging es nicht. Auch die md5sum vom bnx2.ko Modul, [...]

Benchmarking Tape drives

Generally it is much better to create a ramdisk for this benchmark: # mount -t tmpfs -o size=10G tmpfs /tmp/ramdisk; or # dd if=/dev/zero of=/dev/ram bs=1M count=10000; # mkfs.ext3 /dev/ram; # mount /dev/ram /tmp/ramdisk -o loop; Normally your harddisk is to slow for a LTO3/4 or a Jaguar2/3 drive Create a 5G or 10G file [...]

Xen virtualization with Intel-VT

Hej, for a training i needed some pcs with a virtualization technology preferably from Intel (VT). The easiest way is to buy some pc components and to build thereof a pc. After my last selfmade pc i’m a little bit impaired on that score. So i needed a pre-build pc with a intel cpu, gigabit [...]

Debian Lenny – OCF Resource Agent o2cb Bug

Lenny Stable ? Ohne RC-Bugs ? Im heartbeat Paket hat sich ein kleiner Fehler versteckt (ist schon gemeldet). Wenn ihr versucht, mit heartbeat eine ocfs2 Resource via o2cb zumanagen, wird das nicht gehen Der Grund ist, dass ein $ vergessen wurde im OCF Resource Script (Zeile 314). Folge ist, dass die ocfs2/o2cb Resource nicht startet. [...]