Archiv des Autors: admin

Wenn einer eine Reise tut

Genervt von der Verkehrssituation der vergangenen Wochen und der Tatsache, dass ich derzeit 1:30 Stunden für meine Fahrt zur Arbeit brauche, keimte in mir der Wunsch auf, mal wieder Bahn zu fahren. Das geht zwar nicht schneller, aber man kann dabei lesen, die Äuglein ein wenig zumachen, mit dem Notebook noch ein wenig arbeiten, kurz: Man kann die Zeit sinnvoller für sich selbst nutzen.

Angespornt vom Umstand, dass mein treuer Landrover mal wieder einen Platten hatte (der dritte innerhalb von 2 Monaten) habe ich mich heute morgen um 06:10 auf den Weg zum Bahnhof gemacht. Als moderner Mensch hat man ja kein Bargeld dabei, sondern eine EC-Karte. Als modernes Unternehmen hat die Bahn dafür nicht funktionierende EC-Kartenleser am Fahrkartenautomaten. Also zur Bank, Bargeld abgeholt und den nächsten Zug 40 Minuten später genommen. Dank Stotterfahrt und Trödelei (laut Lautsprecherdurchsage aufgrund irgendeines Kollateralschadens/Unfall aus dem Sommer 2010) verspätete Ankunft in Duisburg. Prinzipiell kein Problem, es fahren ständig Züge von Duisburg nach Düsseldorf.

300 Meter vor Düsseldorf dann aber der Knaller: Der Zug hält an: „Wegen eines Kofferfundes ist der Bahnhof Düsseldorf gesperrt. Der Koffer wird derzeit von der Polizei untersucht“.

Ja, und da stand ich dann für eine Stunde, bevor es endlich weiter ging.

Alles zusammengezählt habe ich damit für die Strecke 3:45h gebraucht. Irgendwie jetzt kein Marketingargument pro Bahn.

Falls es jemanden interessiert: In dem Koffer war nur Müll/Wäsche. Ich habe ihn im Vorbeifahren gesehen – schwer bewacht vom BGS…

Oracle PARALLEL_MAX_SERVERS

If you need to fiddle around with PARALLEL_MAX_SERVERS you will find millions of pages, describing its use and how to set it but you won’t find the hint on how to read it…until now:


select name, value, isdefault, isses_modifiable, issys_modifiable,isinstance_modifiable, isdeprecated, description from v$parameter where upper(name) = 'PARALLEL_MAX_SERVERS';

Changing 32 bit and 64 bit mode on AIX

Recently I’ve been asked to boot an AIX system into 32 bit mode. Switching back and forth between 32 and 64 bit is quite easy with AIX. You need to create a link to the corresponding kernel. Officially IBM advises to boot into service mode first but it’s also possible without that step.

First check which kernel is currently running:
bootinfo -K

To boot from 64 bit into 32 bit:
ln -sf /usr/lib/boot/unix_mp /unix
ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
bosboot -ad /dev/ipldevice
shutdown -r

To boot from 64 bit into 32 bit:
ln -sf /usr/lib/boot/unix_64 /unix
ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
bosboot -ad /dev/ipldevice
shutdown -r
Weiterlesen

WebSphere 5.1 on SuSE Enterprise Server 9 SP4

In case you want to install WebSphere 5.1 on a fresh SLES9 and the installation routine hangs with a

Searching for Java(tm) Virtual Machine...
.

in the console, then try the following before executing the installation routine:

export LD_ASSUME_KERNEL=2.2.5

Installing Oracle 9i on OpenSuSE 10.3

Recently I had a hard time installing Oracle 9i on a SuSE 10.3 system. Oracle 9i is rather old and doesn’t play well with recent Java runtimes, glibcs, changed threading models etc.

I collected a lot of information and finally have been able to get Oracle installed and running.

Prerequesites

Before starting installation please make sure that you have the following packages installed:

  • gcc
  • gcc-devel
  • libaio
  • libaio-devel

Installation procedure

  1. Novell provides a nice package named ‚orarun‘ which installs the needed user, group and sets a couple of kernel parameters you otherwise had to set manually. While you might get away without installing this package, it does a lot of work for you. Although it has been packaged for SuSE Linux Enterprise Server, it works nicely on your OpenSuSE: http://ftp.novell.com/partners/oracle/sles-10/
  2. Install an old Java SDK or runtime. The one you might find on your SuSE installation medium doesn’t work. I used a Java 1.3 SDK for this purpose. Anything newer will the Oracle installation cause to fail. As it is difficult to find these old products at Suns website, here is a link for your convenience:
    http://java.sun.com/products/archive/j2se/1.3.1_14/index.html
  3. Unpack/extract your Oracle 9i installation archive. As i never use cpio for archiving anything I constantly forget the right parameters. It’s „cpio -idmv < filename„.
  4. Use your favourite editor to edit Disk1/install/linux/oraparam.ini. Find the JRE_LOCATION entry there and change it according to your Java installation from step 2.
  5. Start the Oracle 9i installation by executing runInstaller as user oracle (do a „su – oracle“ before).
    1. Note that during installation the tools „Oracle Net Configuration Assistant“ and „Oracle Database Configuration Assistant“ will fail. Ignore that for now.
  6. Change to your $JAVA_HOME/jre/bin (beeing $JAVA_HOME the directory where you have Java installed during step 2). Create a symlink with „ln -s .java_wrapper jre“
  7. Change to your $JAVA_HOME/jre/bin/i386/native_threads.
    Create a symlink with „ln -s java jre“
  8. Change to your $ORACLE_HOME. Remove the JRE link found there and create a new one: „ln -s  JAVA_HOME/jre/ JRE“

You are done. Both tools failing during installation (dbca and netca) should also work now.