> Any suggestions on what I need to do here?  

Don't run slimserver as root (it really should puke before starting
mysql, but it doesn't).  Instead, add 'slimserver_enable="YES"' to your
/etc/rc.conf and run /usr/local/etc/rc.d/slimserver which will cause
slimserver to be started as slimserv.

I did this first, but it seemed that there were some permissions issues,
(perhaps because I installed over a prior installation of 6.3.1?)  I
chmod'd -R all the appropriate directories to slimserv
(/var/db/slimserver; /usr/local/slimserver; /mp3dir) and moved my
playlists to the /var/db/slimserver/playlists folder.  This seemed to
allow the slimserver script to run correctly in /usr/local/etc/rc.d but
I still have some unexpected crashes, I think at the end of my playlists
or certain files/podcasts.

I have tried to install a nightly, but then I have various "path" issues
where components are not able to be found.  I was not planning to submit
a bug report until I tried a nightly or 6.5.1, when it is ported to
freebsd.  Is there an easy way to install a nightly once the freebsd
port of 6.5 is installed?

Thanks again!

TJ

-----Original Message-----
From: Brooks Davis [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 16, 2006 8:00 PM
To: Thomas J. Angstman
Cc: 'Slim Devices Discussion'
Subject: Re: [slim] FreeBSD port

On Wed, Oct 11, 2006 at 05:33:37AM -0600, TJ Angstman wrote:
> Brooks,
> 
> First, I want to say thanks for maintaining the freebsd port.  I
installed
> 6.3.1 without a hitch.  I am having problems with my upgrade to 6.5.
I
> deinstalled 6.3.1 (/usr/ports/audio/slimserver make deinstall).  I
> deinstalled mysql (same, make deinstall).  I have wiped the
> /usr/local/slimserver and /var/db/slimserver directories.  I ran
portupgrade
> -r perl.  Next I make install clean slimserver.  I get the following
error:
> 
> 
> compslim# /usr/local/slimserver/slimserver.pl
> 061011  5:17:31 [ERROR] Fatal error: Please read "Security" section of
the
> manual to find out how to run mysqld as root!
> 
> 061011  5:17:31 [ERROR] Aborting
> 
> 061011  5:17:31 [Note] /usr/local/libexec/mysqld: Shutdown complete
> 
> 2006-10-11 05:18:01.1972 ERROR: MySQLHelper: createSystemTables()
Couldn't
> connect to database: [Can't connect to local MySQL server through
socket
> '/var/db/slimserver/cache/slimserver-mysql.sock' (2)]
> 
> Any suggestions on what I need to do here?  

Don't run slimserver as root (it really should puke before starting
mysql, but it doesn't).  Instead, add 'slimserver_enable="YES"' to your
/etc/rc.conf and run /usr/local/etc/rc.d/slimserver which will cause
slimserver to be started as slimserv.

> Thanks again for maintaining this port!

You're welcome.

-- Brooks

> T. J. 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Brooks
Davis
> Sent: Friday, April 16, 2004 5:43 PM
> To: [email protected]
> Subject: [slim] FreeBSD port
> 
> I wanted to give the SlimServer a try before I bought a Squeezebox
> and after playing with it a bit, I built a port so it's now in the
> FreeBSD ports collection as audio/slimserver.  Like the RPM, it
> has a startup script.  The script runs the server as user/group
> slimuser for security reasons.  The config file is configured to be in
> /var/db/slimserver/slimserver.conf (IMO, it machine generated and thus
> doesn't belong in /etc).
> 
> I've also configured the installation process to not install copies of
> perl modules that exist as ports as per the ports collection policy.
> Similarly I'm using a port of mDNSResponder instead of the builtin
> binary.  The upside of this is that SlimServer should work on all
> FreeBSD platforms since it doesn't depend on having binaries in the
> correct format.
> 
> I also apply a couple of patches so the tag cache ends up in
> /var/db/slimserver/slimserver.db.  It would be nice if you could do
this
> from the command line instead of via patches.
> 
> SlimServer packages should be available for the next FreeBSD release.
> 
> I'm quite impressed with what I've seen so far and plan to purchase a
> Squeezebox when I return from my upcoming vacation.
> 
> -- Brooks
> 
> -- 
> Any statement of the form "X is the one, true Y" is FALSE.
> PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
> 
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to