Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
A new Squeezecenter-Funplug with the latest Squeezecenter version 7.3.1 is ready for testing at
http://www.inreto.de/dns323/squeezecenter-funplug/
If you're upgrading from the earlier 7.2.1 version, I recommend to completely uninstall the funplug before installing the new files.
The Squeezecenter-Funplug is a stripped down version of ffp, including only the Squeezecenter software (plus required infrastructure, such as busybox, mysql and perl). Note that you cannot mix it with the standard ffp. E.g., the funpkg utility is not included, but Squeezecenter doesn't leave much room for other stuff, anyway. Have fun!
Offline
Hi fonz,
I just installed your latest great contribution on my DNS323.
I have managed to login into http://192.168.0.3:90/index.cgi
When I press "start slimserver" I get the following error-message:
Slimserver
Starting Slimserver
Please wait .ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) .......FAILED
Status stopped
Here is the output of the logfile:
Squeezecenter Fun-Plug
based on ffp-0.5
2008
* Home
* Slimserver
* Telnet
Slimserver
Status stopped
[09-01-09 18:44:34.5714] Slim::Schema::Storage::throw_exception (70) Error: DBI Connection failed: DBI connect('database=slimserver:mysql_socket=/ffp/var/run/mysql/mysql.sock','slimserver',...) failed: Unknown database 'slimserver' at /mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[09-01-09 18:44:34.6045] Slim::Schema::Storage::throw_exception (70) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 70)
frame 1: Slim::Schema::Storage::throw_exception (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 4: DBIx::Class::Storage::DBI::ensure_connected (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 29)
frame 5: (eval) (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 29)
frame 6: Slim::Schema::Storage::dbh (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema.pm line 131)
frame 7: Slim::Schema::init (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Music/Info.pm line 76)
frame 8: Slim::Music::Info::init (./slimserver.pl line 367)
frame 9: main::init (./slimserver.pl line 484)
frame 10: main::main (./slimserver.pl line 1048)
[09-01-09 18:44:34.6136] Slim::Schema::Storage::dbh (41) Warning: Unable to connect to the database - trying to bring it up!
[09-01-09 18:44:36.3112] Slim::Schema::Storage::throw_exception (70) Error: DBI Connection failed: DBI connect('database=slimserver:mysql_socket=/ffp/var/run/mysql/mysql.sock','slimserver',...) failed: Unknown database 'slimserver' at /mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[09-01-09 18:44:36.3190] Slim::Schema::Storage::throw_exception (70) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 70)
frame 1: Slim::Schema::Storage::throw_exception (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 4: DBIx::Class::Storage::DBI::ensure_connected (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 47)
frame 5: (eval) (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 47)
frame 6: Slim::Schema::Storage::dbh (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema.pm line 131)
frame 7: Slim::Schema::init (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Music/Info.pm line 76)
frame 8: Slim::Music::Info::init (./slimserver.pl line 367)
frame 9: main::init (./slimserver.pl line 484)
frame 10: main::main (./slimserver.pl line 1048)
[09-01-09 18:44:36.3255] Slim::Schema::Storage::dbh (50) Error: Unable to connect to the database - even tried restarting it twice!
[09-01-09 18:44:36.3309] Slim::Schema::Storage::dbh (51) Error: Check the event log for errors on Windows. Fatal. Exiting.
[09-01-09 18:44:36.3872] Slim::Schema::forceCommit (1481) Warning: Trying to commit transactions before DB is initialized!
[09-01-09 18:52:13.8432] Slim::Schema::Storage::throw_exception (70) Error: DBI Connection failed: DBI connect('database=slimserver','slimserver',...) failed: Can't connect to local MySQL server through socket '/ffp/var/run/mysql/mysql.sock' (2) at /mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[09-01-09 18:52:13.8635] Slim::Schema::Storage::throw_exception (70) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 70)
frame 1: Slim::Schema::Storage::throw_exception (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 4: DBIx::Class::Storage::DBI::ensure_connected (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 29)
frame 5: (eval) (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 29)
frame 6: Slim::Schema::Storage::dbh (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema.pm line 131)
frame 7: Slim::Schema::init (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Music/Info.pm line 76)
frame 8: Slim::Music::Info::init (./slimserver.pl line 367)
frame 9: main::init (./slimserver.pl line 484)
frame 10: main::main (./slimserver.pl line 1048)
[09-01-09 18:52:13.8708] Slim::Schema::init (134) Error: Couldn't connect to database! Fatal error: [] Exiting!
[09-01-09 18:52:13.8771] Slim::Schema::init (134) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema.pm line 134)
frame 1: Slim::Schema::init (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Music/Info.pm line 76)
frame 2: Slim::Music::Info::init (./slimserver.pl line 367)
frame 3: main::init (./slimserver.pl line 484)
frame 4: main::main (./slimserver.pl line 1048)
[09-01-09 18:52:13.8914] Slim::Schema::forceCommit (1481) Warning: Trying to commit transactions before DB is initialized!
[09-01-09 18:53:22.6810] Slim::Schema::Storage::throw_exception (70) Error: DBI Connection failed: DBI connect('database=slimserver:mysql_socket=/ffp/var/run/mysql/mysql.sock','slimserver',...) failed: Unknown database 'slimserver' at /mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
[09-01-09 18:53:22.6996] Slim::Schema::Storage::throw_exception (70) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 70)
frame 1: Slim::Schema::Storage::throw_exception (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 658)
frame 2: DBIx::Class::Storage::DBI::_connect (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 616)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 543)
frame 4: DBIx::Class::Storage::DBI::ensure_connected (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 29)
frame 5: (eval) (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema/Storage.pm line 29)
frame 6: Slim::Schema::Storage::dbh (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema.pm line 131)
frame 7: Slim::Schema::init (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Music/Info.pm line 76)
frame 8: Slim::Music::Info::init (./slimserver.pl line 367)
frame 9: main::init (./slimserver.pl line 484)
frame 10: main::main (./slimserver.pl line 1048)
[09-01-09 18:53:22.7261] Slim::Schema::init (134) Error: Couldn't connect to database! Fatal error: [] Exiting!
[09-01-09 18:53:22.7323] Slim::Schema::init (134) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Schema.pm line 134)
frame 1: Slim::Schema::init (/mnt/HD_a2/ffp/lib/squeezecenter/Slim/Music/Info.pm line 76)
frame 2: Slim::Music::Info::init (./slimserver.pl line 367)
frame 3: main::init (./slimserver.pl line 484)
frame 4: main::main (./slimserver.pl line 1048)
[09-01-09 18:53:22.7460] Slim::Schema::forceCommit (1481) Warning: Trying to commit transactions before DB is initialized!
Back
Any good advice for me on how to initialize the database?
Offline
rori wrote:
Slim::Schema::Storage::throw_exception (70) Error: DBI Connection failed: DBI connect('database=slimserver:mysql_socket=/ffp/var/run/mysql/mysql.sock','slimserver',...) failed: Unknown database 'slimserver' at /mnt/HD_a2/ffp/lib/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 652
Any good advice for me on how to initialize the database?
Did you install on a clean device?
I suggest you enable telnet, open a connection, and try to reset the slimserver database:
sh /ffp/start/slimserver.sh stop sh /ffp/start/mysqld.sh restart /ffp/sbin/reset-slimserver-database.sh exit
Reboot now.
Offline
Thanks, Squeezecenter works fine - I had to delete the old ffp-folder first.
Unfortuntely Squezzecenter does not support my Soundbridge Home Music, so I will go back to Firefly and wait for Twonky 5.0 to appear...
Last edited by rori (2009-01-10 03:34:39)
Offline