Category Archives: IT Related Stuff

Share your Smartphone internet – Bluetooth

I decided to invest in a Bluetooth dongle to help me access the internet on my desktop etc via my smartphone. Why, I think is more secure in being less visible than a Wifi connection.

After having a look around I decided to go for the Plugable USB-bt4le from amazon. This is because it claimed be run on Linux. You can read the review here

And it did! However I had an issue when connecting on an unlocked smartphone that was on the Orange network. This forced me to dig into the world of Android development . It was a baptism of fire. 🙂 I spent and entire day and most of the night learning about Android’s adb (android debug bridge) and the android development environment.

Thanks to Canonical who maintain the software packages for Ubuntu, it is easy to install adb using the apt install adb command in Terminal.

Plagable bluetooth 4.0 on Ubumtu 18.04, Canonical, debian,

After digging around on the internet I found that tethering was set to use DUN and to disable this you had to run

sudo adb shell in Terminal

followed by the statement below after you enter shell in

shell@E####:/ $ settings put global tether_dun_required 0

I think removing the APN for the DUN setting from the mobile phone carrier (on the Orange network in my case) also helped as it seemed to re-enable DUN on reboot.

shell@E####:/ $ settings delete global tether_dun_apn=[ApnSettingV3]Orange Internet,,,,orange,orange,,,,,208,01,0,DUN,,,true,0,,,,,,,spn,Orange F

Then reboot.

This did not solve the tethering problem entirely although it prevented the DUN (Dail-up Network)lookup on trying to connect.

What really got it working – Solution to Bluetooth tethering the Smartphone running Android 6.0.1

On your Android Smartphone Go to Settings

Turn on Bluetooth first (ensure you also have an internet connection although this can be done later ). Then

Settings → More → Tethering and Portable Hotspot

then Enable Bluetooth tethering.

And this should work! Unfortunately it seems you have to do this each time you turn Bluetooth on.


phpMyAdmin on Ubuntu 18.04

I had phpMyAdmin version 4.6 something running on php 7.2.24 on Ubuntu 18.04 linux.

I checked the version I had by running the following command in Terminal : apt show phpmyadmin

Package: phpmyadmin
Version: 4:4.6.6-5ubuntu0.5
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers <>
Original-Maintainer: Thijs Kinkhorst <>
Installed-Size: 25.0 MB

I uninstalled the older version of phpMyAdmin via Terminal and running :

sudo apt remove phpmyadmin

These were originally installed from the Debian repository using Terminal and command line when I setup LAMP .

Do not use the autoremove command if you want the current version of php left in place. I also left the old phpMyAdmin database in place. Because I was not sure if it was needed by the new version.

My current php and phpMYAdmin versions are as shown in the image below

phpMyAdmin error - Warning in ./libraries/sql.lib.php#613

You can refer to this article here. phpMyAdmin never worked properly. When accessing tables in databases I got the following type error.

Warning in ./libraries/sql.lib.php#613

count(): Parameter must be an array or an object that implements Countable etc….

After looking at various articles the best solution I think is the one I found at . See the image below.

How to get rid of phpMyAdmin error - Warning in ./libraries/sql.lib.php#613

It is simple and very effective. And exemplifies the portability of phpMyAdmin. The other methods of removing the installed version of phpMyAdmin and installing a newer version look painful and are not guaranteed as the Debian repository may not have the latest version or version compatible with your current Php version.


  • Go to the phpMyAdmin website. Download the latest version in zip format (5.0.4 at the time of writing). Copy the hash number as well. This will enable you to verify the integrity of the downloaded file.
  • Verify the hash number. To do this, open Terminal, supply the path where the zip file has been downloaded and type sha256sum . Verify the hash number is the same as that supplied by the phpMyAdmin download site. See image below.
  • Unzip the file.
  • Copy the unzipped folder and all it’s contents to your public folder. On Ubuntu 18.04 running Apache 2.4.29 this is in ‘/var/html’ . You can renamed to folder to something shorter if you like.
  • Make a copy of and rename it to
  • Edit

Make sure you have the authentication part setup correctly as follows to use a cookie and your web server is correctly specified in host.

/* Authentication type */

$cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;

/* Server parameters */

$cfg[‘Servers’][$i][‘host’] = ‘localhost’;

$cfg[‘Servers’][$i][‘compress’] = false;

$cfg[‘Servers’][$i][‘AllowNoPassword’] = false;

  • Save
  • Launch phpMyAdmin by accessing the phpMyAdmin hosted folder.
  • In my case http://localhost/phpMyAdmin5/ You should get the phpMyAdmin login screen. See image below.

All done! 🙂

Spell Check not working in LibreOffice on Ubuntu 18.04

This even though the hunspell dictionary seems to been installed in LibreOffice.

The solution is to open Terminal and

 sudo apt install hunspell-en-gb


Thanks to @timothy at for the phpMyAdmin solution.

Thanks to TrisquelUser on

for the LibreOffice Spell Checker fix.

Moving a live WordPress site to a local LAMP Server

Linux, Apache, MySql, WordPress, Web Development, Algarve, Portugal
LAMP on Ubuntu 18.04

Audience: Ubuntu Desktop and Server users. Tested on 18.04

Steps to follow to setup a local development WordPress installation.

1) Copy your entire live WordPress directory to your local LAMP server.

Do this by means of FTP using and FTP Client such as Filezilla.

This should include your wp-admin, wp-includes , wp-admin and all the files in the root directory in which these reside. This is where the wp-config.php, wp-login.php, .htaccess files etc reside.

2) On your LAMP server these should be placed in the directory. It is advisable to create a folder under the html directory where these files will go if you are hosting more than one test site. e.g var/www/html/testsite

3) Backup the MySql database related to your WordPress live site. It is easiest to do this using PHPMyAdmin provided by your control panel of your hosting site. This is the only way have done it so far. Accept defaults and export the database. You will be given the option to save the file as a *.sql file.

Ubuntu 18.04, WordPress, Stack Exchange, Ask Ubuntu, Algarve, Portugal

4) On your LAMP server create a MySql database and database user. You can use PHPMyAdmin. However I have had problems, with PHPMyAdmin throwing up errors and not importing the database correctly or granting user privileges correctly. I have had to do it via command line like this. I strongly advise this method, as command line rules. 🙂

By command line.

Log into mysql as root

Create database

mysql> create database db_name;

Import the database:

mysql> use db_name;

mysql> source backup-file.sql;

Create a user and grant privileges

GRANT ALL PRIVILEGES ON mydb.sql TO myuser@localhost IDENTIFIED BY "mypassword";

5) Edit your WordPress wp-config.php ensuring that the database name, username and user password match the ones created.

6) Update your tables to ensure your links work but running the following 3 command line MySql queries on the following tables. You can do this by logging into mysql as root via command line.

UPDATE wp_options SET option_value = replace(option_value, '', 'http://localhost/test-site') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET post_content = replace(post_content, '', 'http://localhost/test-site');

UPDATE wp_postmeta SET meta_value = replace(meta_value,'','http://localhost/test-site');

These queries will replace references to your live site’s URL from database with the localhost URL.

7) Lastly, an mostly importantly this pertains to the Ubuntu operating system environment. Apache here is installed differently from a native install for security reasons. In order to get your development WordPress running, you must do the following otherwise none of the symlinks ( symbolic links) to other pages on your site will work.

Note: nano is a text editor that’s pre-installed on Ubuntu

  1. In /etc/apache2/apache2.conf, edit AllowOverride None for /var/www/ to AllowOverride All
  2. To edit use

sudo nano /etc/apache2/apache2.conf

Press CTRL + W and search for “<Directory /var/www/>”

Change here AllowOverride None to AllowOverride All

Save file and exit. (Press CTRL + X, press Y and then press ENTER)

  1. Type in the following command to enable mod_rewrite for .htaccess

sudo a2enmod rewrite

  1. Restart your apache server:

sudo service apache2 restart

Finally make sure you have a .htaccess file in the root directory where WordPress is installed.

It should contain code similar to this:

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /your_directory/

RewriteRule ^index\.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /your_directory index.php [L]


# END WordPress

That’s about it for now! Coming soon, a Control Panel App for a local LAMP install.


Credits to: (April,2020)

Credits to:, Editorial Staff at WPBeginner led by Syed Balkhi. (April,2020)

LAMP on Ubuntu 18.04

I took the leap and migrated to linux, ditching MS Windows 7 as my main operating system.

On the whole I am very pleased with Ubuntu 18.04.

I was running XAMPP on Windows 7 as test environment for hosting WordPress and PHP based applications.

So I needed to install a similar test environment on Ubuntu 18.04 desktop. In the Linux world this is LAMP. The components of LAMP are Linux, Apache Web Server, MySQL Server and PHP

Here is how to install LAMP on Ubuntu 18.04

Using command line via Terminal (press Control+Alt+T ) Terminal  Ubuntu 18.04

Install Mysql.

  • Ensure you have an internet connection then open Terminal.
  • Type sudo apt install mysql-server

Press Enter on the keyboard. This will install the Mysql Metapackage from the Debian repositories.

Test your Mysql server installation by typing mysql in the terminal window. You used be able to login with your Ubuntu user login password.

Install Apache 2

To install Apache you must install the Metapackage apache2 from the Debian repositories. This can by

  • Ensure you have an internet connection then open Terminal.
  • Type sudo apt install apache2

Install PHP

  • Ensure you have an internet connection then open Terminal.
  • sudo apt install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring
  • Your server should restart Apache automatically after the installation of both MySQL and PHP. If it doesn’t, execute this command.

Check Apache

You should see the following page with a message saying that it work

Apache Web Server running

Check PHP

  • You can check your PHP by executing any PHP file from within /var/www/.
  • Alternatively you can execute the following command, which will make PHP run the code without the need for creating a file . $ php -r ‘echo “Your PHP installation is working\n”;’

Pat yourself on the back and take a break. Congratulations! You have just successfully installed a LAMP server on Apache.

As a reward install and play Chromium BSU.

  • Ensure you have an internet connection then open Terminal.
  • Type sudo apt install chromium-bsu

This should download and install this excellent arcade game which you can play for 5 minutes to have a break :). I tried downloading it from the Ubuntu Snap store but it didn’t install correctly from there. Chromium B.S.U Debian, Ubuntu 18.04

Preparing LAMP to run as a local WordPress and Web Hosting Test Environment.

Ubuntu installs Apache in modules and splits the configuration files which is different from the standard install.

The Mysql server installs with the Ubuntu user as root for authentication. WordPress and other applications use native mysql authentication.

Here is how to enable native root user authentication and change the mysql root user password.

  • Stop mysql:
  • $ sudo service mysql stop
  • (Be sure to stop the current server before performing the steps. Only one server can run at a time.)
  • $ sudo mkdir /var/run/mysqld; sudo chown mysql /var/run/mysqld
  • $ sudo mysqld_safe –skip-grant-tables&
You should see sonething like this if it runs successfully

[1] 1901

*@*-desktop:~$ 2020-04-29T20:36:42.126862Z mysqld_safe Logging to syslog.

2020-04-29T20:36:42.132327Z mysqld_safe Logging to ‘/var/log/mysql/error.log’.

  • 2020-04-29T20:36:42.197722Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  • Next run $ sudo mysql --user=root mysql
  • This will log you in as the native mysql root user.

“Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 2

Server version: 5.7.29-0ubuntu0.18.04.1 (Ubuntu)..”

and you should have the mysql prompt mysql>

  • to change the root pasword run

mysql> update user set authentication_string=PASSWORD('new_password') where user='root';

You should see

Query OK, 1 row affected, 1 warning (0.03 sec)

Rows matched: 1 Changed: 1 Warnings: 1”

  • To change the authentication plugin run

mysql> UPDATE user SET plugin=’mysql_native_password’;

You should see someething like

Query OK, 4 rows affected (0.00 sec)

Rows matched: 4 Changed: 4 Warnings: 0

  • Finally


  • mysql> quit
  • stop and start the mysql server and test root login:

Stop mysql:

$ sudo service mysql stop

Start mysql (normal):

$ sudo service mysql start

Log in as root on localhost:

$ mysql -h localhost -u root -p 

That’s it for now! 

Ask Ubuntu - software installation - mysql doesn't ask for root password when installing - Ask Ubuntu

Initial Server Setup with Ubuntu 18.04 | DigitalOcean ,How to Install LAMP on Ubuntu, April,2020

Ubuntu 18.04

Life after MS Windows 7

Microsoft Windows 7 ended support in January 2020. What this means to MS Windows users like myself is that your computer will be increasing at risk as it is no longer patched for security vulnerabilities by Microsoft. Ubuntu 18.04

Burying your head in the sand is not an option. However if you are using an island configuration which never has to connect to other computers or the internet you can carry on as you are.

The other two options are to upgrade to Windows 10 or move to another operating system such as Linux.

I have been looking into Ubuntu Linux from Canonical. Their latest desktop version is 18.04 which you can download here.

If you have older machines with 32 bit operating systems you will have to use another distribution of Linux , as Canonical, the owners of Ubuntu only support 64 bit cpus (central processing units) . Linux itself dropped support for 32 bit cpus in 2012.

I haven’t tested any of these as yet but here are a couple of 32 bit distributions.

Ubuntu Linux 18.04 LTS (aka Bionic Beaver :))

This is what I have been testing. You can download the .iso file from (link)here and create a bootable USB or DVD with it. You will also need the Rufus program to burn the .iso. Full instructions can be found here:

Why Ubuntu Linux 18.04 LTS?

  • The LTS (Long Term Support) for starters. This means the operating system is supported for 5 years by Canonical so you will receive security patches. 18.04 LTS will be supported for 5 years until April 2023.
  • The Snap App installer ensures you download software that has been tested and checked for malware by the developers.
  • The GNOME 3 desktop is delightful to use.

The results

I am quite impressed. It picked up and installed the drivers for my network card and wireless worked straight away so I was able to connect to the internet and print to my HP 2600 printer without having to anything.

The only major drawback was there was no storage i.e persistence.. Any programs installed and changes made were lost once you turned the computer off.

Installing Linux with Persistence on a USB stick

The Rufus v3.8 has the ability to create a bootable usb version of linux on a USB drive. See image below. However this does not work for Ubuntu 18.04.4 There is some bug that has not been fixed apparently. (Mosty, 2020).

Rufus iso bootable usb

I found this article on Foss Linux (Adel, 2019) and had a go using the Gparted application on the bootable Ubuntu USB created from the .iso image. You need another spare USB drive on which to install Ubuntu with persistence if you are booting Ubuntu from a USB drive rather than a DVD.

After using the Gparted app. to delete all partitions on the target USB, I began the installation.


I selected Normal installation and Something else as recommend by the article.

Ubuntu normal (2 Ubuntu something elseimages)

Select the drive to partition. Also make sure the correct drive is selected in “Device for boot Menu” at the correct drive, Ubuntu

I partitioned the drive with a FAT32, where the installation goes. You can give the mount point any name. This is a Primary partition. This should be a minimum size of 5.3 Gigabytes.Ubuntu FAT32

I next created a logical drive with a ext4 journaling partition (“ / ” mount point) and a swap file partition.

The swap file partition should be a minimum of 4.096 Gigabytes.logical linux swap partition

The ext4 journaling partition is what gives the installation the capability of persistence. I found you can’t see the FAT32 partition by default. successful Ubuntu installation with this configurtion

The Gparted application doesn’t seem to get installed by default when you install Ubuntu.

You can setup Live Patch to keep you secure once you boot up,

Ubuntu Live Patch

and install Apps with the Ubuntu Snap-in Application Manager.

Ubuntu Snap apps

All in all I am happy with Ubuntu 18.04 and am getting to grips with finding my way around this new operating system 🙂

Note: THe FAT32 on which the Ubuntu OS is installed is not visible with File Manager even as Administrator fat32 partition hidden on Ubuntu


H. Edel 2019,

Foss, 2020

Ubuntu Desktop , 2020

The hazard of using Web Browser Extensions

Extensions for Web Browsers FireFox

We all probably use Extensions in our web browsers without hesitation as they make our life easier.

Popular web extensions include Ad Blockers which block adverts, Video Downloaders which help us download Youtube videos and more .

There is a price to be paid for this convenience as you are literally handing over your life to some other parties. This is especially the case with using free apps out there as not every has good intentions. It is best to start from a point of mistrust until the position of an application such as an Extension or Plugin can be proved otherwise.

Let‘s look at the popular video downloader extension, Video DownloadHelper for the FireFox and Chrome web browsers.

hazard of using browser extensions

Video Downloadhelper


Besides the web browser extension, Video DownloadHelper now insists on installing an Companion Application onto your device (where device is desktop or laptop. I have never installed it on a smartphone). All this so that you can download Youtube and other video clips with a couple of mouse button clicks.

However, if you take a look at the permissions this Extension and Companion Application require to run you nay as well hand over your computing device to someone with all your passwords and data including government business and banking details. 

permissions that sign your life away



Have a look below and the permissions list and you will see that this extension with it’s Companion app can record and send your every action performed on your device to other parties.

I advice checking the permissions that Extensions and plugins require very carefully before you install them. This includes Advert blockers like AdBlock Plus.

You can get around the problem of downloading videos without signing your life away, I recommend using VLC Player which is a genuine open source project created by the good :). 

VLC Player

VLC Player


Here is a link to how to download videos using VLC Player.

Have fun browsing but remember to stay safe. Make a text file of sites and login info you needneed and then periodically clear your cookies and historic data stored in your browser.

BitCoin Wallet for Android and the Jota Text Editor


A couple of applications for the android smartphone.

BitCoin Wallet android_BitCoin_Wallet

The first application is a BitCoin wallet. This application is quite lightweight and works well on my Sony Ericsson Xperia smartphone. The system requirements don’t seem to be quite low. This is because the software does not download the full BitCoin blockchain. This makes it quicker at processing the transaction in a reasonable amount of time with limited processing power. It took under two minutes to send Bitcoins from the wallet on my PC to my wallet on my smartphone.

The software can be downloaded directly from the developer’s site as well as Google’s Play Store.

Not being a fan of Google, I prefer to download software that is available directly from the developer. Here’s the link to developer’s site:

After installing the BitCoin wallet please remember to encrypt it and PLEASE make sure you REMEMBER the password that you choose for this. As if you forget it, there is no way that you will be able to access your wallet. It is also advisable to make a copy of this encrypted file and store it elsewhere for example, your computer’s hard drive or a usb stick.

You can also see what developments are being made to the software and make your own requests too on the forum. At the moment NFC (tap to transfer type transaction) functionality has been implemented and is being tested.

jota_text_editorJota Text Editor.

My Xperia came without a decent text editor. It had one of sorts but I could never summon it at will and did want to use a google app. Anf give the corporations and GCHQ yet more material to work with. After having a look around I found Jota Text Editor which is a brilliant little text editor it’s pronounced as i-o-t-a by the way.

You can download it from here.

That about wraps it up for now.

Don’t Delay! Secure your online BitCoin Wallet today!

With the current value of BitCoin soaring against the fiat currencies  it’s inevitable that it will attract keen interest from cyber criminals.  Don’t be lulled into a false sense of security by having your wallet stored at an online  exchange.
Whilst many exchanges provide good file security and network on their networks,  they are not responsible for the contents of your wallet being stolen should your password be compromised through a phishing attack or if you login password gets captured by a trojan on your computer/mobile phone.
The best way to secure your wallet is by having  two factor authentication set on it. 
Whilst the largest bitcoin exchange Mtgox provides support for this security model the  documentation provided by Mtgox is a appalling and two factor authentication would not be able to be implemented by non technical computer person.

If you have an online Mtgox wallet that you access by means of a home computer download and install the the the Google Authentication App. I’m not a big fan of becoming even more dependent on  Google but this is what is  supported by MtGox and will have to do for now unless you decide to buy a YubiKey which is a hardware implementation (via a USB key).


  1. Download the  html5 google authenticator app here and  extract the files in into a folder of your choice. Then open the index.html in your browser.

You should have a screen looking something like this, with only the default google alice account.  Click the ‘+’ to create an Mtgox account and enter the PRIVATE Key here that you create at the MtGox site. Login to MtGox now to create this PRIVATE KEY.

2. Creating your Private Key. Log into your MtGox account and go to the Security Centre.

Click on the ‘Add New’ New Software Authentication System. This will bring up the screen shown below.

Print and Save this in a safe place! Take a screen shot of it as you will need to know and keep hold of your Secure Private Key for future reference. Do not Lose it!

3. Now enter this PRIVATE Key into the  place requesting it in the Google Authenticator. You should then have your OTP (one time password aka passcode) appear fro the MtGox account in Google Authenticator and the changes ever 30s.

4.Copy the OTP (also called the Code on the mtGox site)  from the Google Authenticator and  enter it into the 4th field at the bottom called ‘Code’. Then click on the ‘Save’ button.

5. Applying the Security.

Go back to the mtGox security centre. When you created the Private Key using the New Software Authentication System, the first entry created was the Auth Name. This was done automatically. In the screen above it it OTP#5059.

You can apply your OTP to the LOgin, Withdrawal and Security Centre.

Apply it to both the Withdrawals and Security Centre as shown in the screen shot below.  Why link this Google Authentication to the Security Centre. This is so that if someone does gain access to you email account the won’t be able to reset/remove  the security on your Withdrawals and thus steal your BitCoins and other Funds.

  You should now be able to sleep more securely knowing that your valuable BitCoins cannot be stolen should your email account used to autheticate you at MTGox ever get compromised.

Special thanks to BitCoinBull at for the original posting in the form and to G.Braad ( for compiling the Google authenticator for HTML5.


What I love and hate about my Nokia N95 phone.

Well, perhaps Love/ Hate are  too strong a word. Especially since I am no techno geek or techno whizz and slow to make the  change from a proven and working system. Indeed my N95 came out in 1997 and we have only been together for 3 months. So I am not really up there with the latest technology. In fact the only reason I got it is that I felt it would be handy to be able to access the web via wifi.

So let’s start with the short comings of my Nokia N95.

  • For one you can use it like a normal phone because the ear piece does not work 95% of the time. It’s a bug in the software that never seems to have been ironed out. You have to speak to your call either via loudspeaker or headphones. Shocking! A lot of people must have returned these phones for this reason.
  • Volume control does not work – a design fault where the button breaks of it’s mountings. You can hover adjust the volume and leave it at a preset level using the external volume control cable. No ideal but a work around.
  • Nokia has provided sync support only for MS Outlook and IBM Lotus Notes. This means that you cannot sync your calendar with open source email applications like Mozilla’s Thunderbird which is a pain. And please no one mention Google Calendar. We have already given Google too much power with near search engine monopoly, our addiction to Youtube videos that I don’t really want to hand them my Calendar.
  • Not many applications out there, but I don’t find this to be a limitation as it does web, email, calendar and a couple of instant messenger programs.
  • Some say it’s a bit bulky but I don’t find this a problem.

The things I like about the N95

  • Pretty stable Symbian S60 operating system
  • Decent SatNav and Nokia Maps
  • Great sound system! Puts Apple iPhones to shame. You don’t need external speakers with this on to get the party going )
  • 4 Gb memory for storageis sufficent and the apps cope okay with the 48 Mb internal RAM.
  • Takes great pics with the 5 Mega pixel camera
  • Plays Youtube videos well – Real Player
  • Crystal clear and bright display
  • Supports OggPlayer (free app. but they accept donations) which is great for Audio books – has independent volume control and fast forward/rewind which default Nokia Music Player lacked.
  • Buttons – I like buttons. Nokia’s 3 lettered buttons suit me down to a tee.

Well, that’s be and my N95 in a nutshell. I am not looking to get another phone anytime soon )

Re-installing Monitoring on SBS 2003 SP2

Re-installing Monitoring on Small Business Server 2003 Sp2

I had to re-install WSUS 3.) Sp2 and Monitoring on my SBS 2003 server after it broke when I tried to upgrade WSUS fro version 3.0 Sp1 to 2.0 Sp2.

These are the steps I followed:

Steps to Re-install SBS Monitoring

1. Control Panel -> Add Remove Programs -> Windows Small Business Server 2003 -> Change Remove ->
Set Server Tools to Maintenance. Set Monitoring to Remove and continue the setup process.

2. Control Panel -> Add Remove Program -> Microsoft SQL Server Desktop Engine (SBSMonitoring) -> Remove.

3. Delete IIS Virtual Directory

Open IIS, expand servername, Web Sites, Default Web Site
Deleted Monitoring. Backed up files in the virtual directory first.

4. Renamed the C:\program files\Microsoft SQL Server\MSSQL$SBSMONITORING Folder.

5. Deleted the registry keys relating to Monitoring

A. Deleted HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SmallBusinessServer\Monitoring
B. Deleted HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL

6. Reboot the server.

7. Control Panel -> Add Remove Program -> Windows Small Business Server 2003.
Set Server Tools to Maintenance. Set Monitoring to Install and continue the setup process. I had an error message that

the system was unable to install MS SQL SP4. An error showed up on the install option.

8. 6. Rebooted the server.

9. 7. MSSQL$SBSMONITORING and SQLAgent$SBSMONITORING services started up on reboot.

10. 8. In Server Management Console -> Monitoring and Reporting: run the “Set Up Monitoring Reports and Alerts wizard”

Monitoring is now running but I have two errors relating to it in my system log file.

These are:

Event ID 120

The report server cannot decrypt the symmetric key. Most likely, the service account or password has changed. To continue, run rsconfig.exe to update the report server account information.\r\n
Event ID 140

The application domain WindowsService_5 failed to initialize. Error: Microsoft.ReportingServices.Diagnostics.Utilities.KeyStateNotValidException: The report server cannot access the private key for the service account. This key is used to decrypt the symmetric key that protects content in the report server database. This condition might occur after the password is reset for the report server service account. You must either restore a backup key or delete all encrypted content. —> System.Runtime.InteropServices.COMException (0x8009000B): Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at RSManagedCrypto.RSCrypto.ExportPublicKey() at Microsoft.ReportingServices.Diagnostics.DataProtection.PreparePublicKey(Boolean repair) at Microsoft.ReportingServices.Library.ConnectionManager.<GetEncryptionKey>b__2() — End of inner exception stack trace — at Microsoft.ReportingServices.Library.ConnectionManager.<GetEncryptionKey>b__2() at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state) at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state) at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback) at Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey() at Microsoft.ReportingServices.Library.ConnectionManager.ConnectStorage() at Microsoft.ReportingServices.Library.ServiceController.ServiceStartThread(Object firstStart).

I tried using the RSKeyMgmt tool but it just could not find the instance of MS SQL server on my machine. i.e <severname>\SBSMonitoring If any one has some bright ideas, I’d be happy to hear from them.

WSUS 3.0 SP2 installed without any problems after this.