I tried using SYSTEM rather than a specific account, but this did not
make any difference.

However in the meantime I discovered that the problem is caused when
shutting down the PC. At the moment of shutdown I get the following
message:

> 
> [08-03-17 21:37:44.9444] Slim::Schema::Storage::throw_exception (67)
> Error: DBI Connection failed: DBI
> connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',...)
> failed: Can't connect to MySQL server on '127.0.0.1' (10061) at
> C:\Program Files\SqueezeCenter\server\CPAN/DBIx/Class/Storage/DBI.pm
> line 652
> 

Followed by this:

> 
> [08-03-17 21:38:07.3497] Slim::Utils::MySQLHelper::stopServer (382)
> FATAL: Server didn't shutdown in 20 seconds!
> [08-03-17 21:38:07.3506] Slim::Schema::forceCommit (1363) Warning:
> Trying to commit transactions before DB is initialized!
> [08-03-17 21:38:08.3498] Slim::Schema::Storage::throw_exception (67)
> Error: DBI Connection failed: DBI
> connect('hostname=127.0.0.1;port=9092;database=slimserver','slimserver',...)
> failed: Can't connect to MySQL server on '127.0.0.1' (10061) at
> C:\Program Files\SqueezeCenter\server\CPAN/DBIx/Class/Storage/DBI.pm
> line 652
> 

I am running SqueezeCenter as a service.

We have previously established that the SqueezeCenter Startup Options
utility (7.0) does not properly install a dependency between the
SqueezeCentre service and the SqueezeSql service.

So I guess that when shutting down the computer the OS is stopping the
SqueezeSql service before stopping the SqueezeCenter service, and thus
causing the latter to report the above database disconnect errors.

Am I right? And if so is there a fix?


-- 
AndrewFG

Regards,
AndrewFG
------------------------------------------------------------------------
AndrewFG's Profile: http://forums.slimdevices.com/member.php?userid=15838
View this thread: http://forums.slimdevices.com/showthread.php?t=44892

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to