Just a simple script thrown together to record the time and date of an outage on a server using ping from a Windows machine. You can view the data in Excel from this script if you set excel to separate the file using carriage returns. @ECHO OFF echo Monitoring Server
Read moreGentoo – Failed to emerge sys-devel/automake-1.11.6-r1
Just lately I reinstalled my Gentoo server and when it came to putting Handbrake back on the system Portage began complaining that it was failing to emerge automake version 1.11.6. After checking the system I could see that I already had version 1.15 but that should not be causing the
Read moreConfigure NTP Client Gentoo
Just a quick reference for setting up your Gentoo server to get its time from an NTP server either local or on the Internet. Get NTP onto the machine emerge –ask -jv ntp Edit the NTP config vi /etc/ntp.conf Comment out the servers that you do not need and add
Read moreApache won’t start – Name or service not known: mod_unique_id
Minor cause of frustration when you are installing Apache on a server that some one else has configured, is that if they have not setup the hosts file correctly apache will refuse to start. The error is in /var/log/apache2/error_log and looks like below: Name or service not known: mod_unique_id: unable
Read moreBackup Your DVD Collection with Linux
This post will show you how create a self contained machine that will backup your DVD collection without any effort from you (apart from placing the disc in the drawer). This is just a quick and simple script that was designed to help convert a 500+ strong collection of DVDs
Read moreMigrate a VirtualBox Disk Image (.vdi) to a QEMU Image (.img)
A very simple task with the correct tool, the tool in question is qemu-img. This tool is pulled in when you install QEMU on Gentoo,Redhat and Ubuntu however on Redhat and Ubuntu there is a separate package for it also. On Gentoo if you only wanted qemu-img and nothing else
Read moreKVM Error – ioctl(KVM_CREATE_VM) failed: 16 Device or Resource busy
I ran into this error in the test lab today and figured I would document the cause. When you create a QEMU/KVM virtual machine using the command line virt-install or the graphical virtual machine manager you get an error similar to the following Error starting domain: internal error: process exited
Read moreFailed to write to disk Owncloud
After a fresh install of Owncloud you may get the following error after uploading a file larger than a couple of MB. “Failed to Write to Disk” This is a pretty quick and easy one to fix, it is just a setting in the php.ini file, for example on Gentoo
Read moreTesting SMTP from the CLI
This article will show two ways to test your SMTP server from the command line in Linux, these tests are very useful when setting up a new server and you just want to make sure you have it working before you continue on. Lets get started In this first example
Read moreResetting a forgotten Owncloud password
To reset a forgotten owncloud password (Including the admin account) you can do the following. As root on your server enter the following command replacing $USER with the username of the account sudo -u www-data php /var/www/html/owncloud/occ user:resetpassword $USER You will be prompted to enter a new password and then
Read more