Remember when you issued that command…?

Author Archives: TKH Specialist

Remember when you issued that command…?

Bash History: Display Date And Time For Each Command When working in a clustered environment where sometimes documentation gets written past, it is often helpful to know when you issued certain commands. The bash history is great except it doesn’t include a date/time stamp by default. Here is how to add one: To display the […]

read more

Stuck in Full Screen

We all like a little more real estate when working on a computer, especially when browsing the web.  Why?  Because scrolling…well isn’t efficient.  One problem, chrome decided I should never leave Full Screen mode!  That creates a real problem as everything but the page content is “above the fold” so to speak.  Rather than discontinue […]

read more

mailservertest: A command line script to test mail servers

mailservertest can be used to make testing mail servers a bit easier. It is a short script written in Python. Here a few use cases. You’ve just restarted a number of mail servers, and you want to verify that they … Continue reading

read more

Trying to contribute….CLAMAV issues

This month has been busy with CLAMAV disturbances to mail flow. Problem was verified by tailing the /var/log/maillog file on any of the 3 MTA’s and seeing entires related to “camav-milter.sock” file being locked due to permissions, or “NOQUEUE: milter-reject” entries due to memory issues. We are attempting to solve the milter issues by croning […]

read more

Running the Citrix Reciever on Linux

Setting up a new linux workstation and after installing the Citrix Receiver and attempting to start a module (Outlook) I got the dread SSL error: Having run into this every 6 months or so I decided it was time to … Continue reading

read more

Yum that was useful!

Pardon the humor.  Just a collection of useful yum commands that are useful to have around but I don’t always remember off the top of my head.  I’ll be adding to this post over time. How to list the files installed by a yum package You will need ‘repoquery‘ which is part of ‘yum-utils‘.  If […]

read more

Flush This!

I came across this today and learned something new so thought I would share it here. After killing 2 processes that had hung I noticed the following in the ps output: root       373     2  0 Jun11 ?        00:00:00 [kdmflush] root       375     2  0 Jun11 ?        00:00:00 [kdmflush] root       863     2  0 Jun11 ?        00:00:00 [kdmflush] […]

read more

Apache-Tomcat VHost redirection

OK this isn’t rocket science however I thought it worth documenting since I will probably forget in 6 months to a year when asked to do this again. The Situation: Tomcat running with an Apache front-end using AJP to pass all traffic through to Tomcat after authenticating against CAS. The Problem: The tomcat application did […]

read more

After Clone network configuration

The best part about Virtual Environments is the ability to clone new hosts from old ones.  Most of our infrastructure resides in vmware, so when we clone a system it retains the old Nic settings.  This is how you get the network interface working after cloning the system: vi /etc/udev/rules.d/70-persistent-net-rules remove eth0 rename eth1 to […]

read more

Configuring Apache to Redirect All Traffic to One Local URL

GOAL You want to redirect all requests to your web server to a single page on the server. PROBLEM Note that redirection to an entirely different server is trivial with RedirectMatch. You can redirect all traffic to http://my-server.org to http://other-server.org … Continue reading

read more