Total Ubuntu Noob - I can't get slimserver to start on my edgy eft box. Can anyone tell me what's wrong?
This is from the most recent nightly. 6.5.1
:~$ sudo slimserver start
2006-12-25 21:36:34.5690 ERROR: Cannot write to preferences file /home/chris/slimserver.pref, any changes made will not be preserved for the next startup of the server
2006-12-25 21:36:34.5696 Use of uninitialized value in negation (-) at /usr/share/perl5/Slim/Utils/Misc.pm line 1148.
2006-12-25 21:36:34.5716 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
2006-12-25 21:36:34.5721 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
2006-12-25 21:36:34.9717 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
2006-12-25 21:36:34.9723 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
2006-12-25 21:36:34.9728 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
2006-12-25 21:36:34.9733 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
2006-12-25 21:36:34.9737 Use of uninitialized value in join or string at /usr/share/perl/5.8/File/Spec/Unix.pm line 37.
mkdir /MySQL: Permission denied at /usr/share/perl5/Slim/Utils/MySQLHelper.pm line 156
2006-12-25 21:36:34.9827 Use of uninitialized value in sprintf at /usr/share/perl5/Slim/Utils/MySQLHelper.pm line 470.
Results 1 to 10 of 16
Thread: Noob Problem
-
2006-12-25, 22:40 #1Member
- Join Date
- Nov 2005
- Posts
- 32
Noob Problems - Errors with 6.5.1 with Edgy Eft (ubuntu)
Last edited by thespaugh; 2006-12-25 at 22:49.
-
2006-12-26, 04:22 #2
Noob Problem
> Can anyone tell me what's wrong?
You've got a permissions issue: slimserver can't write to your folder. It
seems to be pointing to your home folder, but the slimserver user does not
have the right to do so.
How did you install SlimServer?
--
Michael
-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR
-
2006-12-26, 07:50 #3Junior Member
- Join Date
- Dec 2006
- Posts
- 5
I too have this same issue. I am using Gentoo and originally used the eBuild in Portage for my install. This worked (and installs 6.5.0); however, I was having issues with it. It would not scan everything. Despite a long, careful re-tagging session, slimserver would still not find certain things. I decided to try the latest nightly.
I removed the Portage installed version and extracted the .tar.gz to my /usr/local directory. I saw that the user/owner of everything was '999' so I changed it to root:root as per what the ebuild did:
chown -R root:root *
This changed the permissions. Despite this, I still get the message described above by thespaugh.
I have searched for info/howto/etc on the forums & wiki for proper installation on a generic (i.e. non-rpm-based) linux system. Obviously I've missed something. Ideas?Last edited by DoubleA; 2006-12-26 at 08:16.
-
2006-12-26, 08:20 #4Junior Member
- Join Date
- Dec 2006
- Posts
- 5
More info:
I have also run ./Bin/build-perl-modules.pl. This appears to run ok, but I get the following:
Downloading DBI-1.50.tar.gz to: /usr/local/slimserver
Uncompressing..
Configuring..
/usr/bin/perl Makefile.PL
I see you're using perl 5.008008 on x86_64-linux, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
(Rest cut to save space).
I have verified that I have 5.8.8 of perl and have ensured that /usr/bin/perl is 5.8.8. All the modules that build say:
Library for <module> is OK!
-
2006-12-26, 08:30 #5Junior Member
- Join Date
- Dec 2006
- Posts
- 5
Even more info:
If I run as a user (not root) I get:
061226 10:28:54 [ERROR] Error message file '/usr/local/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!
061226 10:28:54 [ERROR] Aborting
-
2006-12-26, 10:22 #6Member
- Join Date
- Nov 2005
- Posts
- 32
Permissions?
--
This is how I install:
sudo apt-get update
sudo apt-get install slimserver
My repositories point to:
http://debian.slimdevices.com testing/main Packages
-
2006-12-26, 11:44 #7formerly known as Fletch
- Join Date
- May 2005
- Location
- Lake Oswego, OR
- Posts
- 2,162
I think the above command is running the slimserver.pl file rather than the Debian init script. If you are really running the proper debian init script, I don't think slimserver will ever look for a prefs file other than /etc/slimserver/slimserver.conf (even if your permissions are hosed.)
Try "sudo /etc/init.d/slimserver start" instead.
-
2006-12-26, 11:53 #8Member
- Join Date
- Nov 2005
- Posts
- 32
Thanks for the response.
With sudo /etc/init.d/slimserver start
I get "Starting SlimServer Audio Server."
Is there a command to see if the service has really started?
My browser times out when I try to see http://localhost:9000
-
2006-12-26, 11:59 #9formerly known as Fletch
- Join Date
- May 2005
- Location
- Lake Oswego, OR
- Posts
- 2,162
-
2006-12-26, 12:02 #10
(sudo) /etc/init.d/slimserver status
It doesn't sound like it has though.
Check slimserver.log - you might need to look in the /etc/init.d/slimserver script to see where it is. It's also possible that the script is trying to look for or write slimserver.log or the pref file somewhere where it doesn't have permission too. Both these probably need to be writeable by the user 'slimserver'

Reply With Quote

