Digital Audio Access Protocol
Check Songs Database & If Broken How To Fix
You will need to ensure that no devices are accessing the DAAP share before proceeding.
To check the database:
Terminal:~$ cd /etc/init.d/ mt-daapd -f -d 9 -m
If you receive the following the database is broken:
Terminal:~$ Checking existence of /var/cache/mt-daapd gdbm fatal: read error
Stop the service, remove the old database and then restart the service:
Terminal:~$ /etc/init.d/mt-daapd stop mv /var/cache/mt-daapd/songs.gdb /var/cache/mt-daapd/songs.old /etc/init.d/mt-daapd start
Linux Terminal:~$ /etc/init.d/mt-daapd stop /etc/init.d/mt-daapd start
The above was shamelessly borrowed from here.
You will be asked for a username and password, leave the username empty and the password is that specified in the mt-daapd.conf file.
By default the password should be mt-daapd.