A customer has a development server and production server. They wanted all the patches updated on the development server 1 week before being replicated on the live server – although, of course there might be updates that come out within the 1 week period that may cause issues. My task was to set up the cron jobs Read More…
Category: Linux
Wavecom : Error 512 when sending SMS
Scenario Our Wavecom Fastrack 9000E GSM modem suddenly started giving an error and was refusing to send text messages. The device is attached to Centos 5.x VM which in turn uses a serial port on an ESXi 5.0 server. We use smsd to send the text messages. # tail -f /var/log/smsd.log 2013-07-27 10:35:18,6, GSM1: Modem Read More…
VCSA : Cannot complete login due to an incorrect user name or password
Occasionally you may forget your vCenter login password. If you are using the VirtualCenter Server Appliance (5.0 in my case) and fail three times (by default) then you’ll get locked out To check this is the case. SSH (via root) to your appliance Then examine /var/log/messages . I found this line: Jul 11 14:49:50 jord-vcenter Read More…
Installing NRPE and Nagios-Plugins on Centos 6 (64bit) with IPTables
Scenario: We have several remote BSD (NRPE) and Windows servers (NSClient++) that we already actively monitor. We wanted to add a Centos 6 machine to our monitoring list. On the Centos server we also have IPTables installed. Nagios-Plugins and NRPE arent available via the official Centos repositories so we will need to use a third-party. Read More…
Apache consuming all memory on a small VPS
Scenario: We have a user with VPS (Centos 6) server. The server will occasionally consume all its memory and lock up completely. Only a “reset” of the Virtual Machine will bring it back as the VMware Tools becomes unresponsive as well. The server only runs a small WordPress site (with MySQL server). It started with Read More…
Installing and Enabling NRPE on Remote FreeBSD Server
Here are some instructions I had (from a couple of years ago may I add) to assist in setting up NRPE for remote monitoring from (eg) Nagios 1) Add nagios user. nologin 2) install nagios-plugins from ports (nagios-plugins-1.4.11,1 ) -> cd / /usr/ports/net-mgmt/nagios-plugins/ -> make -> make install 3) Set permissions -> chown Read More…
Login Incorrect when connecting from FreeBSD to SQL Server 2008 via FreeTDS
Scenario: I wanted to connect to an SQL server 2008 from a FreeBSD 8.2 machine using PHP5.3 and FreeTDS. We have a similar set up on another server running FreeBSD 7.2 with PHP 5.2 . This is still running in production and connecting to the same DB server successfully. The logical thing to do was Read More…
Rebuilding RAID after degraded disk using 3dm2 management CLI
Scenario I was using Openfiler on a reconditioned server with 6x2TB disks (4xRAID5, 2x RAID1). This was my Veeam Backup repository (via ISCSI to a pRDM). The device started playing up and was completely unresponsive. I couldnt log into the console of the openfiler server. After a hard reset it rebooted but could not find the RAID Read More…
Setup Rsync in 5 Minutes – Centos 6
Scenario: I wanted to transfer a /data folder from one server to another on Centos 6. Source is 10.0.43.2. Destination is 10.0.43.1 First of all we need to check rsync and xinetd are installed and working on the DESTINATION (receiving) server. To find out if the packages are installed type this: yum list installed Note: Read More…
Add a New Disk to Centos 6 with a Volume Group
Scenario: I wanted to add a new disk to my Centos 6 installation with its own LVM (Logical Volume Manager). The new disk is 25G and is listed as/dev/sdb. It will mounted on the /data directory. As always please make sure you have everything backed up before attempting this. Use fdisk -l to get the Read More…
You must be logged in to post a comment.