Aug 20 2019

Error Installing CentOS 7

I received the error “This program has encountered an unknown error.” When installing CentOS. At the end of the report it had details about RAID and I remembered that the disk was part of a RAID.

To get rid of the RAID config:

  1. Restart the server.
  2. At the menu choose Troubleshooting Choose Rescue a CentOS system.
  3. You will be asked to make a selection, type in 1 and press enter. 
  4. You will see a prompt “Please press return to get a shell.
  5. Press the enter key Under “Rescue Mount” check which disk you need to configure i.e. sdb
  6. Now type: dmraid -E -r /dev/yourDisk i.e. (dmraid -E -r /dev/sda1)
  7. You will be asked if you want to erase “isw”. type y and press enter.
  8. Reboot your server and install CentOS 7

Here’s a video showing the screenshots I took:


Aug 20 2019

Moving my server from Windows to Linux

I have moved from Windows to Linux on my laptop and gaming PC (Elementary OS) to be more specific and have not looked back.

My home server was running Windows Home Server 2011 and it seemed like I lost one of my disks with my music on. Windows could not see the disk at all but I could see the disk in the BIOS. I then booted into Linux using a USB thumb drive and managed to access the disk and it’s data so proceded to backup the data.

I then decided to get rid of Windows on my server and move to CentOS 7. I chose CentOS 7 as I am currently studying for my RHCSA

Below is the first video of the series. I stumbled across a few issues which I will be sharing soon.


Jul 15 2019

How to install PyQt4 on Elementary OS (Linux)

In this video I show the steps on how to install PyQt 4 on Elementary OS which should work on all Ubuntu based Linux distributions.

I already had PyQt 5 installed but my study guide requires PyQt 4 so I decided to install and run both on my system.

Here’s the steps:

  • Open a terminal and run the below to install PyQt 4
  • sudo apt-get install python3-pyqt4
  • sudo apt-get install libqt4-dev
  • sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev pyqt4-dev-tools

Here’s a video if that’s more to your liking:

Apr 27 2019

How to make another version of Python the default version in Linux

In this post I show you how to make Python 3.7 the default version of Python on Linux. (This should work on all distributions of Linux).

My default version of Python was Python 2 and I needed to change it to version 3.7. 1.


  1. Open your .bashrc file in your home directory using a text editor or the shell.
  2. Add alias python=’/usr/bin/pythonx.x’ to the file and save it. (x.x is your version that you want to be the default)
  3. Logout of your session or reboot your computer, then log back in.
  4. Open the terminal and then type in Python. It should now show you the version that you specified in the .bashrc file

Apr 25 2019

Install Python 3.7 on Elementary OS

In this article and the below video I show you how to install Python 3.7 the easy way on Elementary OS. This works on Pop_OS! and Ubuntu too.

1. Open a terminal
2. type and run: sudo apt update
3. type and run: sudo apt install software-properties-common
4. type and run: sudo add-apt-repository ppa:deadsnakes/ppa
5. Press Enter to add the above repository
6. type and run: sudo apt update
7. type and run: sudo apt install python3.7

You now have Python 3.7 installed

Jul 31 2018

Maximum number of items that can be serialized or deserialized in an object graph is ‘2000000’

You receive the below error when moving a mailbox to another database in Exchange 2013:

Graph error when moving a mailbox

The default limit for the maxItemsInObjectGraph is set to 20000000. The work around that resolved this for me is as per below:

  • Open Notepad and browse to: C:\Program Files\Microsoft\Exchange Server\V15\Bin (or where you installed Exchange).
  • Look for the config file (MsExchangeMailboxReplication.exe.config) and open it.

Hit ctrl + f and search for graph. You will see the below entries.

  • Change the “2” to “3” in order to increase the limit.
  • Restart the Microsoft Exchange Mailbox Replication service on the server you are migrating the mailbox to.
  • Resume the move-request.
  • Change the above back to the previous values and then restart the Microsoft Exchange Mailbox Replication service again.

I managed to complete the mailbox move after running through the above. I’m not 100% sure if this works for Exchange versions older than version 2013 though.

Jan 4 2018

The trust relationship between this workstation and the primary domain failed

I had an issue when trying to logon to one of our servers. After providing my credentials I received the below error.

All we needed to do was to reboot the server and I was able to RDP and login again. What caused the issue is not known as yet.

Jan 2 2018

The InnerException message was ‘Maximum number of items that can be serialized or deserialized in an object graph is ‘2000000’.

This was quite an interesting error for a mailbox I tried to migrate from Exchange 2013 to Exchange Online. The mailbox synced to 95% and I received the below error after I tried completing the batch.

Error details: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter The InnerException message was ‘Maximum number of items that can be serialized or deserialized in an object graph is ‘2000000’.

The key to this error is the object graph limit that is set in the MsExchangeMailboxReplication.exe config file. To resolve the issue do the following:

  1. Logon to your on premises Exchange CAS servers that you use as the proxies for migrating mailboxes to EOL. (In my case this was Exchange 2013)
  2. Open Notepad as an administrator
  3. Browse to C:\Program Files\Microsoft\Exchange Server\V15\Bin (or your Exchange installation path) and open the MsExchangeMailboxReplication.exe config file
  4. Hit ctrl + f in Notepad and search for maxItemsInObjectGraph (there are two entries and I had to change both values)
  5. You want to increase the number in these strings:   <dataContractSerializer maxItemsInObjectGraph=”20000000″/> This is what the original looks like below.
  6. Restart the mailbox replication service on all the servers where you have changed the value.
  7. If the migration failed, then delete the migration job and restart it. You should not have the error again.
  8. Change the strings back to default using the above steps after you migrated the affected mailboxes for which you received the above error.

Here’s what the entries in the config file look like before any changes were made:


<behavior name=”MrsProxyServiceBehavior”>
<serviceDebug includeExceptionDetailInFaults=”True” />
<serviceAuthorization serviceAuthorizationManagerType=”Microsoft.Exchange.MailboxReplicationService.MRSProxyAuthorizationManager, Microsoft.Exchange.MailboxReplicationService.ProxyService, Version=, Culture=neutral, PublicKeyToken=%%%%%%%”/>
maxConcurrentInstances=”200″ />
 <dataContractSerializer maxItemsInObjectGraph=”20000000″/>
<behavior name=”MrsProxyEndpointBehavior”>
 <dataContractSerializer maxItemsInObjectGraph=”2000000″/>

Nov 23 2017

Reset the Google Authenticator plugin in WordPress after your phone has been lost or stolen

Unfortunately bad luck struck as my phone decided to stop making and receiving calls. After trying numerous ways to get it resolve a factory reset was needed. Of course I forgot about the Google Authenticator application on the phone which I use to access various services and managed to lock myself out of my Word Press websites.

Here are the steps to remove the Google Authenticator prompt when trying to logon to your Word Press websites that are protected with 2 step verification:

  • Login to your web server using FTP or the control panel details supplied by your ISP.
  • Browse to public-html 
  • Browse to wp-content 
  • Click on plugins
  • Rename the folder “google-authenticator” to “google-authenticatorold”
  • Open your web browser and type in your URL to get to the Word Press admin site i.e.
  • The Google Authenticator field will now be removed and you can now login with your username and password
  • Go to plugins and delete the Google Authenticator plugin
  • Now search for and re-install the Google Authenticator plugin
  • Remember to activate the plugin, browse to your user in Word Press and scan the QR code to setup the 2 step verification on your phone
  • Logout and browse to the admin login page again. You should now be able to login using Google Authenticator again

Mar 14 2017

Origin download speeds are very slow

I noticed recently that game downloads and game updates in Origin is very slow. To give you an example, usually on my internet connection I would get an average download speed of 1.5MB per second but recently it averaged at 44kb per second.

After some searching on the internet I could not find a proper solution as most solutions on the net was completely bonkers or just did not make any technical sense. I then decided to scratch around in the Origin client to see if a setting might be causing the slow download speeds. And what do you know, it was a setting in Origin that caused the issue. See the steps below on how I resolved the slow download speeds in Origin. (I still don’t know how the setting got enabled in Origin though)

  1. Open your Origin client and login.
  2. At the top left, click on Origin.
  3. In the drop down menu click on “Application Settings”.
  4. At the top, now click on “Diagnostics”.
  5. Look for “Troubleshooting” and make sure that “Safe mode downloading” is NOT on.
  6. Start your game or update download you will see your download speeds increase to what it used to be.

Below is a screenshot of the setting turned off. I still don’t understand how EA support staff did not once mention the above to their clients on their support forums that I could find.

Origin safe mode downloading setting screen shot

Origin safe mode downloading setting screen shot

Note I did this on the client version Version – 0 but it should work for you in earlier or later versions too, but then again thing might change in the future 😉