Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).

ubuntu

Getting Ubuntu Unity to work in VirtualBox

I was disappointed after installing Ubuntu Desktop 11.04 (Natty) because the new Unity interface didn't load when booting the fresh install in VirtualBox. On first logging in Ubuntu raised a notification that my hardware was not compatible with Unity. Reading a few Ubuntu forums it seemed like a common problem and there were quite a few different solutions being thrown around.

After a couple of tries, here are the steps that worked for me:  

Webmin reports package updates. Really?

Just had a problem with Webmin reporting that packages were updated and need to be installed. When going through the install process it seemed that there were some packages still to be installed. Going back through the update process shows no packages updated...

After a while of this happening, new packages available then install missing some I found that some security patches were being missed by Webmin. Doing an update from command line seems to have fixed the problem:

[geshifilter-pre class="brush:plain;"] $ sudo apt-get upgrade[/geshifilter-pre]

Checking which version of Ubuntu Server is installed

You can find out which version of Ubuntu you currently have installed with the following command:

[geshifilter-pre class="brush:bash;"] $ lsb_release -a[/geshifilter-pre]

 

Finding large files from the command line

To find the largest files using the command line, you could use the following:  

[geshifilter-pre class="brush:bash;"] $ du -a | sort -rn | head[/geshifilter-pre]

 

Finding the UUID of a device in Ubuntu

To find the UUID of a device in Ubuntu Server do the following:

[geshifilter-pre class="brush:bash;"] $ ls -lh /dev/disk/by-uuid/[/geshifilter-pre]

 

Subscribe to RSS - ubuntu