Re: [SlimDevices: Unix] How do I delay Squeezebox Server startup till after network connects

2009-12-16 Thread servies

llin;496090 Wrote: 
 Adding sleep 10 to a startup script (rc.local in my case) will delay
 execution for 10 seconds.
That most probably won't work.
As he's using Ubuntu I guess he's using runlevel 5 which means that he
has to look in /etc/rc.d/rc5.d
In my setup (Fedora 11)
I see the following 2 commands (which are links to the corresponding
/etc/init.d entry):
S10network
S11named
S80squeezeboxserver
K10network
K11named
K80squeezeboxserver

The first 3 characters determine the order of startup (S) or shutdown
(K).
A low number gets started earlier and killed later.
The above setup makes sure that of the three entries the network is
started first, then the nameserver and after that squeezeboxserver.
Shutting down is the opposite order.
If squeezeboxserver has a lower number than named or network it
probably won't start up...


-- 
servies

There are 10 kinds of people in the world - those who understand binary
and those who don't.

servies's Profile: http://forums.slimdevices.com/member.php?userid=9496
View this thread: http://forums.slimdevices.com/showthread.php?t=72283

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Please help get 7.4.1 started

2009-12-16 Thread chalkandtalk

I have a Buffalo linkstation live onto which I have installed freelink.
I have Debian squeeze running. I used to have Squeezecenter 7.2.1
running happily too but I bought a Radio so need SBS 7.4.

I have installed SBS as follows:

dpkg -i squeezeboxserver_7.4.1_all.deb
apt-get -f install

However, I can not get the server to start. The only error message in
server.log is:

Squeezebox Server died. Restarting.

The problem maybe that I didn't thoroughly uninstall Squeezecenter - I
don't know.

You help would be appreciated.


-- 
chalkandtalk

chalkandtalk's Profile: http://forums.slimdevices.com/member.php?userid=16980
View this thread: http://forums.slimdevices.com/showthread.php?t=72702

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread epoch1970

VaineDragon;496087 Wrote: 
 [09-12-14 06:35:46.3222] Slim::Utils::IPDetect::_init (113) Warning:
 Couldn't call connect() - falling back to 127.0.0.1
That's probably your problem, there.
The server doesn't seem to recognize a configured network card and
falls back to the machines internal network.
If on the host itself you can run a browser and point it to
http://127.0.0.1:9000 (or localhost:9000) you'll probably see the web
interface. Your players are on the local network, so they can't reach
the machine internal net. You won't see them in SBS.

I suppose you have the same problem as many, i.e. a network connection
indeed exists but the SB server fails to see it.
There is a post just above yours on the same case. It is not new, many
have had to restart networking (and then restart SBS) or reorder
services start order (by changing filenames in /etc/rc2.d or /etc/rc5.d)
to solve this problem.


-- 
epoch1970

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread VaineDragon

I get this when I try those commands? And not that I really know but I
also tried squeezeboxserver in those commands.

r...@dragon-server:/etc/init.d# sudo /etc/rc2.d/S99squeezecenter -
../init.d/squeezecenter
sudo: /etc/rc2.d/S99squeezecenter: command not found
r...@dragon-server:/etc/init.d#


-- 
VaineDragon

VaineDragon's Profile: http://forums.slimdevices.com/member.php?userid=34412
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread snarlydwarf

VaineDragon;496335 Wrote: 
 I get this when I try those commands? And not that I really know but I
 also tried squeezeboxserver in those commands.
 

Try: update-rc.d squeezeboxserver defaults 99 20

That will have the same effect (ie, create the symlinks shown, starting
at '99' (ie, the end of the startup process), killing it off at '20'
(towards the start).

Then SBS should be starting after networking has had more time to
settle.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread VaineDragon

snarlydwarf;496341 Wrote: 
 Try: update-rc.d squeezeboxserver defaults 99 20
 
 That will have the same effect (ie, create the symlinks shown, starting
 at '99' (ie, the end of the startup process), killing it off at '20'
 (towards the start).
 
 Then SBS should be starting after networking has had more time to
 settle.

r...@dragon-server:/etc/init.d# sudo update-rc.d squeezeboxserver
defaults 99 20
System startup links for /etc/init.d/squeezeboxserver already exist.


-- 
VaineDragon

VaineDragon's Profile: http://forums.slimdevices.com/member.php?userid=34412
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread snarlydwarf

Ah, silly script won't -change- them, just add them.  Dumb.

try 'update-rc.d -f squeezeboxserver remove' and then the defaults
line.

see http://www.debuntu.org/how-to-manage-services-with-update-rc.d
which is a good explanation of update-rc.d, what it does and how.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Install Ubuntu Server from USB CD-ROM drive

2009-12-16 Thread JJZolx

I'm trying to install Ubuntu Server 9.10 on a new server.  The
motherboard is a Tyan socket 775 server board, S5211.  I can boot from
the installation CD and get a short way into the installation process,
then the installer claims that it can't find a driver for the CD-ROM
drive.  The drive is a Lite-On DH-16D2P IDE DVD-ROM.

In the BIOS the drive is listed as

USB CD-ROM: ATAPI DVD D DH16D2P-(USB 2

and a schematic for the motherboard shows a (Cypress) CY7C68300C chip
between the IDE port and ICH9R southbride, so it appears that the IDE
drive is indeed seen as a USB CD-ROM drive.

Any idea what I need to do when asked for a driver?  Or maybe the
installer would find a driver if it realized that the drive is USB.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=72711

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread VaineDragon

OK got old defaults changed and restarted the server, no change I still
can't connect to the server via Softsqueeze player or the web ui.

o...@dragon-server:~# ls -l /etc/rc?.d/*squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc0.d/K20squeezeboxserver - ../init.d/squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc1.d/K20squeezeboxserver - ../init.d/squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc2.d/S99squeezeboxserver - ../init.d/squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc3.d/S99squeezeboxserver - ../init.d/squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc4.d/S99squeezeboxserver - ../init.d/squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc5.d/S99squeezeboxserver - ../init.d/squeezeboxserver
lrwxrwxrwx 1 root root 26 2009-12-16 19:54
/etc/rc6.d/K20squeezeboxserver - ../init.d/squeezeboxserver
r...@dragon-server:~#


-- 
VaineDragon

VaineDragon's Profile: http://forums.slimdevices.com/member.php?userid=34412
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread VaineDragon

Alright then,
Just for kicks I tried (while SSH in the server) links2
192.168.1.201:9000 and it worked, Neato but I still can't access it from
any of the machines on the LAN?


-- 
VaineDragon

VaineDragon's Profile: http://forums.slimdevices.com/member.php?userid=34412
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread snarlydwarf

VaineDragon;496392 Wrote: 
 Alright then,
 Just for kicks I tried (while SSH in the server) links2
 192.168.1.201:9000 and it worked, Neato but I still can't access it from
 any of the machines on the LAN?

Didn't some versions of Ubuntu come with a silly firewall installed?

(which is almost totally useless when behind a NAT router... not like
anyone can -open- a connection to your machine from the internet..)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread VaineDragon

Here is the issue I have, when I installed it before it worked from
Hostname, IP Address or the Domain Name, now I can only connect to it
directly on the server?


-- 
VaineDragon

VaineDragon's Profile: http://forums.slimdevices.com/member.php?userid=34412
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Install Ubuntu Server from USB CD-ROM drive

2009-12-16 Thread pablolie

The place to ask should be the Ubuntu Forums, and search for the mobo.
There are the oddest hardware combos out there. I installed Ubuntu on 2
8 year old computers, and the forums helped.

I know this is stating the obvious, but truly comb through the BIOS
settings to make sure no weird setups have been made (one can configure
IDE/SATA etc to do the strangest things).

If everything fails, grab an eternal USB CD-ROM drive somewhere. :)


-- 
pablolie

...pablo
Server: Shuttle X27D - Ubuntu 8.04LTS - SBS 7.4.1
Sources: SB3 (3), SB Boom (3), Duet (1), Accuphase DP65v CD
Amplifier: Accuphase E306v - Creek OBH21/22
Loudspeakers: Ceeroy 3-way tower (tuned) - Audioengine 5/S8 - Acoustic
Energy Aego M
Headphones: Grado SR-1

pablolie's Profile: http://forums.slimdevices.com/member.php?userid=3816
View this thread: http://forums.slimdevices.com/showthread.php?t=72711

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread Pat Farrell
VaineDragon wrote:
 Here is the issue I have, when I installed it before it worked from
 Hostname, IP Address or the Domain Name, now I can only connect to it
 directly on the server?

Exactly what error message are you seeing when you try.

What is the client OS that you are using to test?


-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread snarlydwarf

VaineDragon;496398 Wrote: 
 Here is the issue I have, when I installed it before it worked from
 Hostname, IP Address or the Domain Name, now I can only connect to it
 directly on the server?

It doesn't work by IP on other machines?

That would imply a firewall or something else is interfering.  What
error do you get when you try (at least from Firefox.. IE has an
annoying habit of inserting bogus and meaningless error messages..)  Or
the good old command line:
telnet 192.168.1.201 9000

It should say 'Connected to...' or somesuch.  A timeout or 'connection
refused' would mean something is up with firewalls/networking.  (Ie, we
know that the server is running since you can get to it with links... 
just why can't anyone else connect...)

If you were able to connect to it by hostname, assuming the other
machines are Windows machines, that's a windows feature.. hosts learned
via SMB are mapped into name lookups.  If that gives a different error
than a plain IP connect (as in 'host not found'), it makes
networking/firewalls even more suspect, since they broke Samba, too.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread VaineDragon

I'm using Softsqueeze 7.8, Windows 7 in my OS, and of course the server
in on Ubuntu Hardy 8.04 LTS with eBox 1.2.2-5

There are no errors, when I try to connect via the Softsqueeze software
it will not connect, it will just sit there saying trying to find
server. Like I stated before I have tried Hostname, IP Address and
Domain Name. The only way I get to the SBS is via SSH using Links2.


-- 
VaineDragon

VaineDragon's Profile: http://forums.slimdevices.com/member.php?userid=34412
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Install Ubuntu Server from USB CD-ROM drive

2009-12-16 Thread JJZolx

pablolie;496401 Wrote: 
 The place to ask should be the Ubuntu Forums, and search for the mobo.
 There are the oddest hardware combos out there. I installed Ubuntu on 2
 8 year old computers, and the forums helped.
 
 I know this is stating the obvious, but truly comb through the BIOS
 settings to make sure no weird setups have been made (one can configure
 IDE/SATA etc to do the strangest things). Also, get the text-based
 alternate CD, I find it installs more reliably. And it's very odd it
 goes into the install process at *all* if the hardware is so
 misconfigured. Just try it a few times, I have had it happen that I have
 had to give it two or three runs.
 
 If everything fails, grab an eternal USB CD-ROM drive somewhere. :)

Hey, thanks.  I've tried ubuntuforums.org and am waiting on a response.
I've poked around the BIOS and don't see anything obvious.  And I've
tried  going through the install a couple of times.  The BIOS itself
sees the drive, so that's why it can boot, but I guess the installer
needs a driver so that it can proceed and find installation files.

Looks like it may be bug in the server setup that's been around for
several versions.  Some people saying that they run into the bug and on
the same hardware are able to install install Ubuntu desktop with no
problems.  A few responses to the problem say to try the network
install.  I'll give the alternate CD a try first.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=72711

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread snarlydwarf

VaineDragon;496405 Wrote: 
 I'm using Softsqueeze 7.8, Windows 7 in my OS, and of course the server
 in on Ubuntu Hardy 8.04 LTS with eBox 1.2.2-5
 
 There are no errors, when I try to connect via the Softsqueeze software
 it will not connect, it will just sit there saying trying to find
 server. Like I stated before I have tried Hostname, IP Address and
 Domain Name. The only way I get to the SBS is via SSH using Links2.

You can't get there from a web browser on the windows machine?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72676

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Install Ubuntu Server from USB CD-ROM drive

2009-12-16 Thread aubuti

Taking a different tack, I don't know anything about that mobo, but does
it support booting from a USB stick? If so, that may be a way to bypass
the CD driver issue.


-- 
aubuti

aubuti's Profile: http://forums.slimdevices.com/member.php?userid=2074
View this thread: http://forums.slimdevices.com/showthread.php?t=72711

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Install Ubuntu Server from USB CD-ROM drive

2009-12-16 Thread Pat Farrell
aubuti wrote:
 Taking a different tack, I don't know anything about that mobo

Another different tack:

get the current Debian distro's ISO for 32 or 64 as your wish.

Debian typically does not support the latest and greatest hardware, but
its what @snarly and I run on our SqueezeBoxServers.

Just click on all when you install it, and it will include X-Windows
and the GUI stuff, its nearly the same as Ubuntu.

@snarly will say turn off all the X-windows and GUI crap, which is true
for a real server, but for folks using their first Linux, I find the GUI
handy for setup. You can always turn off Xwindows later when its all
working.

-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] New Install of Squeezebox server

2009-12-16 Thread Pat Farrell
VaineDragon wrote:
 There are no errors, when I try to connect via the Softsqueeze software
 it will not connect

well, that is not very useful.

Try it by hand. Fire up a cmd shell. The basic HTTP request is made by
telneting to port 9000 of what you think the IP address is. and entering
the command, terminated by two blank lines:

  GET / HTTP/1.0




-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Install Ubuntu Server from USB CD-ROM drive

2009-12-16 Thread JJZolx

I just downloaded 8.04 and it's installing without a problem.  Probably
just as well to use this version since it has Perl 5.8 and MySQL 5.0
instead of 9.10's 5.10 and 5.1.

Thanks for all the help.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=72711

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix