Year: 2013

Default LANG and Locale on a Redhat Enterprise Linux (RHEL) host.

I had a strange configuration on RHEL causing screen/cygwin/dialog/ncurses to interact badly with eachother. My situation: I have cygwin on my laptop installed. I am using it to connect to a RHEL 5 host , there I start screen and then use an ncurses application like dialog or midnight commander. What happens: The system is …

Default LANG and Locale on a Redhat Enterprise Linux (RHEL) host. Read More »

Datacenter Oliekoets

Just a quick update, to let you all knowing that the private datacenter is now redundant IaaS. The only thing it does not offer (yet) is a redundant network. The main cluster filesystem is spread over 4 hosts on 2 locations, which should improve reliability. Its also reliable to assume, that when you mirror hardware …

Datacenter Oliekoets Read More »

Saturdaynight Ubuntu puzzle

For the Unix saturday night puzzle entry: #!/bin/bash cat $1|while read EMPID FIRST INIT LAST JOB SEX DATEX SAL EXT1 EXT2 do if [[ ${SAL} == “” && FIRST != “” ]]; then SAL=${DATEX} DATEX=${SEX} SEX=${JOB} JOB=${LAST} LAST=${INIT} INIT=””; fi let DATEPOCH=`date -d “$DATEX” +%s 2>/dev/null` 2>/dev/null let DATEPOCH=${DATEPOCH}-1 DATEX=`date –date @${DATEPOCH} +”%Y-%m-%d”` if [[ …

Saturdaynight Ubuntu puzzle Read More »

Deleting lost+found is a bad idea

I recently came across an oracle redhat linux server without lost+found. It had been deleted because oracle needs an empty directory on installation. Albeit this is an insane rule, deleting an important system directory is a really bad idea. I will tell you why.