Why mt-daapd crash? with logfile

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1462
    myway
    Participant

    I had install mt-daapd and sqlite3 via apt-get install mt-daapd sqlite3.
    mt-daapd could start well, however, it crashed seems after mp3 file scan finished.

    here is the log file: http://www.zoomx.net/qinyishan/myway/mt-daapd.log

    and the following is part of logfile.

    2007-06-10 17:30:53 (00004000): Starting with debuglevel 2
    2007-06-10 17:30:53 (00004000): Error loading plugin /usr/lib/mt-daapd/plugins/ssc-script.so: plugin declined to load
    2007-06-10 17:30:53 (00004000): Starting rendezvous daemon
    2007-06-10 17:30:53 (00004000): Starting signal handler
    2007-06-10 17:30:53 (00004002): Signal handler started
    2007-06-10 17:30:54 (00004000): Error: enum_begin failed (error 1): Misc SQL Error: no such table: config
    2007-06-10 17:30:54 (00004000): Can’t get db version. New database?
    2007-06-10 17:30:54 (00004000): Initializing database
    2007-06-10 17:30:54 (00004000): Error: enum_begin failed (error 1): ?
    2007-06-10 17:30:59 (00004000): Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    2007-06-10 17:30:59 (00004000): Registering rendezvous names
    2007-06-10 17:30:59 (00004000): Serving 2895 songs. Startup complete in 6 seconds
    2007-06-10 17:30:59 (00004000): Rescanning database
    2007-06-10 17:31:40 (0003c004): Thread 10: could not read: Success
    2007-06-10 17:31:44 (00004000): Cannot read FLAC metadata from /digital/music/OST/YK-LOSELESS/????/Brain Powerd – Field of Love Single – 03 – Dear My Mother.flac
    2007-06-10 17:31:44 (00004000): Skipping /digital/music/OST/YK-LOSELESS/????/Brain Powerd – Field of Love Single – 03 – Dear My Mother.flac – scan failed
    2007-06-10 17:31:45 (00040004): Thread 11: could not read: Success
    2007-06-10 17:31:57 (00004000): Starting playlist scan
    2007-06-10 17:31:59 (00004000): Query: delete from playlistitems where playlistid not in (select distinct id from playlists)
    2007-06-10 17:31:59 (00004000): Error: no such table: playlistitems
    2007-06-10 17:31:59: Aborting
    2007-06-10 17:31:59 (00008003): Rendezvous socket closed (daap server crashed?) Aborting.
    2007-06-10 17:31:59: Aborting

    #11089
    fizze
    Participant

    apg-get install sqlite 😉

    Also make sure you have set proper permissions to the db_dir and the music_dir to the user mt-daapd runs as.
    This is usually nobody.

    #11090
    rpedde
    Participant

    @fizze wrote:

    apg-get install sqlite 😉

    Also make sure you have set proper permissions to the db_dir and the music_dir to the user mt-daapd runs as.
    This is usually nobody.

    And remember also that if the db gets completely screwed up, you can always just delete it.

    (probably in /var/cache/mt-daapd/songs.db)

    — Ron

    #11091
    myway
    Participant

    Thx both upstair.

    Before post this thread, i already apt-get install sqlite3.

    i will check db_dir right. But why log have this error?

    Error: no such table: playlistitems

    #11092
    rpedde
    Participant

    @myway wrote:

    Thx both upstair.

    Before post this thread, i already apt-get install sqlite3.

    i will check db_dir right. But why log have this error?

    Error: no such table: playlistitems

    That would be the “completely screwed up” option I mentioned above. The only way it could really get in a state like that would be crashing while it’s scanning.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.