Archive for the ‘System administration’ Category

XenServer 5.6: Add /var/log/btmp to logrotate

Warning: Since a large /var/log/btmp could indicate that somebody is running brute force attacks against your system, you should at least think about changing the ssh port or setting up tools like DenyHosts or Fail2Ban (see here for more information about preventing ssh brute force attacks). By default logrotate seems not be configured for the […]

Read more…

SubsonicTools: Export all playlists from Subsonic Music Streamer to .m3u playlist files

Starting with version 4.7 (changelog), the Subsonic Music Streamer no longer saves playlists as .m3u files but stores the playlist information in its internal database to offer a more sophisticated playlist management (like shared and private playlists). Before version 4.7 it was very easy to share the Subsonic playlists with other media servers that also […]

Read more…

Eclipse & Windows 64-Bit: Resolve “Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available…” and “Java was started but returned exit code= 13…”

It’s been a while I’ve set up Eclipse the last time and today I tried to run Eclipse (“Eclipse Classic 4.2.1 / 64 Bit” downloaded from here to be precise) on my fresh installed Windows 8. After extracting the zip folder and starting eclipse.exe I got the error message: Java Runtime Environment (JRE) or Java […]

Read more…

Ubuntu 12.04.1 LTS & ant: Resolve “Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar”

I recently got the following error when I tried to run ant on a fresh installed Ubuntu 12.04.1 LTS machine: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar The solution was to install the openjdk-6-jdk package as follows: #sudo apt-get install openjdk-6-jdk#sudo apt-get install openjdk-6-jdk Hope this helps somebody…

Read more…

ISA Server 2006 & HTTP Compression: No support for “Quality value” in “Accept-Encoding” header

When using the ISA Server 2006 in a web publishing scenario, the ISA Serbver 2006 can take care of compressing the content to reduce the number of bytes that needed to be send to the clients. Compression is especially advisable when serving JavaScript and CSS files because text-based files can be compressed with a very […]

Read more…

IIS 7.5: Fix “Application pool […] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.” (Event ID 5059)

Recently on my Windows 7 developer machine the application pool on my local IIS 7.5 web server stopped working immediately after it was (re)started. In the in the event viewer I found an error (Event ID 5059) that says: “Application pool […] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it […]

Read more…