freebsd and mt-daapd-svn-1696

Viewing 10 posts - 11 through 20 (of 20 total)
  • Author
    Posts
  • #15092
    Anonymous
    Inactive

    Damn! So ented root for the test time πŸ™‚

    [root@ /usr/local/www/privat/torrent/downloads]# ps -axww | grep mt
    52506 p1 S+ 0:00.00 grep mt
    39114 p2 I+ 0:00.01 tail -f /var/log/mt-daapd.log

    2008-01-10 15:28:24 (28401100): Firefly Version svn-1696: Starting with debuglevel 2
    2008-01-10 15:28:24 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
    2008-01-10 15:28:24 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-10 15:28:24 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-10 15:28:24 (28401100): Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
    2008-01-10 15:28:24 (28401100): Plugin loaded: rsp/svn-1696
    2008-01-10 15:28:24 (28401100): Plugin loaded: daap/svn-1696
    2008-01-10 15:28:24 (28401100): Starting rendezvous daemon
    2008-01-10 15:28:24 (28401100): Starting signal handler
    2008-01-10 15:28:24 (28401100): db_sqlite3_open: Misc SQL Error: unable to open database file (/var/cache/mt-daapd/songs3.db)
    2008-01-10 15:28:24 (28401100): Error opening db: Misc SQL Error: unable to open database file

    Well, mysql works fine, maybe I need to config sqlite… Somehow…

    ps: thanks a lot for supporting me 8)

    #15093
    rpedde
    Participant

    @hryamzik wrote:

    Damn! So ented root for the test time πŸ™‚

    [root@ /usr/local/www/privat/torrent/downloads]# ps -axww | grep mt
    52506 p1 S+ 0:00.00 grep mt
    39114 p2 I+ 0:00.01 tail -f /var/log/mt-daapd.log

    2008-01-10 15:28:24 (28401100): Firefly Version svn-1696: Starting with debuglevel 2
    2008-01-10 15:28:24 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
    2008-01-10 15:28:24 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-10 15:28:24 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-10 15:28:24 (28401100): Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
    2008-01-10 15:28:24 (28401100): Plugin loaded: rsp/svn-1696
    2008-01-10 15:28:24 (28401100): Plugin loaded: daap/svn-1696
    2008-01-10 15:28:24 (28401100): Starting rendezvous daemon
    2008-01-10 15:28:24 (28401100): Starting signal handler
    2008-01-10 15:28:24 (28401100): db_sqlite3_open: Misc SQL Error: unable to open database file (/var/cache/mt-daapd/songs3.db)
    2008-01-10 15:28:24 (28401100): Error opening db: Misc SQL Error: unable to open database file

    Well, mysql works fine, maybe I need to config sqlite… Somehow…

    ps: thanks a lot for supporting me 8)

    try:

    mkdir /var/cache/mt-daapd

    — Ron

    #15094
    Osik
    Participant

    hi on freebsd its not

    /var/cache/mt-daapd/

    but

    /usr/local/var/cache/mt-daapd/

    thats the path firefly creates when i installed it. there should the songs3.db go.

    Greetz

    Osik

    #15095
    Anonymous
    Inactive

    /var/cache/mt-daapd/

    is ok, but it’s stil not the end…

    2008-01-12 23:22:42 (28401100): Rendezvous socket closed (daap server crashed?) Aborting.
    2008-01-12 23:22:42: Aborting

    upd: with -d 9:


    2008-01-13 05:21:41 (28401100): Firefly Version svn-1696: Starting with debuglevel 9
    2008-01-13 05:21:41 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
    2008-01-13 05:21:41 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-13 05:21:41 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-13 05:21:41 (28401100): Attempting to load plugin /usr/local/lib/mt-daapd/plugins/libout-daap.so
    2008-01-13 05:21:41 (28401100): Loaded plugin /usr/local/lib/mt-daapd/plugins/libout-daap.so (daap/svn-1696)
    2008-01-13 05:21:41 (28401100): New transcode codec list:
    2008-01-13 05:21:41 (28401100): Attempting to load plugin /usr/local/lib/mt-daapd/plugins/librsp.so
    2008-01-13 05:21:41 (28401100): Loaded plugin /usr/local/lib/mt-daapd/plugins/librsp.so (rsp/svn-1696)
    2008-01-13 05:21:41 (28401100): New transcode codec list:
    2008-01-13 05:21:41 (28401100): Attempting to load plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so
    2008-01-13 05:21:41 (28401100): No ssc program specified for script transcoder.
    2008-01-13 05:21:41 (28401100): Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
    2008-01-13 05:21:41 (28401100): Plugin loaded: rsp/svn-1696
    2008-01-13 05:21:41 (28401100): Plugin loaded: daap/svn-1696
    2008-01-13 05:21:41 (28401100): Starting rendezvous daemon
    2008-01-13 05:21:41 (28401100): Starting signal handler
    2008-01-13 05:21:41 (28401100): Pid: 71551
    2008-01-13 05:21:41 (28401100): Opening database
    2008-01-13 05:21:41 (28401100): Processing rendezvous message
    2008-01-13 05:21:41 (28401100): Rendezvous socket closed (daap server crashed?) Aborting.
    2008-01-13 05:21:41: Aborting

    #15096
    rpedde
    Participant

    @hryamzik wrote:


    2008-01-13 05:21:41 (28401100): Opening database
    2008-01-13 05:21:41 (28401100): Processing rendezvous message
    2008-01-13 05:21:41 (28401100): Rendezvous socket closed (daap server crashed?) Aborting.
    2008-01-13 05:21:41: Aborting

    That looks like a db error.. wonder if it’s corrupt or something? Can try deleting the database from /var/cache/mt-daapd (and a .journal file if its there).

    Also, make sure the directory is writable by your “runas” user.

    Closer and closer…

    #15097
    Anonymous
    Inactive

    No .journal file, deleted the songs3.db, nothing changed.

    There’s one .mp3 song in the music folder and an ln’s link to folder with music.

    I’m sure root does have necessary permissions…

    ps: Tried to delete the ln link in music folder, it’s not why mt-daap crashes. πŸ™‚

    #15098
    rpedde
    Participant

    @hryamzik wrote:

    No .journal file, deleted the songs3.db, nothing changed.

    There’s one .mp3 song in the music folder and an ln’s link to folder with music.

    I’m sure root does have necessary permissions…

    ps: Tried to delete the ln link in music folder, it’s not why mt-daap crashes. πŸ™‚

    So you are saying there is only one music file and it wont’ run with that?

    Can you run gdb and get a stack backtrace?

    Basically, just run “gdb mt-daapd”, then when gdb starts up, do “run -d9 -f -c /path/to/mt-daapd.conf -y”

    let it run until it crashes, and you get thrown to a prompt. Do “bt” and paste the output in here. That might help some.

    — Ron

    #15099
    Anonymous
    Inactive

    (gdb) run -d9 -f -c /usr/local/etc/mt-daapd.conf -y
    Starting program: /usr/local/sbin/mt-daapd -d9 -f -c /usr/local/etc/mt-daapd.conf -y
    [New LWP 100164]
    [New Thread 0x28401100 (LWP 100164)]
    Loading config file /usr/local/etc/mt-daapd.conf
    Opening file:///usr/local/etc/mt-daapd.conf?ascii=1
    Checking handler for file
    opening /usr/local/etc/mt-daapd.conf
    Config file open
    Got general/web_root, convert to general/web_root (/usr/local/www/privat/itunes/admin)
    Found existing section
    Got general/port, convert to general/port (3689)
    Found existing section
    Got general/admin_pw, convert to general/admin_pw (admin_pw)
    Found existing section
    Got general/db_dir, convert to general/db_dir (/usr/local/var/mt-daapd/db)
    Found existing section
    Got general/mp3_dir, convert to general/mp3_dir (/usr/home/hryamzik/music)
    Found existing section
    Found 1 tokens in /usr/home/hryamzik/music
    Token 1: /usr/home/hryamzik/music
    Got general/servername, convert to general/servername (Chronos iTunes Server)
    Found existing section
    Got general/runas, convert to general/runas (root)
    Found existing section
    Got general/playlist, convert to general/playlist (/usr/local/etc/mt-daapd.playlist)
    Found existing section
    Got general/password, convert to general/password (1q2w3e)
    Found existing section
    Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p)
    Found existing section
    Got general/logfile, convert to general/logfile (/var/log/mt-daapd.log)
    Found existing section
    Got general/db_type, convert to general/db_type (sqlite3)
    Found existing section
    Checking existence of /usr/local/www/privat/itunes/admin
    Checking existence of /usr/local/www/privat/itunes/admin
    Config entry general/db_dir is deprecated. Please review the sample config
    Checking existence of /usr/local/var/mt-daapd/db
    Checking existence of /usr/local/var/mt-daapd/db
    Config entry general/playlist is deprecated. Please review the sample config
    Loading new config file.
    Opening file:///var/log/mt-daapd.log?mode=a&ascii=1
    Checking handler for file
    opening /var/log/mt-daapd.log
    Firefly Version svn-1696: Starting with debuglevel 9
    Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
    Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    Attempting to load plugin /usr/local/lib/mt-daapd/plugins/libout-daap.so
    Loaded plugin /usr/local/lib/mt-daapd/plugins/libout-daap.so (daap/svn-1696)
    New transcode codec list:
    Attempting to load plugin /usr/local/lib/mt-daapd/plugins/librsp.so
    Loaded plugin /usr/local/lib/mt-daapd/plugins/librsp.so (rsp/svn-1696)
    New transcode codec list:
    Attempting to load plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so
    No ssc program specified for script transcoder.
    Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
    Plugin loaded: rsp/svn-1696
    Plugin loaded: daap/svn-1696
    Starting rendezvous daemon
    Starting signal handler
    Opening database
    [New Thread 0x28401200 (LWP 100184)]
    [New Thread 0x28401300 (LWP 100185)]
    [Thread 0x28401200 (LWP 100184) exited]
    [Thread 0x28401300 (LWP 100185) exited]

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x28401100 (LWP 100164)]
    0x2829fb96 in sqlite3Fts2InitHashTable (db=0x2842a040, pHash=0x28409960, zName=0x282b5438 "fts2_tokenizer")
    at ./ext/fts2/fts2_tokenizer.c:356
    356 ./ext/fts2/fts2_tokenizer.c: No such file or directory.
    in ./ext/fts2/fts2_tokenizer.c
    (gdb)

    hmm
    in logs


    2008-01-18 01:28:07 (28401100): Firefly Version svn-1696: Starting with debuglevel 9
    2008-01-18 01:28:07 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
    2008-01-18 01:28:07 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-18 01:28:07 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-18 01:28:07 (28401100): Attempting to load plugin /usr/local/lib/mt-daapd/plugins/libout-daap.so
    2008-01-18 01:28:07 (28401100): Loaded plugin /usr/local/lib/mt-daapd/plugins/libout-daap.so (daap/svn-1696)
    2008-01-18 01:28:07 (28401100): New transcode codec list:
    2008-01-18 01:28:07 (28401100): Attempting to load plugin /usr/local/lib/mt-daapd/plugins/librsp.so
    2008-01-18 01:28:07 (28401100): Loaded plugin /usr/local/lib/mt-daapd/plugins/librsp.so (rsp/svn-1696)
    2008-01-18 01:28:07 (28401100): New transcode codec list:
    2008-01-18 01:28:07 (28401100): Attempting to load plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so
    2008-01-18 01:28:07 (28401100): No ssc program specified for script transcoder.
    2008-01-18 01:28:07 (28401100): Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
    2008-01-18 01:28:07 (28401100): Plugin loaded: rsp/svn-1696
    2008-01-18 01:28:07 (28401100): Plugin loaded: daap/svn-1696
    2008-01-18 01:28:07 (28401100): Starting rendezvous daemon
    2008-01-18 01:28:07 (28401100): Starting signal handler
    2008-01-18 01:28:07 (28401100): Opening database

    #15100
    rpedde
    Participant

    @hryamzik wrote:


    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x28401100 (LWP 100164)]
    0x2829fb96 in sqlite3Fts2InitHashTable (db=0x2842a040, pHash=0x28409960, zName=0x282b5438 "fts2_tokenizer")
    at ./ext/fts2/fts2_tokenizer.c:356
    356 ./ext/fts2/fts2_tokenizer.c: No such file or directory.
    in ./ext/fts2/fts2_tokenizer.c
    (gdb)

    Sure enough, it’s the database. Either the db is corrupt in some way, or you’ve found a bug in sqlite. Congratulations!

    Simplest fix might be to switch to the “other” sqlite. If you are using sqlite3, try sqlite2, etc.

    You’ll have to also set db_type in the config to the “other” value — either sqlite (for sqlite2) or sqlite3.

    In addition, you’ll ahve to compile again this time with –enable-sqlite (for sqlite2) or –enable-sqlite3.

    Still, I wonder what that’s about. Haven’t heard anything like that before. Not disk io errors in your syslog or anything, are there?

    #15101
    Anonymous
    Inactive

    yes, it finaly starts!

    I hope the last problem is the web-interface.

    2008-01-19 01:53:35 (28401100): Firefly Version svn-1696: Starting with debuglevel 2
    2008-01-19 01:53:35 (28401100): Error opening plugin dir /usr/lib/firefly/plugins. Ignoring
    2008-01-19 01:53:35 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-19 01:53:35 (28401100): Error opening plugin dir /lib/mt-daapd/plugins. Ignoring
    2008-01-19 01:53:35 (28401100): Error loading plugin /usr/local/lib/mt-daapd/plugins/libssc-script.so: plugin declined to load
    2008-01-19 01:53:35 (28401100): Plugin loaded: rsp/svn-1696
    2008-01-19 01:53:35 (28401100): Plugin loaded: daap/svn-1696
    2008-01-19 01:53:35 (28401100): Starting rendezvous daemon
    2008-01-19 01:53:35 (28401100): Starting signal handler
    2008-01-19 01:53:35 (28401100): Initializing database
    2008-01-19 01:53:35 (28401100): Starting web server from /usr/local/www/privat/itunes/admin on port 3689
    2008-01-19 01:53:35 (28401100): Registering rendezvous names
    2008-01-19 01:53:35 (28401100): Serving 1 songs. Startup complete in 0 seconds
    2008-01-19 01:56:40 (28401400): Thread 0: Entering ws_returnerror (401: Unauthorized)
    2008-01-19 01:56:57 (28401500): Thread 1: Entering ws_returnerror (302: Moved)
    2008-01-19 01:56:57 (28401600): Thread 2: Error opening /usr/local/www/privat/itunes/admin/index.html: No such file or directory
    2008-01-19 01:56:57 (28401600): Thread 2: Entering ws_returnerror (404: Not found)
    2008-01-19 01:56:57 (28401700): Thread 3: Error opening /usr/local/www/privat/itunes/admin/favicon.ico: No such file or directory
    2008-01-19 01:56:57 (28401700): Thread 3: Entering ws_returnerror (404: Not found)
    2008-01-19 01:59:08 (28401800): Thread 4: Error opening /usr/local/www/privat/itunes/admin/index.html: No such file or directory
    2008-01-19 01:59:08 (28401800): Thread 4: Entering ws_returnerror (404: Not found)

    I do have these folders, I do have permissions.

    UPD: does not work with ln links πŸ™

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