WHMCS Addon Not Found! Check The ID And Try Again.
The WHMCS addon for Website panel V1.2 seems to have a bug in it. If you keep getting WHMCS Addon Not Found! Check The ID And Try Again. and you know the ID’s are correct. Check modules\addons\websitepanel_addons\websitepanel_addons.php Line 148 show look like this $results = select_query(‘tbladdons’, ‘id’, array(‘id’ => $_POST[‘whmcs_id’])); not this $results = select_query(‘mod_wspaddons’, […]
DatabaseAdminPasswordNotSpecified Error when installing Web Application on Website Pannel
Since the upgrade of Website panel v2.0 there have been all sorts or strange issues. Here is just another one. DatabaseAdminPasswordNotSpecified You get that error when trying to install a webapp that uses mysql. This one is simple to fix. go configuration -> servers -> MySQL5 and put in the password that you want […]
Configure IIS to listen on specific IPs
By default IIS will listen for connections on port 80 for any IP bound to the server. This happens even if there are no host headers or bindings set for a specific IP. This can be a problem when trying to run multiple web servers on port 80. To set IIS to listen on specific […]
Install Microsoft and Windows Updates
A lot of scripts out there only install windows updates, this one gets the lot. I’ve found that there are a number of patches not included in the LanGuard patch management, so here’s a script to fill in the gaps. This script is a modified version of the one found here – blogs.technet.com/b/chrad/archive/2009/07/13/dynamic-provisioning-with-vmm-proxy-windows-updates-and-scripts.aspx Also just […]
Detect Internet Explorer Version
Someone requested how to determine what version of IE (internet explorer) was installed on a machine. The version registry entry was unreliable so this gets the version straight from the executable. strComputer = “.” Set objWMIService = GetObject(“winmgmts:” & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″) sQuery=”select * from cim_datafile where path=””\\Program Files\\Internet Explorer\\”” and filename=””iexplore”” and […]
Creating local ISO storage on XenServer
This is a short how to create a local ISO storage on XenServer. You can use WinSCP to drop ISOs in /var/opt/xen/iso_import. Go to the console and type mkdir -p /var/opt/xen mkdir -p /var/opt/xen/iso_import xe sr-create name-label=”Local ISO Storage” type=iso device-config:location=/var/opt/xen/iso_import device-config:legacy_mode=true content-type=iso Then the new SR should appear in your Xencenter console.
Mailcleaner on Citrix Xenserver
How to install mailcleaner on Citrix Xenserver Make a new VM use the Debian Squeeze 6.0 (64Bit) Set the Ram to over 1024 and what ever size HDD you need. Select the Mailcleaner install ISO Untick “Start the new VM automatically” Then click finish. Next open a console to your Xenserver. Run xe vm-list. Look […]
Deploy and run DeFraggler
This script will run Defraggler with the parameters of your choice. It will also deploy it if its not already installed. A full list of parameters can be found here – http://www.piriform.com/docs/defraggler/advanced-usage/command-line-parameters **Update** – 24/10/2012 Hey guys, Sorry but I forgot GFI ads a -logfile parameter at the end of scripts so I have updated […]
Exchange Queue Length Check
Heres a script to check the queue length in exchange. Just modify the $Threshold from 10 to whatever you desire. $snapinversion = 0; foreach ( $snap in get-pssnapin -registered) { if ( $snap.Name -eq ‘Microsoft.Exchange.Management.Powershell.Admin’ ) { $snapinversion = 2007; Add-PSSnapin Microsoft.Exchange.Management.Powershell.Admin -ErrorAction SilentlyContinue } if ( $snap.Name -eq ‘Microsoft.Exchange.Management.Powershell.Support’ ) { $snapinversion = 2010; […]
Xenserver Missing Removable storage Drives
Some times when USB drives have been plugged in for a long time they seems to disappear. Normally that’s not a problem you just unplug them and plug them back in. When the USB drive is in a Data center that’s a long way to drive just to unplug a drive and plug it back in. For Xenserver try modprobe -r usb_storage […]