well, it looks that the database went down.
could it be that the unit was doing an automated scan during which you rebooted it? (prolly even hard reboot?)
well, just delete your songs.db and you should be fine anyhow.
you will lose your smart playlists though, that you defined through the web-interface.
if you dont like that wait for ron to give a detailed explanation 😉