Bash Script – Install HP Server Management Tools on Ubuntu Server

Here’s a quick and dirty, no-frills bash script to install the HP Server Management Tools on Ubuntu Server. As is, it will install the command line utilities to configure ILO and your RAID controllers. You can look up the other package names available for your distribution by examining the Packages file as in this example here:

Continue reading “Bash Script – Install HP Server Management Tools on Ubuntu Server”

UltraVNC – Password Not Set: How to Install as a System Service

Trying to get UltraVNC (version 1.2.0.5) to run as a system service is a pain in the ass if you don’t follow a specific set of steps during the setup process. It appears that if you check the box to install it as a service during the initial installation wizard, you will encounter the annoying “Password Not Set” error and nothing works. I also had issues with running the MSI installer rather than the EXE, so stick with the executable if you’re in a rush. I don’t have time at the moment to write up a giant all-encompassing post with accompanying pictures and what have you so here’s what you gotta’ to do:
Continue reading “UltraVNC – Password Not Set: How to Install as a System Service”

pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files

For a VoIP administrator, in order to properly diagnose and troubleshoot issues sometimes, you need the ability to go to be able to go back in time and dig deep within packet traces to get to the heart of the problem. Unfortunately, this means following the NSA’s policy and doing blanket data collection if you can handle the disk storage requirements.

Sure if the problem is easily reproducible, then you can either do a SIP trace in your VoIP software to get just the signalling data or if you need the RTP streams too, you can use “tcpdump” to capture the packets and avoid this scenario altogether but that isn’t always the case and using tcpdump certainly does have it’s limitations.

Capture (pcap) files get huge and harder to work with, you have to create filters to find the data you need, the list goes on and on. Of course, there are some helpful switches you can use to try to get around this when trying to capture data for long periods of time but then you still run into the problem of needing to run the application as a daemon, rotating log files, and then you still have to dig extensively for the data you need.
Continue reading “pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files”

Install MySQL Activity Report from Source

MySQL Activity Report is a handy database reporting tool that uses RRD (Round Robin Database) to display hourly, daily, weekly, and monthly graphs and gives helpful performance tuning recommendations for your MySQL installation. Here are the steps to install it from source on Ubuntu Server 12.04.3 while logged in as root. This assumes that you have the build-essentials, header files, etc necessary to build software already installed.

1. Change into your local source directory

cd /usr/local/src

2. Download the source files for rrdtool and mysqlard

wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.8.tar.gz
wget http://gert.sos.be/downloads/mysqlar/mysqlard-1.0.0.tar.gz

3. Unzip the files

tar -zxvf rrdtool-1.4.8.tar.gz
tar -zxvf mysqlard-1.0.0.tar.gz

4. Change into the rrd directory

cd rrdtool-1.4.8

5. Install dependencies

apt-get install libpango1.0-dev libxml2-dev

6. Build rrdtool (will install to the /opt/rrdtool-1.4.8 directory)
Continue reading “Install MySQL Activity Report from Source”

Install BackupExec 2012 Agent on Debian 3.0 Kernel

Props to this site for pointing me in the right direction.

Install the BackupExec Agent as you would normally (./installralus) and the installation will complete successfully however the service will fail to start afterwards.

Change into ralus directory
#cd /opt/VRTSralus/bin

Make a backup of libbesocket.so
#cp libbesocket.so libbesocket.so.orig

Install objdump
apt-get install binutils binutils-multiarch

Disassemble the binary to a file
#objdump -D libbesocket.so > libbesocket.asm
Continue reading “Install BackupExec 2012 Agent on Debian 3.0 Kernel”

Installing Logitech Webcam Software on Windows Server

Recently I had a bad run in when installing Logitech’s software for the Webcam Pro 9000 camera on Windows Server 2003 x64.

After searching online for an hour or so, I found an article that showed the supported operating systems matrix for the majority of their webcams. Unfortunately to my dismay there was no support for any of the versions of Windows Server and when trying to install the software for LWS2.51 you get a nasty little error message saying some garbage about being an unsupported operating system.
Continue reading “Installing Logitech Webcam Software on Windows Server”