search
top
Currently Browsing: Linux

Introspect error The name org.freedesktop.Hal was not provided Running RHN_REGISTER

You would think something as simple as running rhn_register would just run and register for updates without any issues. There are times when this is not the case and today was one of them. The issue occurred when running rhn_register on RedHat EL 5.4 (Tikanga) servers when after selecting next on teh review screen I received the error. “Introspect error: The name org.freedesktop.Hal was not provided... read more

How To Increase the Maximum Number of File Descriptors RHEL / CentOS

Recently ran into a issue where a program running on RHEL was using up all the available File Descriptors. First we need to find out what the maximum number of open file descriptors is set to. We accomplish this by running the command: # cat /proc/sys/fs/file-max 589420 The output tells us it is set to 589420. The vendor asked for this to be increased to 1639200. We can add change the value immediately by... read more

Gathering Open Systems System information with cfg2html

As systems administrators we are always wanting a way to gather information on your Open Systems, you can do this with various different systems commands and add them in scripts and set as cron jobs, or whatever method you prefer. Now if there is a program that can do that for us and output in txt or html or both, then thats better. Well, such a program does exist call cfg2html... read more

Java leapsec issue causes high CPU

Seems like a bug is going around caused by leapsec in Java that causes high CPU. There is a simple fix for the issue. For CentOS / RHEL 5 & 6 /etc/init.d/ntpd stop; date; date `date +”%m%d%H%M%C%y.%S”`; date Wait for the CPU to go down and then restart ntpd /etc/init.d/ntpd start After doing this, see if the cpu usage falls down using top or your tool of choice. If not, restart of the ntpd... read more

Keeping Logfiles at Bay with bash

From time to time there are instances in which an application creates logfiles that are big but you need them to fix an issue. Most times these are trace logs. Ran into a similar situation and came up with a short and simple bash script to address the issue. #!/bin/bash #################################################################### #  This will look for trace log  and zip them and deleting files... read more

« Previous Entries Next Entries »

top
Life of a Geek Admin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.