You are here: Home » Reply

Reply To: mt-daapd suddenly disappears from iTunes / FreeBSD 6.2



@foging wrote:

Edited the /var/cache/mt-daapd and the files withing with chmod a+rx. It looks like this now:

drwxrwxr-x 2 nobody root 4096 2007-05-17 13:54 mt-daapd

When I run mt-daapd i get this:

Initializing database
Query: vacuum
Error: unable to open database file
Rendezvous socket closed (daap server crashed?) Aborting.

Are the permissions still wrong? The runas user is mt-daapd. If i set it to root it will start but I still can’t see anything in iTunes.

The permissions up there are broken up into three sections — owner, group, everyone.

Right now the permissions are set to owner rwx, group rwx, everyone r-x. In the case, the directory is owned by nobody, with group root. So “nobody” has write access to the folder, anyone in the root group has write access to the folder, and everyone else (including mt-daapd) has read-only access to the folder.

Hence not being able to write to it.

Try changing the owner of the folder to mt-daapd. That would work. Or make it world writable, which is probably the wrong thing to do on a multi-user system.

— Ron