Category Archives: Sysadmin - Page 4

ec2 + EBS (freezing the machine)

I had some problems with ec2 and EBS recently when mounting EBS drive with XFS on it. Basically the machine was frozen and only way to get it back was request to detach EBS drive and reboot the ec2 machine, I found a fix here. Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

How to fix Java on Debian Lenny

This post was previously about getting Amazon ec2 API tools working on Debian Lenny when seeing something like this:

user@computer:$ ec2-describe-instances
Unexpected error:
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)

After number of comments it looked as a generic solution to java related problems so I’ve change the title.

Here is how to fix it Java on Lenny: Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Debian Lenny and quota on /home

There is a small how to here however it describes how to install on / partition. Here are clear instructions for /home. Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Reinstalling list of GEMs on a new server

When I have to migrate servers to new OS or reinstall list of gems on another box you can get a quite big list of gems to install. This post will describe how to do it “admin way” which basically means that whatever has to be done more than once should be scripted ;) Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit

Nagios check_file_age mod

As I don’t think in seconds about time and more like hours days etc. I’ve added this small bit of code to Nagios check_file_age script to display age in days. I’m using this to check PID file age for service that needs daily/weekly restarts. Read more »

Share on TwitterShare on TumblrSubmit to StumbleUponSave on DeliciousDigg ThisSubmit to reddit