Main Contents

PuTTY “Access denied” before login to RHEL

January 10, 2012

Problem: When you use PuTTY to SSH to a RHEL machine, you get an “Access denied” error displayed before the prompt for your password. Solution: Edit /etc/ssh/sshd_config and set GSSAPIAuthentication no Then /etc/init.d/sshd restart

Filed under: Linux | Comments (0)

Locate a file, then cd to the location of that file

December 14, 2011

Sometimes the hardest part of improving your productivity is being able to notice that you’re doing something sub-optimal multiple times each day. I was sitting hacking on some documents this morning when I realized that I frequently follow this usage pattern: Locate a file, using the locate command—often a Linux configuration file of some sort. [...]

Filed under: Linux, System administration | Comments (0)

Sending Domino logs to syslog

July 19, 2011

How to get your IBM Lotus Domino server to send its logs to syslog.

Filed under: Domino, Linux, Ruby, System administration | Comments (0)

Of Domino and data pumps

March 29, 2011

When you have IBM Lotus Domino in your organization, sooner or later you come up with a requirement to move data between Domino and some other system–often a relational database. There are many ways to do this, and not much guidance is offered as to which to pursue, so here’s a summary of my own [...]

Filed under: Domino, Java, Linux, LotusScript, Programming | Comments (0)

RFC 5424 syslogging on RHEL 5.x

November 30, 2010

Here’s how to get non-broken syslog output on RHEL: yum install rsyslog Modify the appropriate line of /etc/sysconfig/rsyslog to say SYSLOGD_OPTIONS=”-c3″ Insert the following two lines at the top of /etc/rsyslog.conf: $template RFC5424fmt,”<%PRI%>1 %TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag%%msg%\n” $ActionFileDefaultTemplate RFC5424fmt It’s probably then a good idea to disable the old syslog. You can also use rsyslog to [...]

Filed under: Linux, System administration | Comments (0)

Useful RPM one-liner

October 22, 2010

To get a list of all the software installed on your system, in descending order of bloatedness, with descriptions: rpm -qa –queryformat=”%10{size} %{NAME} – %{SUMMARY}\n” | sort -k1,1nr

Filed under: Linux, System administration | Comments (0)

HTTP JVM: java.security.InvalidKeyException: Illegal key size

October 8, 2010

Getting an HTTP JVM: java.security.InvalidKeyException: Illegal key size error trying to use cryptography in a Java agent in IBM Lotus Domino? You need to update your server’s policy files. Here’s how.

Filed under: Domino, Java, Linux | Comments (0)

Jay: A program for removing excess kernels

April 12, 2010

A script to safely and automatically remove unneeded kernels from Ubuntu systems.

Filed under: Linux, Ruby, System administration | Comments (3)

Adjusting ulimit -n

March 22, 2010

The first time you run IBM Lotus Domino server on a new Red Hat Enterprise Linux (RHEL) box, you get the following message: WARNING: the maximum number of file handles (ulimit -n) allowed for Domino is 1024. See Release Notes and set the allowable maximum to 20000. This message is less than ideal for a [...]

Filed under: Domino, Linux, System administration | Comments (0)

The case of the Null Empty Nothing

December 1, 2009

A post about the three types of null value in LotusScript, and how they differ.

Filed under: Domino, Java, Linux | Comments (0)