bpa;608263 Wrote: 
> One step at a time.
:-) OK, OK...

> Using an URL in the browser is only opening a window to the SBS server -
> not starting SBS server.

Ah! yes.

> It looks SBS is started as part of your startup procedure in which case
> the username it will use will be something like squeezeboxserver not
> andy.
Ah, yes. It is a system user *squeezeboxserver (UID 108)* and has an
associated system group of the same name.

>  SBS cannot run as root so don't try it.  

Roger...

> Check with ps - use the argument to display the full information about a
> process so try *ps aux*.

P1630:~ # PS AUX |GREP SQUEEZE
ROOT      2468  0.0  0.0   1760   168 ?        SS   FEB03   0:00
STARTPAR -F -- SQUEEZEBOXSERVER
108       2506  0.6  5.4  75912 53476 ?        SS   FEB03   6:01
/USR/BIN/PERL -W /USR/LIBEXEC/SQUEEZEBOXSERVER --DAEMON
--PREFSDIR=/VAR/LIB/SQUEEZEBOXSERVER/PREFS
--LOGDIR=/VAR/LOG/SQUEEZEBOXSERVER
--CACHEDIR=/VAR/LIB/SQUEEZEBOXSERVER/CACHE --CHARSET=UTF8
108       2571  0.0  0.8 108256  7896 ?        SL   FEB03   0:36
/USR/SBIN/MYSQLD
--DEFAULTS-FILE=/VAR/LIB/SQUEEZEBOXSERVER/CACHE/MY.CNF
ROOT     12193  0.0  0.0   2128   200 PTS/5    R+   11:21   0:00 GREP
SQUEEZE


Based on this I took a look at */var/log/squeezeboxserver/server.log*:

The startup is:
[11-02-03 19:29:01.8740] MAIN::INIT (323) STARTING SQUEEZEBOX SERVER
(V7.5.3, R31792, MON JAN 24 08:18:00 MST 2011) PERL 5.012001
[11-02-03 19:29:04.0212] SLIM::UTILS::IPDETECT::_INIT (120) WARNING:
COULDN'T CALL CONNECT() - FALLING BACK TO 127.0.0.1

But then there are a number of errors due to an inability to log in to
mysqueezebox.com. This is odd, since I can log in directly on port 80;
so it may be trying to use a port that isn't open on the firewall:

UNABLE TO LOGIN TO MYSQUEEZEBOX.COM, SYNC IS DISABLED: COULDN'T RESOLVE
IP ADDRESS FOR: WWW.MYSQUEEZEBOX.COM (HTTP://WWW.MYSQUEEZEBOX.COM)

+ This in turn prevents it from logging into the Squeeze Network (SN),
which in turn prevents a number of caching actions:

SLIM::FORMATS::XML::GOTERRORVIAHTTP (341) ERROR: GETTING
HTTP://WWW.MYSQUEEZEBOX.COM/API/SOUNDS/V1/OPML
SLIM::NETWORKING::SQUEEZENETWORK::_ERROR (471) UNABLE TO LOGIN TO SN
SLIM::NETWORKING::SQUEEZENETWORK::_INIT_ERROR (198) UNABLE TO LOGIN TO
MYSQUEEZEBOX.COM, SYNC IS DISABLED
SLIM::NETWORKING::SQUEEZENETWORK::_INIT_ERROR (212) MYSQUEEZEBOX.COM
SYNC INIT FAILED

It also is trying to use port 9092, which is NOT open in the firewall:
SLIM::SCHEMA::STORAGE::THROW_EXCEPTION (82) ERROR: DBI CONNECTION
FAILED: DBI
CONNECT('HOSTNAME=127.0.0.1;PORT=9092;DATABASE=SLIMSERVER','SLIMSERVER',...)
FAILED: CAN'T CONNECT TO MYSQL SERVER ON '127.0.0.1' (111) AT
/USR/SHARE/SQUEEZEBOXSERVER/CPAN/DBIX/CLASS/STORAGE/DBI.PM LINE 950
[11-02-03 13:58:15.6233] SLIM::SCHEMA::STORAGE::THROW_EXCEPTION (82)
BACKTRACE:

I've checked the firewall and both TCP and UDP are open for ports 3483
and 9000 and I reset the firewall every time I reboot...

I can open port 9092 But first I shall await your next "step"... :-)

Thanks again, Andy


-- 
alavarre1
------------------------------------------------------------------------
alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597
View this thread: http://forums.slimdevices.com/showthread.php?t=49584

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to