View Full Version : Successful install of v6.0.1 on Sparc/Solaris

2005-04-11, 08:32
After a discouraging experience with the beta
version of SlimServer 6.0, it may help to know
that I successfully installed the latest official
version (6.0.1) on a Sparc/Solaris 8 machine. I use
Perl v5.8.3.

After running the Bin/build-perl-modules.pl script,
which downloads and installs Perl modules required
by Slimserver v6, I had to also make a system-wide
install of some of those modules (at least DBI and
XML-Parser) to get rid of the "Had to create
DBI::_dbistate unexpectedly" kind of errors at
startup. As told by someone in an earlier message,
it is mandatory to use v1.46 of the DBI Perl module,
not the current 1.48 version.

PS: I'm still with Solaris 8, as there was a
low-level networking compatibility problem with
Slimserver/Slimp3 on Solaris 9 about two years
ago... I guess this issue is gone now, and an
upgrade to Solaris 10 would be possible ?


2005-04-11, 09:49
I have a Solaris 10/Sparc machine available to test slimserver. If you tell me the nature of the problem with Solaris 9, I can try it out to see if the problem still exists.

2005-04-12, 02:00
The problem with Solaris 9 was that the music would simply stop after a few seconds. This issue was tracked down to a low-level networking problem between Solaris and the Slimp3 client. At that time (about two years ago), there was no known solution, thus I downgraded to Solaris 8. Maybe a patch has been released since then.

Anyway, this discussion is obsolete now, since you tell me that you have a working Solaris 10 machine. Therefore I will rather upgrade directly to Solaris 10, when I have a moment.

Thanks for your proposal.

2005-04-12, 07:14
No, I haven't actually run slimserver on Solaris 10 yet, my current slimserver machine runs NetBSD.

But I will install the current version and run a quick test versus SLIMP3 and Squeezebox1 clients. I'll report back when it is finished. Don't upgrade just yet! :)

2005-04-12, 08:28
I set up slimserver 6.0.1 on Solaris 10/SPARC with a local copy of perl 5.8.6. After installing the required modules, slimserver started fine. I was able to play audio for over 30 minutes on both SLIMP3 and Squeezebox1 players at the same time. Looks good to me.

2005-04-12, 12:58
Wow! That was fast :-)

JTH, Thanks for your effort!

2005-05-29, 19:45
Can either of you describe the type of machine that you are using for Slimserver? I am considering setting up a Solaris machine as my music server and to handle a few other tasks (firewall, etc). I'm not sure how powerful this machine should be.


2005-06-15, 07:15
Sorry for the late answer. Here's my config:
- Solaris 8 (still!)
- SlimServer 6.0.2
- Sun Blade 100 (Ultrasparc IIe CPU clocked at 500MHz)
- 768MB RAM (ECC)
- Original 10GB HD (system files + all software)
- One additional 120GB HD (for the mp3 files; now half full; the max HD size permitted on that system is 137GB)

Sun no longer produces this model, but it may still be had at many places (e.g. Ebay).

It works like a charm: I've never had any (involuntary) reboot.
The SlimServer works fine, except that the creation of long playlists takes more time since version 6. For instance, re-shuffling the ~1400 titles of my "Pop" directory (itself organized in artist/album subdirectories) takes about 2 minutes. I never really measured it, but I recall that the same action used to take just a few seconds with prior versions of SlimServer.

Besides the SlimServer, it also runs an Apache web server (very lightly loaded), as well as a few other services (mail server, time server, samba, ...).

One advantage of this hardware setting, for an always-on system, apart its reliability: I think its power requirements are rather low, compared to most desktop PCs (I never had to replace/upgrade the power supply, on the contrary of my two current windows PCs).

2005-06-20, 08:14
Did you guys create your own startup scripts for Slimserver to be started automatically when the machine is rebooted?

I've just finally managed to get it installed and working under Solaris 10 and the next step would be for it to be automatically started.

Any help would be appreciated.

Cheers, Mike

Robin Bowes
2005-06-20, 14:28
merixon wrote:
> Did you guys create your own startup scripts for Slimserver to be
> started automatically when the machine is rebooted?
> I've just finally managed to get it installed and working under Solaris
> 10 and the next step would be for it to be automatically started.
> Any help would be appreciated.
> Cheers, Mike


A useful starting point might be the Redhat init script:


Or the SuSe init script:



2005-06-29, 05:18

This one (based on a script by Benjamin Scott) is more self-contained and appropriate for Solaris.
I save it as /etc/rc3.d/S99slimserver (the default runlevel is level 3).

#! /bin/sh
# Copyright (c) 2003 Benjamin Scott <bscott@chiark.greenend.org.uk>
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License,
# version 2.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# System startup script for the SlimServer.
# Designed for and tested on Solaris 8 and 9.

# Edit this to suit your setup

test -x $SLIMSERVER_FULLPATH || exit 5

case "$1" in
echo "Starting SlimServer: "

# Fire up the server script: put all arguments here

echo "Shutting down SlimServer: "


## Stop the service and if this succeeds (i.e. the
## service was running before), start it again.
$0 stop && $0 start

## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start

echo "Checking for SlimServer: "

if test $rc = 0; then echo "OK"
else echo "No process"

echo "Usage: $0 {start|stop|status|try-restart|restart}"
exit 1

# the end!