Reese Knowledgebase

Sub Categories
folder LVM (3)
LVM related issues and solutions
folder rsyslog (3)
Topics covering rsyslog

Showing: 21-40 of 58    ««  »»
document How To create a local mirror of latest Red Hat Enterprise Linux without using Satellite server
How To create your own local Red Hat Enterprise Linux yum repository server To begin, build a virutal machine or stand alone system installing the same OS version of Red Hat you wish to serve as the yum repository.  At the time of this writing, my base OS plus mirror data consumed 14G...
09 Jul, 2013
document How to install package groups with up2date
How to install package groups with up2date Prior to the days of yum shipping with RHEL, up2date was used for updating and installing packages on Red Hat Enterpise Linux.  It had been a long while since I've personally had to use up2date since yum had become common place in our latter...
04 Oct, 2013
document How To Resize an iscsi LUN in Linux
How To Resize an iscsi LUN in Linux NetApp storage systems also allow you to resize a LUN dynamically; however, the iSCSI layer in Linux is not capable of detecting the change in the LUN size. To display the new size of the LUN you must restart the iSCSI service. But a restart of the iSCSI...
13 Mar, 2014
document Installing and configuring Clam AntiVirus for Linux
How To install and configure Clam AntiVirus (clamav) for Linux Download the latest stable release of clamav from As of this writing, the steps I ran to get a working clamav were:   923  wget http://downloads.sourceforge.n et/clamav/clamav-0.97.6.tar.gz  ...
17 Jan, 2013
document Search for largest files in a file system
This command will search for files 5 MB or larger, then list its size and location from smallest to largest in size.  Replace the mount point with which ever mount you want to look in, hence the -mount option to tell find not to descend directories on other filesystems. find / -mount -type f...
31 May, 2013
document Enable automatic logoff
Enabling automatic logoff Let's face it.  Sometimes admins leave themselves logged into a system and walk away.  Systems can be set to automatically logoff a user after a period of activity by setting some parameters in /etc/profile (Linux/Solaris), /etc/security/.profile (AIX). ...
01 Feb, 2013
document How to disable cron from sending email alerts
How to disable cron based mail alerts The easiest way to disable cron based email alerts is to append the following to the specified command within the users crontab: >/dev/null 2>&1 Example: # m h dom mon dow command 59 23 * * * /root/scripts/hotfixes/vzagent >/dev/null...
05 Feb, 2013
document EXT3-fs warning Directory index full!
At times, I come across the following message in syslog: kernel: EXT3-fs warning (device dm-3): ext3_dx_add_entry: Directory index full! On systems in which this is being constantly logged to syslog, this can become rather annoying, but it is not a bug.  It's informing the user that...
22 Jul, 2013
document Sort IP Addresses in bash
Sort list of IP addresses via command line Do you have a text file filled with a bunch of IP addresses, and it won't sort properly with the -n option alone?  Providing additional options can help achive the desired output. $ cat nfs_clients | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k...
20 Feb, 2013
document Installing Teradata Client 13.10 on RedHat 6 x86_64
How to install Teradata Client 13.10 64bit on RedHat 6 x86_64 Note that the procedure below pertains to downloading the software from Teradata, and installing the packages.  This does not cover installation from the CDROM media. I found that installing the Teradata client on RedHat 6...
01 Oct, 2013
document sed one liners
sed one liners Insert character at beginning of line Example: comment out all nfs entries in /etc/fstab sed -i '/nfs/s/^/#/' /etc/fstab Uncomment out all nfs entries in /etc/fstab sed -i '/nfs/s/^#//g' /etc/fstab Substitute a character at a specific line Change line 108 of /etc/sudoers by...
11 Sep, 2015
document Display top 10 processes eating up CPU
ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 I also like this format to display by user: ps -U apache -u apache u
16 Apr, 2013
document How to find stack information for state D processes
In looking to find the cause of processes in state D on a linux based system, the following can be used to review/pinpoint the source of the problem (whether its local or NFS based storage that's to blame) On virtuozzo installations vzps -o veid,uid,pid,ppid,vsz,rsz,stat e,wchan:20,cmd axfww |...
13 Sep, 2013
document High Load Average and processes in D state
High Load Average and processes in D state This article will discuss things you can do to help troubleshoot latent servers due to several processes in "D" state.  Though this article will focus on CentOS running virtuozzo 4.6.0 2.6.18-028stab101.1 with /vz mounted over NFS, you may gleam...
24 Sep, 2013
private which IPs are establishing the most connections
What IPs are establishing the most connections? cat /proc/net/ip_conntrack | awk '{print $5" "$6}'| sort | uniq -c | sort -nr | head -30
14 May, 2013
document Display top 10 processes eating up memory
Display top 10 processes eating up memory I've come across two command that I like so far: ps axo %mem,pid,euser,cmd | sort -nr | head -n 10 Display memory usage and full command line ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
23 May, 2013
document How to /dev/null or zero out a bunch of log files in one command
~# cd /var/log ~# cat /dev/null | tee {boot.log,cron,dmesg,lastlog,m essages,secure,vzctl.log,vznet cfg.log,wtmp}
23 May, 2013
document Extract contents of initrd
How to extract and view contents of initrd Depending on your version of linux, the /boot/initrd may be one of two formats: cpio archive ext2 filesystem data The easiest way to determine what you're working with is by using the file command.  Here are examples showing the output...
12 Sep, 2013
document The file /boot/grub/stage1 not read correctly
The file /boot/grub/stage1 not read correctly After pxe booting a server and installing linux from a cpio archive, grub failed to load using the grub-install command.  The error presented was as follows: root@pxe:~# mkdir /target root@pxe:~# mount /dev/sda1 /target root@pxe:~#...
14 Aug, 2017
document ip_conntrack: table full, dropping packet
ip_conntrack: table full, dropping packet At one point, there was high call volume into our support center of customers complaining about severe lag.  One common denominator was that the customer base who called in happened to all reside on the same server, so investigation into the matter...
19 Jul, 2013