You are not logged in.

#1 2006-10-15 19:48:43

kristian
Member
From: Norway
Registered: 2005-06-03
Posts: 24

Slimserver in extra is broken(?)

Slimserver is now in Extra. Reallry nice. Thanks. But after I upgraded to 6.5.0-1 I can't get it up and running.

 [root@myhost slimserver]# /etc/rc.d/slimserver start
:: Starting SlimServer                                                   [DONE] 

It looks fine, but it dies within a few seconds.

Output from /var/log/slimserver.log:

061015 21:09:01 [ERROR] Error message file '/home/slimserver/MySQL/errmsg.sys' had only 463 error messages,
but it should contain at least 472 error messages.
Check that the above file is the right version for this program!
061015 21:09:01 [ERROR] Aborting

2006-10-15 21:09:31.1155 ERROR: MySQLHelper: createSystemTables() Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)] 

I've found a few things that might (or might not) be related:
http://bugs.slimdevices.com/show_bug.cgi?id=3968
http://forums.slimdevices.com/showthread.php?t=27035

Any suggestions?

Offline

#2 2006-10-15 20:45:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Slimserver in extra is broken(?)

Did you read the upgrade message?

==> Slimserver >= 6.5.0 uses MySQL instead of sqlite. This package is
==> intended for use with a separate MySQL instance, and should be configured
==> as described here:          
==> http://wiki.slimdevices.com/index.cgi?ExistingMySQLInstance

Offline

#3 2006-10-16 09:44:22

kristian
Member
From: Norway
Registered: 2005-06-03
Posts: 24

Re: Slimserver in extra is broken(?)

:oops: no... sorry to bother you, really.

But I haven't been able to make it index my files though sad I'll have to post a thread on the slimserver-forum

Offline

#4 2006-10-16 09:46:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Slimserver in extra is broken(?)

No bother - always look for messages though. It will save you this kind of trouble.

If you're still down after checking the SS forum, let me know.

Oh, and just so you know - this particular configuration is not officially supported by Slimserver. They would prefer everyone to use the version with MySQL embedded. However, there are plenty of users doing it this way, so you should get some responses.

Offline

#5 2006-10-16 17:15:52

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver in extra is broken(?)

I tried the described recipe, but i cant find the slimserver.pref-file in order to set the database settings.

Offline

#6 2006-10-16 17:40:10

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver in extra is broken(?)

I created the pref-file myself and now get the following error msg:

2006-10-16 19:39:02.6123 ERROR: MySQLHelper: createSystemTables() Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

Offline

#7 2006-10-16 18:24:10

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver in extra is broken(?)

ok, i sorted this one out as well. everything was described in the wiki! :oops:

i also realized that the pref-file was on ~/.slimserver.pref. the only problem now is to find out howto rescan the database. guess i'll have to take a peek at the slimdevices-forums. sorry for spamming this conversation.

Offline

#8 2006-10-16 18:47:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Slimserver in extra is broken(?)

You rescan from Slimserver's GUI, just as you've always done.

Offline

#9 2006-10-16 19:05:25

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Slimserver in extra is broken(?)

yeah i know, but i get the following error msg:

2006-10-16 20:52:03.6998 The URL to access SlimServer is now:

        http://lurix:9000/
2006-10-16 20:52:20.7555 Use of uninitialized value in concatenation (.) or string at /home/slimserver/Slim/Web/HTTP.pm line 2036.
2006-10-16 20:52:20.7556 Use of uninitialized value in open at /home/slimserver/Slim/Web/HTTP.pm line 2036.
2006-10-16 20:52:20.7556 stat() on closed filehandle $template at /home/slimserver/Slim/Web/HTTP.pm line 2037.
2006-10-16 20:52:31.0646 ERROR: Scanner: Failed to update isScanning: [Transactions not supported by database at /home/slimserver/CPAN/DBI.pm line 1657.
]

Transactions not supported by database at /home/slimserver/scanner.pl line 140.
2006-10-16 20:53:45.5021 ERROR: Scanner: Failed to update isScanning: [Transactions not supported by database at /home/slimserver/CPAN/DBI.pm line 1657.
]

Transactions not supported by database at /home/slimserver/scanner.pl line 140.

Offline

#10 2007-03-27 19:48:15

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Slimserver in extra is broken(?)

I'm also having problems getting Slimserver to start.  Have traced it to a problem with mysql. When I start mysqld with /etc/rc.d/mysqld start, it gives:

:: Adding mysql group                                                                                                 [BUSY] groupadd: GID 89 is not unique
                                                                                                                      [DONE]
:: Adding mysql user                                                                                                  [BUSY] useradd: unknown group mysql
chown: `mysql.mysql': invalid user
                                                                                                                      [DONE]
:: Starting MySQL                                                                                                     [FAIL]

What am I doing wrong?

Offline

#11 2007-03-29 09:20:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Slimserver in extra is broken(?)

"groupadd: GID 89 is not unique" - that's the core of the problem. The Arch mysql package creates the mysql system user and group with GID/UID both 89. It appears you already have a group with GID 89. Have a look at /etc/group to identify it.

Some general advice - this is a six-month-old thread, and your problem is not actually specific to slimserver, so I would suggest starting a new thread if the information above does not help.

Last edited by tomk (2007-03-29 09:20:56)

Offline

Board footer

Powered by FluxBB