Freitag, 11. November 2011

MSA20 Commands

HP MSA20 (SATA shelf) are capable of showing some details via serial line connection:

MSA20-CLI> show log

MSA20-CLI> show globals

MSA20-CLI> show version

MSA20-CLI> show stats

MSA20-CLI> show units

MSA20-CLI> show disks

MSA20-CLI> showsmarterrors

MSA20-CLI> show batteries

MSA20-CLI> show cache

Dienstag, 21. Juni 2011

UFW and IPv6 on debian (squeeze)

After one hard hour I figured out that ufw (the uncomplicated firewall, blocks all IPv6 traffic (even outgoing ICMPv6 and NDP). All you have to do to enable IPv6 is




service ufw restart

Donnerstag, 9. Juni 2011

Etherpad installation on debian

I installed Etherpad 1.1 via the debian repo After answering questions about the database connection I had to change some scripts.

First /etc/init.d/etherpad:


Simple reason: etherpad is not located in /usr/local...

Second /usr/share/etherpad/etherpad/bin/

"ps auxww|grep etherpad" returns (after running "/etc/init.d/etherpad start") something like this:

etherpad 18919 191 10.6 1389780 216948 ? Sl 13:39 1:39 /usr/lib/jvm/java-6-sun/bin/java -classpath appjet-eth-dev.jar:data:lib/dnsjava-2.0.6.jar:lib/jbcrypt-0.3.jar:lib/jcommon-1.0.15.jar:lib/jfreechart-1.0.12.jar -server -Xmx903M -Xms903M -Djava.awt.headless=true -XX:MaxGCPauseMillis=500 -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSIncrementalSafetyFactor=50 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:./data/logs/backend/jvm-gc.log -Dappjet.jmxremote=true net.appjet.oui.main --configFile=./etc/ --maxThreads=225

I was wondering about --configFile (especially the leading dot). This led to:


Next, I recognized that there is no /etc/ but a /etc/etherpad/ (See So a simple "ln -s /etc/etherpad/ /etc/" did the rest.

Last but not least the server got a "/etc/init.d/etherpad restart" and everything works fine.

Update: CPU usage is at 100% because of headless soffice process. What I tried is editing /etc/

-etherpad.soffice = /usr/bin/soffice
+etherpad.soffice = /usr/share/etherpad/soffice

/usr/share/etherpad/soffice is an emtpy executable.

The result: 100%, soffice process still running. It turned out, that this is a very static call:


-exec /usr/bin/soffice -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service" &
+#exec /usr/bin/soffice -headless -nofirststartwizard -accept="socket,host=localhost,port=8100;urp;StarOffice.Service" & export will not work with this setting but load average is fine.