DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-08 20:46:17

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Squeezecenter-Funplug 7.3.1

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

 

#2 2009-01-09 19:58:52

rori
Member
Registered: 2007-09-29
Posts: 49

Re: Squeezecenter-Funplug 7.3.1

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?


DNS-323 / firmware 1.08b9
fonz funplug ffp:v0.5
firefly: svn-1735 (via funplug) with ogg and flac support streaming to Pinnacle Soundbrigde Home Music firmware 3.0.52
HDD: 2x1,5 TB Seagate HD154UI Rev: 1AG0 in RAID1-mode

Offline

 

#3 2009-01-09 23:03:56

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Squeezecenter-Funplug 7.3.1

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:

Code:

sh /ffp/start/slimserver.sh stop
sh /ffp/start/mysqld.sh restart
/ffp/sbin/reset-slimserver-database.sh
exit

Reboot now.

Offline

 

#4 2009-01-10 03:33:49

rori
Member
Registered: 2007-09-29
Posts: 49

Re: Squeezecenter-Funplug 7.3.1

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)


DNS-323 / firmware 1.08b9
fonz funplug ffp:v0.5
firefly: svn-1735 (via funplug) with ogg and flac support streaming to Pinnacle Soundbrigde Home Music firmware 3.0.52
HDD: 2x1,5 TB Seagate HD154UI Rev: 1AG0 in RAID1-mode

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB