FireFly Media Server (formerly mt-daapd) › Firefly Media Server Forums › Firefly Media Server › Setup Issues › freebsd and mt-daapd-svn-1696
This topic contains 19 replies, has 3 voices, and was last updated by Anonymous 11 years, 10 months ago.
- AuthorPosts
- 14th January 2008 at 5:41 am #15097
AnonymousNo .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. 🙂
16th January 2008 at 3:51 am #15098@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
17th January 2008 at 10:28 pm #15099
Anonymous
(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
18th January 2008 at 5:27 am #15100@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?
18th January 2008 at 10:56 pm #15101
Anonymousyes, 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 🙁
- AuthorPosts
The forum ‘Setup Issues’ is closed to new topics and replies.