- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
LMS crashes on initial scan - Linux tarball version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-08-2012 08:56 AM
I have an up-to-date Gentoo linux system running Perl 5.12.4, and installed LMS version 7.7.2 from the tarball. I started the server and accessed the wizard web site (port 9000) no problem. At this point I can use the server from my SqueezeboxBoom, and everything seems normal. The problem occurs after I choose my music folder and playlist folder and move to settings management. The server crashes immediately after the web pages changes to a dark green format with "Loading Logitech Media Server..."
I am not sure if the problem is with the SQLite interface or with the actual scanning of the files, but I suspect it is SQLite, because I looked and saw no Logitech database or tables stored in it... it is empty. Also the logs indicate that a sqlite_stat1 table was not found and that the server was trying to commit transactions before the database was initialized.
However I had installed the DBD-SQLite perl module with a PASS on the test and no error messages.
Note the log messages below. Any pointers as to what might be wrong would be much appreciated. The last message "Discovering audio files" appeared immediately before the crash.
[12-04-08 10:36:22.3083] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 06:37:22 MDT 2012) perl 5.012004
[12-04-08 10:36:22.5649] Slim::Utils:
QLiteHelper:
ostConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[12-04-08 10:36:23.3897] main::checkDataSource (1072) Warning: Schema updated or no media found in the database, initiating scan.
[12-04-08 10:36:24.1291] main::main (200) Starting Logitech Media Server scanner (v7.7.2, r33893, Wed Mar 14 06:37:22 MDT 2012) perl 5.012004
[12-04-08 10:36:24.9020] Slim:
chema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized!
[12-04-08 10:36:25.1836] Slim::Music::Import::runImporter (485) Starting Slim::Media::MediaFolderScan scan
[12-04-08 10:36:25.1842] Slim::Music::Import::endImporter (617) Completed Slim::Media::MediaFolderScan Scan in 0 seconds.
[12-04-08 10:36:25.2571] Slim::Music::Artwork:
recacheAllArtwork (447) Starting precacheArtwork for 0 albums
[12-04-08 10:36:25.2576] Slim::Music::Import::endImporter (617) Completed precacheArtwork Scan in 0 seconds.
[12-04-08 10:36:25.3383] Slim::Music::Import::runScanPostProcessing (400) Starting Database optimization.
[12-04-08 10:36:25.3400] Slim::Music::Import::endImporter (617) Completed dbOptimize Scan in 0 seconds.
[12-04-08 10:36:25.5689] Slim::Utils:
QLiteHelper:
ostConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[12-04-08 11:06:34.0489] Slim::Utils:
canner::Local::rescan (171) Discovering audio files in /musicstore
Segmentation fault
Re: LMS crashes on initial scan - Linux tarball version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-10-2012 09:43 AM
I am trying to put in these logs without the annoying automatic graphical smilies (grrr!)
Hopefully this should do it.
[code] [12-04-08 10:36:22.3083] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 06:37:22 MDT 2012) perl 5.012004 [12-04-08 10:36:22.5649] Slim::Utils::SQLiteHelper::smileytongue:ostConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table [12-04-08 10:36:23.3897] main::checkDataSource (1072) Warning: Schema updated or no media found in the database, initiating scan. [12-04-08 10:36:24.1291] main::main (200) Starting Logitech Media Server scanner (v7.7.2, r33893, Wed Mar 14 06:37:22 MDT 2012) perl 5.012004 [12-04-08 10:36:24.9020] Slim::Schema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized! [12-04-08 10:36:25.1836] Slim::Music::Import::runImporter (485) Starting Slim::Media::MediaFolderScan scan [12-04-08 10:36:25.1842] Slim::Music::Import::endImporter (617) Completed Slim::Media::MediaFolderScan Scan in 0 seconds. [12-04-08 10:36:25.2571] Slim::Music::Artwork::PrecacheAllArtwork (447) Starting precacheArtwork for 0 albums [12-04-08 10:36:25.2576] Slim::Music::Import::endImporter (617) Completed precacheArtwork Scan in 0 seconds. [12-04-08 10:36:25.3383] Slim::Music::Import::runScanPostProcessing (400) Starting Database optimization. [12-04-08 10:36:25.3400] Slim::Music::Import::endImporter (617) Completed dbOptimize Scan in 0 seconds. [12-04-08 10:36:25.5689] Slim::Utils::SQLiteHelper::HostConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table [12-04-08 11:06:34.0489] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in /musicstore Segmentation fault [/code]
