Archive for the ‘Sysadmin’ Category

Monitoring remote system with Nagios and NRPE

Monday, August 9th, 2010

This is a quick tutorial on how to prepare a remote system for monitoring using Nagios NRPE. I'm using 64 bit CentOS in this example (could probably be any RHEL based system) Install NRPE and Nagios Plugins on remote host [root@remotehost ~]# yum install nagios-nrpe nagios-plugins  (these packages are on rpmforge, prepare your system first ...

32-bit ODBC on Windows Server 2008

Monday, April 12th, 2010

If you have to use 32-bit ODBC drivers, you won’t find then when you start the Microsoft ODBC Administrator because it is 64-bit. The 32-bit ODBC Administrator is found here: C:\Windows\SysWOW64\odbcad32.exe or just type in the start menu odbcad32.exe. Coldfusion Error: You can use this workaround when you receive this message: ...

Expand XFS LVM filesystem

Wednesday, December 30th, 2009

Expand XFS LVM logical volume with 500GB, assuming you have enough free unassigned space on physical partitions. lvextend -L+500GB /dev/vg1/v2 xfs_growfs /dev/vg1/v2

Expand LVM guest filesystem VMware

Wednesday, December 30th, 2009

First, increase the size of the virtual disk (VMDK) by 10GB for example vmware-vdiskmanager -x 10GB /path/machineName.vmdk (vCenter users can increase disk sizes easier via the Settings dialog of the VM) # fdisk /dev/sda n Command action e extended p primary ...

cu – Call up another system

Tuesday, December 29th, 2009

The cu command is used to call up another system and act as a dial in terminal. It can also do simple file transfers with no error checking. The cu command can be installed by installing the uucp package. yum install uucp Connect using the cu-command cu -l /dev/ttyS0  -s 9600 More information can ...

Reset APC PDU password

Friday, December 11th, 2009

Method 1: Serial console, reset, login as apc/apc within 30 secs Method 2: press the reset button in for like 10 seconds then release it then imediately press it in again for literally 1 seccond one of the lights will go orange give it a min and then apc/apc will work for the first login ...

PFDAVadmin on Exchange 2007: Could not expand…

Wednesday, November 18th, 2009

You might want to use PFDAVAdmin on Exchange 2007 (to set public folder user rights for example) and run into this error; Could not expand https://yourexchange.yourdomain.local/ExAdmin/Admin/.... Name cannot begin with the '0' character, hexadecimal value 0x30. Line 1, position 399. You should either install ...

Exchange Server 2007: Renewing the self-signed certificate

Thursday, September 24th, 2009

Exchange Server 2007 issues itself a self-signed certificate for use with services like SMTP, IMAP, POP, IIS and UM. The certificate is issued for a period of one year. The self-signed certificate meets an important need - securing communication for Exchange services by default. Nevertheless, one should treat these self-signed certificates ...

SSL Certificate from IIS to use in FileZilla FTP Server

Friday, August 14th, 2009

If you want to install a certificate to in Filezilla you can create a self-signed certificate. If you want to create a certificate via a trusted Certificate Authority (CA) or use an existing certificate you need to export and import it to the correct type (for filezilla this is PEM). More information ...

Install OMSA on RHEL5

Friday, April 24th, 2009

Install Dell OpenManage on RHEL (CentOS, Redhat, etc) like this; wget -q -O - http://linux.dell.com/repo/hardware/OMSA_5.5/bootstrap.cgi | bash yum install srvadmin-all srvadmin-services.sh start