Sorry you're having trouble.
The current 7.5.4 ebuild only works with the new baselayout-2, which
should be checked through a dependency, but it's worth manually checking
too. Try "emerge --info baselayout" and you should see something like
"sys-apps/baselayout-2.0.2" near the end.
When you did the reinstall of the squeezeboxserver ebuild did you make
sure you updated the files in /etc? That should be done with
"etc-update" or "cfg-update -u" after installing the package.
If that didn't work then there might be another permissions problem,
particularly since it looks like you've run it as 'root' and therefore
it might have messed up file ownership - we can check that later if the
following doesn't help.
If you want to get the "--diag" output the correct way to do that is to
that is edit /etc/init.d/squeezeboxserver and add that option into the
SBS_OPTS variable at the end - if you look in that file it'll become
obvious. It's also worth adding the "--d_startup" flag to diagnose
starting-related faults.
Trying to run it from the command-line manually means you'll need to be
the right user and pass all of the options that are passed in
/etc/init.d/squeezeboxserver and isn't really recommended - amend the
conf.d file and restart it with "/etc/init.d/squeezeboxserver restart"
or similar.
Once you've started it through /etc/init.d the diagnostics either go to
the screen or to /var/log/squeezeboxserver/server.log, depending on how
far the server got before crashing.
Stuart
On 25/05/2011 06:59, shell wrote:
> Hi Guys,
>
> i had to do a fresh installation of my squeezeboxserver. I tried to
> install it on my gentoo server.
> Now it get the following error messages:
>
> squeezeboxserver --diag
> [11-05-25 07:59:15.9140] main::init (326) Starting Squeezebox Server
> (v7.5.4, r32171, Thu Apr 14 10:19:04 MDT 2011) perl 5.012003
> [11-05-25 07:59:16.0626] main::changeEffectiveUserAndGroup (891)
> Warning: Squeezebox Server must not be run as root! Trying user
> squeezeboxserver instead.
> [11-05-25 07:59:16.4032] Slim::Utils::Misc::msg (1165) Warning:
> [07:59:16.4030] Use of uninitialized value $_[0] in join or string at
> /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux/File/Spec/Unix.pm line
> 86.
> [11-05-25 07:59:16.4057] Carp::confess (63) Warning: Uncaught exception
> from user code:
> Couldn't open /my.tt for reading: No such file or directory
> at /usr/lib64/perl5/vendor_perl/5.12.3/Slim/Utils/MySQLHelper.pm line
> 177
>
> Slim::Utils::MySQLHelper::createConfig('Slim::Utils::MySQLHelper',
> '/var/lib/squeezeboxserver/cache') called at
> /usr/lib64/perl5/vendor_perl/5.12.3/Slim/Utils/MySQLHelper.pm line 101
> Slim::Utils::MySQLHelper::init('Slim::Utils::MySQLHelper')
> called at /usr/sbin/squeezeboxserver line 420
> main::init() called at /usr/sbin/squeezeboxserver line 582
> main::main() called at /usr/sbin/squeezeboxserver line 1076
> [11-05-25 07:59:16.4078] Slim::Utils::MySQLHelper::dbh (551) Warning:
> Use of uninitialized value in sprintf at
> /usr/lib64/perl5/vendor_perl/5.12.3/Slim/Utils/MySQLHelper.pm line
> 551.
>
>
> Any idea?
>
>
--
Stuart
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix