Friday, January 27, 2012

Nepomuk reindexing everything after restart

Nepomuk reindexing everything after restart
In your ~/.kde[4]/share/config/nepomukstrigirc file is the the the "first run=" option false?

Tuesday, January 17, 2012

PV-HWM drivers OracleVM 3.0.2 - 3.0.3

In file /etc/modprobe.conf this should be present

#alias eth0 8139cp
#alias scsi_hostadapter ata_piix
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
alias sym53c8xx off
alias scsi_hostadapter xen-vbd
alias eth0 xen_vnif

and initrd shut be regenerated

mv /boot/initrd-2.6.18-274.el5.img /boot/initrd-2.6.18-274.el5.img.old ;
mkinitrd -v /boot/initrd-2.6.18-274.el5.img 2.6.18-274.el5 --with=xen-vbd --with=xen-vnif --preload=xen-balloon --preload=xen-platform-pci

LVM filter update

After LVM filter update LVM cache has to be removed

# By default we accept every block device:
#filter = [ "a/.*/" ] default
filter = [ "a|/dev/mpath/notblacklisteddevice|", "r|.*|" ]

rm /etc/lvm/cache/.cache
vgscan

Thursday, May 26, 2011

Check Linux services on different maschines

chkconfig --list |grep "5:on"|sort >remote-service-list.txt
chkconfig --list |grep "5:on"|sort >local-service-list.txt
diff -b remote-service-list.txt local-service-list.txt |grep "<" |awk '{print $2}' >diff-service.txt

Friday, May 6, 2011

Using a proxy for apt-get in Ubuntu

Easy way to get apt-get to work with a proxy in Ubuntu
Place the following settings into the file /etc/apt/apt.conf.d/proxy:
Acquire::http::Proxy "http://proxy:8080";

Wednesday, February 9, 2011

Strace forked subprocess


How to attach strace to a forked process
Run this to see the forked process

strace -f ruby -e 'fork' 2>&1 | egrep -A1 '^(fork|clone)'

strace -f ruby -e 'syscall 57' 2>&1 | egrep -A1 '^(fork|clone)'

Run this to log debug of forked process in to log.txt

strace -f ruby -e 'fork' >log.txt 2>&1

strace -f ruby -e 'syscall 57' >log.txt 2>&1

Uroš

Tuesday, February 8, 2011

IBM Lotus NOTES Linux client 8.5.1 8.5.2 does not start

After unpacking Lotus Notes installation for the first run as user write file permission are required on file /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini

chmod 777 /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini

Uroš