I gave up in the end and just re-installed the whole server, I had only had it up and running a few days, not too much stuff to recover.
Since then the server has been running fine (fingers crossed).
Still trying to learn as much as poss about linux, difficult to know where to start though sometimes.
James