Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

VMware : Install ESX tools for RHEL / CentOS Linux using YUM

To install VMware Tools from the ESX repository on RedHat/CentOS Linux guests using YUM, you need first to install the public key : rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub [Updated 06/03/12 : key URL has changed. Old location : http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub)] Now, you need to create the repository file located in /etc/yum.repos.d : vi /etc/yum.repos.d/vmware-tools.repo And then, paste the… Read More »

Dell Servers : PCIe Training Error

Experiencing this error on Dell rack mount server? PCIe Training Error:  Slot X (or Embedded I/O Bridge device X) System Halted Try removing any add-in card and boot the server. If the server is booting correctly, then it’s probably the add-in card! If the problem persist, try to completely remove the riser card. Now it should… Read More »

OpenVZ : Unable to set capacity on running container

Got this error trying to adjust time on a VPS from the host node? [root@server ~]# vzctl set 111 –capability sys_timen –save Unable to set capability on running container WARNING: Some of the parameters could not be applied to a running container. Please consider using –setmode option There is two possible solutions : 1. Stop… Read More »

Linux : How to generate SSL certificate key pair

Here are the few steps to generate the private key, certificate signed request, self-signed certificate and how to get rid of the passphrase request when starting you’re application . Okay, let’s start. Go to the directory you want to store you’re certificate stuff. This example will assume you’re common name (aka : host name) will… Read More »

Postfix : postdrop warning unable to look up public/pickup

Getting this error trying to send e-mail with Postfix MTA? postdrop: warning: unable to look up public/pickup: No such file or directory Simply do the following as root : mkfifo /var/spool/postfix/public/pickup And then, restart the service : service postfix restart

FreeBSD : How to setup a software RAID-1

First, avoid any problem by getting two identical hard drive (or at least, same size and speed at least if not from same manufacturer). This tutorial assume both your hard disk are “da0” and “da1“. If you don’t know you’re devices name, simply use “dmesg” or “df -h” command to find out. First, let’s temporary… Read More »

Linux : Search and replace across multiple files

To search and replace across multiple text file on a Linux/Unix system, use the following command : find . -name “*.extension” -print | xargs sed -i ‘s/search_for_text/replace_with_text/g’ So, as example, let’s assume you want to replace an IP address in multiple Bind zone file (using the extension .hosts) and replace IP address 10.10.1.1 for 192.168.1.1… Read More »