How to find dead links and delete them

Sometimes, after performing VPS migrations, the soft links in /etc/vz/conf may not be removed. Over time, the dead links may build up and cause many ‘No such file or directory’ messages when trying to look for common settings amonst all conf files (ie cat /etc/vz/conf/*.conf | grep whatever). Quick easy way to delete these dead […]

Read more
udev assigns incorrect number to eth device

eth interface number changes and is not what is expected During a recent exercise where I created a RedHat 6.3 virtual machine, clones of that virtual machine each had different numbers assigned to their respective eth device(s). I’ve run into this booger before in the past and remembered that udev creates a persistent rule in […]

Read more
How to disable cron based mail 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/vzagentdb.sh >/dev/null 2>&1 CRONDARGS=’-m off’ in /etc/sysconfig/crond may also be specified […]

Read more
System hangs during messagebus startup

System hangs during messagebus startup This problem has been experienced after rebooting a system in which ldap has been configured. Note that LDAP functions properly immeidately after it is setup on the machine, but hangs at “staring system message bus” after a reboot. To fix, reboot in single user mode or into linux rescue and […]

Read more
Resizing an Online Multipath Device

Resizing an Online Multipath Device If you need to resize an online multipath device, use the following procedure: 1. Resize your physical device 2. Use the following command to find the paths to the LUN: # multipath -l 3. Resize your paths. FOr SCSI devices, writing a 1 to the rescan file for the device […]

Read more

Hit Counter provided by dental implants orange county