show harddisk and cpu temperature with Ubuntu
To configure a Ubuntu (Intrepid) to show sensor data in desktop panel, simply install sensors.
With my new mainboard and ICH10 chiptset, i haven’t got access to hard disk and cpu temperatures,
i only got
“Sensors type ACPI zones”
apt-get install xfce4-sensors-plugin sensord i2c-tools
apt-get install xsensors
After that run as root:
sudo sensors-detect
It added “coretemp” to /etc/modules.
Additionally you need to let sensors plugin get access to hddtemp to read harddisk temperatures as user:
chmod u+s /usr/sbin/hddtemp
Then you need reboot your system.
Voila! CPU and hard disk temperatures are displayed.
Very nice is, that i can set Min/Max for the color display.

The ACPI thing didn’t work, but that’s okay for the moment.
2 comments Friday, 31 October 2008
google-syntax-highlighter for wordpress
to get better source code formatting in wordpress, use this the plugin Google-Syntax-Highlighter.
It formatted my source code, especially XML better than SourceCode Pro.
- Extract plugin into /wp-content/plugins directory.
- Activate the plugin.
- Specify your code snippets in your blog post
usage: pre name="code" lang="xml"
Add comment Monday, 20 October 2008
netbeans 6.5 installer issue
on my second Ubuntu Hardy (64-bit) i got an issue with installing netbeans 6.5beta:
~/Desktop$ ./netbeans-6.5beta-linux.sh
bash: ./netbeans-6.5beta-linux.sh: /bin/sh: bad interpreter: Text file busy
googled a litte bit and found a tip from morris 007:
my file permission were corret, yet, but starting installer with sh solved above error message:
~/Desktop$ sh netbeans-6.5beta-linux.sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
Interesting is also, that there seems to be differences between the MacOS and Linux distribution of Netbeans 6.5beta.
On MacOS i didn’t got the “select pack” screen during installation procedure:
Add comment Tuesday, 19 August 2008
Updated: Netbeans 6.5 beta now available
Today it is official: The beta release of Netbeans 6.5 is available.
Download here.
After some internal confusing last days at Amit Sahas’ blog at Sun Lukas Haslik (NetBeans Platform & Core QA team lead) replied, that this “internal” link was not created for public users.
Rohan Ranade replied as every other software development team should care:
@Amit: I agree completely with Lukas. It’s common sense. NetBeans is a product, not just another open source part time project. There are dedicated teams which manage the lifecycle of NetBeans. Such journalistic activism has happened earlier too (earlier too a Sun India guy had done it). It does not do any good to NetBeans image when people download and use untested beta versions. Worse, it creates a headache for QA and Dev when spurious bug reports come in. That’s a definite loss IMO. And remember, you are a SUN employee. What you say on the blog will be taken as official. It’s a double edged sword.
I can agree with him, it is very important for any product to assure a clear and transparent communication strategy to customers. In our world of information overflow it is more important than ever.
Today Netbeans published the official beta link, looking forward to test it developing Java and indeed (for some internal applications) PHP code.
NetBeans IDE 6.5 Beta Highlights:
PHP
o Code Completion
o Quick Fixes and Semantic Checks
o FTP Support
o Debugging with Xdebug
o Support for popular Web Services
Ajax/JavaScript
o Debugging support for Firefox and IE
o HTTP client monitoring
o Bundled popular JavaScript libraries
Java
o Groovy/Grails support
o Compile/Deploy on Save
o Eclipse project import and synchronization
o Built-in Hibernate support
o JSF CRUD Generator now Ajax-enabled
Database
o Editor Improvements
C/C++
o Improved code completion and error highlighting
o Remote Development
Ruby
o Support for Ruby Tests
o Improved support for Rake build tool
GlassFish v3 “Prelude”
o Small footprint, fast startup and deployment
o Support for scripting, including jRuby
Testing Netbeans 6.5 beta!
Add comment Thursday, 14 August 2008
persistence ioexceptions during tomcat confluence startup
i just upgraded my wiki to the new confluence 2.9 from Atlassian.
Great software!
i got several runtime exception with confluence at tomcat startup:
first tomcat restart
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Aug 14, 2008 10:58:32 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: com.atlassian.plugin.repository.model.TransferStatus
java.lang.ClassNotFoundException: com.atlassian.plugin.repository.model.TransferStatus
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:78)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)
second tomcat restart
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Aug 14, 2008 11:31:31 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.atlassian.bonnie.search.SearchWordsLister
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.atlassian.bonnie.search.SearchWordsLister
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)
Found a note in confluence documentation to prevent session persistance:
Set org.apache.catalina.session.PersistentManager to false between Context tomcat server.xml:
Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"
Now startup exception are gone.
1 comment Thursday, 14 August 2008
Gorbatchev about the war in South Ossetia
Mikhael Gorbachev wrote in washington post today:
Through all these years, Russia has continued to recognize Georgia’s territorial integrity. Clearly, the only way to solve the South Ossetian problem on that basis is through peaceful means. Indeed, in a civilized world, there is no other way.
Update:
Starts the cyber war around Georgia?
Has the today’s gmail outage something todo with the war?
Civil,ge, the Georgian news site, is “under permanent [cyber] attack.” So they’ve switched their operations to one of Google’s Blogspot domains, to keep the information flowing about what’s going on in their country.
1 comment Tuesday, 12 August 2008
monitoring at last.fm with cacti and nagios
At last.fm, they use my favorite monitoring tools as well:
And what a great instrument:
2 comments Monday, 11 August 2008
Netbeans 6.5beta is released.
Found a link to the next Netbeans 6.5beta: release 6.5beta.
*Update:* My mistake, this blog post was too early. I didn’t wait until the official Netbeans team post about the next beta.
After playing around with 6.5M1 and multiple nightly development snaphots i’m glad to use this next beta.
Developing in a Java and PHP environment makes fun with Netbeans
*IMPORTANT UPDATE:*
no, we have to wait some days to 6.5M2 (or beta?).
It was an internal mistake that they post a link to an unofficial beta on a blog at sun.com.
Something is strange at Netbeans! On their official netbeans development plan page everybody can read the schedule:
| Milestone | Code Freeze Date |
|---|---|
| Milestone 1 | June 15 |
| Feature Complete | July 21 |
| Milestone 2 BETA | Aug 11 |
| UI Frozen | Aug 25 |
| Code Freeze / High Resistance | Sep 15 |
| FCS | Oct 15 |
.
Today is August, 11, but their is no 6.5M2 (beta) available.
1 comment Monday, 11 August 2008
Adobe AIR install under Ubuntu 64-bit fails
i tried to install my favorite twitter client Twhirl under Ubuntu 64-bit.
The fun ended with download error of Adobe AIR
Add comment Monday, 11 August 2008
ubuntu hardy apt-get upgrade Hash Sum mismatch
today on one of my server box occurde a “Hash Sum mismatch”.
why suddenly ?
apt-get upgrade
Fetched 1B in 0s (4B/s)
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/hardy-security/multiverse/binary-amd64/Packages.bz2 Hash Sum mismatch
*Update:*
one day later, doing nothing this error message is gone. i suppose a problem on the used mirror.
Add comment Thursday, 7 August 2008





