Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-12 Thread Ramage

MadCityGeoff;301075 Wrote: 
 I used the file browser to explore Local Disk, which worked ok, then did
 fstab again and got the same results as before. No /dev/stb1. 
 
 Just for kicks, I tried using the browser to go into the file system
 and look at /dev/stb1. It appears in the /dev list, however the icon
 has an X over it and when I double-click it it says Couldn't display
 /dev/stb1. There is no application installed for this file type.
 
 I figured that installing via wubi might have some drawbacks. Oh well.
 
 Thanks again!

Is your media disc file system NTFS (likely if your PC runs WinXP or
Vista).

If it is, have a look here: http://www.arsgeek.com/?p=675

Ubuntu 8.04 should already have the ntfs-3g module so you're half way
there.

Use this at your own risk I can't vouch for it.


-- 
Ramage

T5500 1.6GHz, SC 7.0.1-18576 Win Vista, Alien 2.0
P4 2.6GHz, SC 7.0.1-17976 WinXP, Alien 2.0
P2 266MHz, ClarkConnect 4.1, SC 7.0.1-19325, Alien 2.0
AMD64x2 ubuntu 8.04, SC 7.0.1~19608, Alien 2.0

Ramage's Profile: http://forums.slimdevices.com/member.php?userid=5343
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-12 Thread MadCityGeoff

Ramage;301157 Wrote: 
 Is your media disc file system NTFS (likely if your PC runs WinXP or
 Vista).
 
 If it is, have a look here: http://www.arsgeek.com/?p=675
 
 Ubuntu 8.04 should already have the ntfs-3g module so you're half way
 there.
 
 Use this at your own risk I can't vouch for it.

Thanks, Ramage. I've decided to bite the bullet and do a full-blown
install with Ubuntu in its own partition. Wish me luck!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread Ramage

MadCityGeoff;300889 Wrote: 
 Hi, all. I'm a total Linux newbie who installed the latest Ubuntu
 release (Hardy) yesterday. I'm now trying to get SC to work with my
 Squeezebox Duet. I looked through the other threads on this subject
 without any enlightenment, so I hope a new thread is appropriate.
 
 I installed the debian package for SC 7.0 per the instructions on the
 wiki and everything seemed to go ok. Once that was done, I opened a
 root terminal and entered /etc/init.d/squeezecenter start. I got the
 message Starting SqueezeCenter Audio Server. Fine so far. Now what?
 The light on my Duet receiver stayed blue and I didn't see anything
 helpful on the controller. The wiki suggested opening a web browser
 interface to control SC by browsing to the server address and port
 9000. I'm not sure how to get the server address. I tried hostname -i
 and got several different ip numbers, none of which seemed to work.
 
 At this point, I don't know whether SC is working at all or what to try
 next. Can anybody offer some advice?
 
 Thanks very much!

This could be the apparmor issue dealt with here:
http://forums.slimdevices.com/showthread.php?t=46614 and this bug
http://bugs.slimdevices.com/show_bug.cgi?id=7580.

Try stopping apparmor with the command sudo service apparmor stop.
Restart squeezecenter with service squeezecenter restart

Check System  Administration  System Monitor - you should see the
squeezecenter processes.

Access the squeezecenter webpage.

If this works you can now restart apparmor with the command sudo
service apparmor start


-- 
Ramage

T5500 1.6GHz, SC 7.0.1-18576 Win Vista, Alien 2.0
P4 2.6GHz, SC 7.0.1-17976 WinXP, Alien 2.0
P2 266MHz, ClarkConnect 4.1, SC 7.0.1-19325, Alien 2.0
AMD64x2 ubuntu 8.04, SC 7.0.1~19608, Alien 2.0

Ramage's Profile: http://forums.slimdevices.com/member.php?userid=5343
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread th00ht

MadCityGeoff;300903 Wrote: 
  pfarrell;300900 Wrote: 
  MadCityGeoff wrote:
   The log shows a zillion entries like this:
   
   [08-05-10 21:27:23.7110]
  Slim::Utils::MySQLHelper::createSystemTables
   (433) FATAL: Couldn't connect to database: [Can't connect to local
   MySQL server through socket
  
  OK, clearly the local mysql is unhappy.
  I'd reboot and see if life comes back, otherwise, you are exceeding my
  
  expertise, sorry.
  
  I rebooted and got the same problems. Oh well. I really appreciate your
  help!  
 
 Is mysql running at all? try
 
 ps ax | grep mysql
 
 I get:
 4973 ?S  0:00 /bin/sh /usr/bin/mysqld_safe
 5029 ?Sl 1:28 /usr/sbin/mysqld --basedir=/usr
 --datadir=/var/lib/mysql --user=mysql
 --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking
 --port=3306 --socket=/var/run/mysqld/mysqld.sock
 5030 ?S  0:00 logger -p daemon.err -t mysqld_safe -i -t
 mysqld
 5920 ?Sl 8:29 /usr/sbin/mysqld
 --defaults-file=/var/lib/squeezecenter/cache/my.cnf
 13912 pts/1R+ 0:00 grep mysql


-- 
th00ht

SqueezeBox v3, SqueezeCenter (7.0.1 - 17793)
Quad 303 + Two Quad Electrostats

th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

 Is mysql running at all? try

? ps ax | grep mysql

I tried it and I got the following, which I assume means that mysql is
running.

5644 ?S  0:00 /bin/sh /usr/bin/mysqld_safe
5686 ?Sl 0:00 /usr/sbin/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking
--port=3306 --socket=/var/run/mysqld/mysqld.sock
5687 ?S  0:00 logger -p daemon.err -t mysqld_safe -i -t
mysqld
7765 pts/0S+ 0:00 grep mysql


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

 Try stopping apparmor with the command sudo service apparmor stop.

When I try this I get sudo: service: command not found. I looked for
service using the synaptic package manager and couldn't find it. Also,
I'm not sure that apparmor is running on my system. I do ps ax | grep
apparmor and the only thing that comes back is a process for grep
apparmor.

 Restart squeezecenter with service squeezecenter restart

Squeezecenter is now apparently starting whenever I boot linux. It
starts and goes into its infinite loop. (I see this happening in the
log in /var/log.) Is there some way to stop it?

 Check System  Administration  System Monitor - you should see the
squeezecenter processes.

It doesn't show up in System Monitor, but I do see it when I do ps ax
| grep squeezecenter with similar results as I posted in an earlier
message.

 The fix for the apparmor problem is not included in SC 7.0, and you
will have to upgrade to 7.0.1 to make SC run with apparmor.

To install 7.0.1, do I just repeat the process that I went through with
7.0 using a different source as described in the wiki? Do I have to
remove 7.0 first? If so, could you tell me how to do it?

Thanks very much for all your help!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

Ramage;300957 Wrote: 
 if the service command doesn't work use 
 
 sudo /etc/init.d/apparmor stop
 
 for all the service commands substitute /etc/init.d for service
 
 Try stopping apparmor b4 downloading 7.0.1.
 
 You can add the testing repository to synaptic package manager. 
 System  Administration  Synaptic Package Manager  Settings 
 Repositories  Third Party Software, and enter the details from the
 wiki for the testing branch.

Hey! That worked! Thanks very much. I killed apparmor and now I've got
Squeezecenter running and playing music. 

Do you know if there's some way that I can automate all of this
(killing apparmor, restarting SC) so that it happens automatically when
I boot ubuntu and I don't have to do it by hand every time?

Thanks much!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread Ramage

MadCityGeoff;300969 Wrote: 
 Hey! That worked! Thanks very much. I killed apparmor and now I've got
 Squeezecenter running and playing music. 
 
 Do you know if there's some way that I can automate all of this
 (killing apparmor, restarting SC) so that it happens automatically when
 I boot ubuntu and I don't have to do it by hand every time?
 
 Thanks much!

Glad that worked.

Try a reboot and see if SC continues to run OK.

If not you will need to update to 7.0.1 (which has a fix)

After an update to 7.0.1, you will have to stop and start apparmor only
once after an update, and maybe not then (it seems to vary). Otherwise
everything will run OK after a reboot.

Try it, and move on from there as necessary.


-- 
Ramage

T5500 1.6GHz, SC 7.0.1-18576 Win Vista, Alien 2.0
P4 2.6GHz, SC 7.0.1-17976 WinXP, Alien 2.0
P2 266MHz, ClarkConnect 4.1, SC 7.0.1-19325, Alien 2.0
AMD64x2 ubuntu 8.04, SC 7.0.1~19608, Alien 2.0

Ramage's Profile: http://forums.slimdevices.com/member.php?userid=5343
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

Ramage;300979 Wrote: 
 Glad that worked.
 
 Try a reboot and see if SC continues to run OK.
 
 If not you will need to update to 7.0.1 (which has a fix)
 
 After an update to 7.0.1, you will have to stop and start apparmor only
 once after an update, and maybe not then (it seems to vary). Otherwise
 everything will run OK after a reboot.
 
 Try it, and move on from there as necessary.

After a reboot, I still had to manually shut down apparmor and restart
SC, so I updated to 7.0.1 and rebooted. I can start SC 7.0.1, but after
that it's very buggy and it won't play music. If I select an album in
the library and press Play, the tracks show up in the play list from #2
on. It appears to be discarding the first track. No music plays no
matter what I do. If I go back to the library and select the album
again, it shows the icon for the album without any of the tracks. This
is not looking good. Can you or anybody offer some suggestions?

Thanks!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread Pat Farrell

 This could be the apparmor issue dealt with here:
 http://forums.slimdevices.com/showthread.php?t=46614 and this bug
 http://bugs.slimdevices.com/show_bug.cgi?id=7580.

Or you could just remove synaptic - remove completely

Hardy has a bunch more security stuff on it, its not clear to me that it 
adds anything, but it does make using 8.04 harder and more frustrating.

If you are running your SqueezeCenter in your house, and have a decent 
firewall between you and the bad 'net, I don't grok all this additional 
stuff.

It looks like security theater to me.

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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

Ramage;301045 Wrote: 
 Have you rescanned your music since doing the update?  Try a full rescan
 see if that clears up the problem.  What you describe is unlikely to be
 anything to do with apparmor.  
 
 Presumably you are now running the latest version
 squeezecenter_7.0.1~19608_all.deb

I rescanned and that did the trick. SC behaved normally. However, I
rebooted and tried again and it went back to the buggy behavior--not
playing music, only showing icons without tracks. I had a hunch that it
might not be accessing my music library, which is on a second physical
hard drive that's drive D: in Windows and Local Disc in the Ubuntu
file browser. I opened the contents of Local Disc and then opened SC in
Firefox again. This time it worked okay without a rescan. Weird.


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread Pat Farrell
MadCityGeoff wrote:
 I rescanned and that did the trick. SC behaved normally. However, I
 rebooted and tried again and it went back to the buggy behavior--not
 playing music, only showing icons without tracks. I had a hunch that it
 might not be accessing my music library, which is on a second physical
 hard drive that's drive D: in Windows and Local Disc in the Ubuntu
 file browser. I opened the contents of Local Disc and then opened SC in
 Firefox again. This time it worked okay without a rescan. Weird.

Sounds like either the disk is not being mounted automatically, or you 
have a minor protection thing. Is the disk internal? or external?


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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

pfarrell;301054 Wrote: 
 MadCityGeoff wrote:
  I rescanned and that did the trick. SC behaved normally. However, I
  rebooted and tried again and it went back to the buggy behavior--not
  playing music, only showing icons without tracks. I had a hunch that
 it
  might not be accessing my music library, which is on a second
 physical
  hard drive that's drive D: in Windows and Local Disc in the Ubuntu
  file browser. I opened the contents of Local Disc and then opened SC
 in
  Firefox again. This time it worked okay without a rescan. Weird.
 
 Sounds like either the disk is not being mounted automatically, or you
 
 have a minor protection thing. Is the disk internal? or external?
 
 
 -- 
 Pat Farrell
 http://www.pfarrell.com/

Internal. I'm totally ignorant about automatic mounting and protection.
I'm enjoying learning about Linux, though.


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread Pat Farrell
MadCityGeoff wrote:
 Internal. I'm totally ignorant about automatic mounting and protection.
 I'm enjoying learning about Linux, though.

This last part is the most important. A lot of folks would throw up 
their hands and scream out of the room by now.

I'm assuming you have two internal disks, one with the OS, swap, / etc.
and a second with your songs

Did the installer ask for what mount point to use for the song disks?

Lets jump ahead, fire up a shell, no need for privs. and do  a
df

you should see something like this:

Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hdc1 74312868   9768908  60769092  14% /
tmpfs   453396 0453396   0% /lib/init/rw
udev 1024084 10156   1% /dev
tmpfs   453396 0453396   0% /dev/shm
/dev/hdh1 39389776  28429528   8959356  77% /bay1
/dev/hdf1 59087236  41035364  15050252  74% /bay2
/dev/hde1192243928 149185740  33292680  82% /bay3
/dev/sda1288451232  81489348 192309404  30% /bay5

The first is the root, and it tells you how Linux sees the disk. For 
mine, the first disk is /dev/hdc1
which is roughly the same as a Windows 'C:' disk.
For me, the last four are the disks with my music. /dev/hde1 and f1 
and h1 are all IDE and /dev/sda1 is SATA

Might as well do this as well:
sudo cat /etc/fstab

The key to see is if the fstab has the songs disk included.


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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread Pat Farrell
MadCityGeoff wrote:
 Yup, I do have two disks as you described it--one with the OS and one
 for media files. I installed Ubuntu using WUBI, so it's basically one
 area in the same partition with Windows. I don't know if that's a
 problem for Squeezecenter or not. 

Well, I'd have recommended that you take an old PC and put Ubuntu on it.
Wubi just adds another layer, and sometimes layers are not as 
transparent as one would like.


 /host/ubuntu/disks/root.disk ...  24% /

OK, this is wubi hiding stuff a bit.

 /dev/sdb1    35% /media/Local Disk

This is the important one. You really should rename it without the 
space, just to make life easier. I'd rename it something like songs or 
tunes


 It's showing Local Disk, where I have my music files, as /dev/sdb1.

Right, so that is the good part.


 I don't see the media disk here.

So you need to mount it.
I expect that something is automatically mounting it for you when you 
drive to it with the Places 'explorer application

You need to create a 'mount point' for the disk, its using /media for 
you, which is OK, but I like unique mount points for the device and the 
logical directory.

But it may be ephemeral within Wubi, so you may have to wander over to 
the ubuntu/wubi support forums for details.

Before you do that, open a shell, and then fire up the
places - computer
application and explore the /dev/sdb1 device, then switch to the shell 
and do the
cat /etc/fstab
I would expect to see something like
/dev/sdb1 /media/local disk  stuff

all you have to do is get the mount to happen automatically when wubi boots.

The ubuntu forums are at
http://ubuntuforums.org/
they are good, not as great as the SlimDevices folks, but still very 
helpful.


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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-11 Thread MadCityGeoff

pfarrell;301070 Wrote: 
 MadCityGeoff wrote:
  Yup, I do have two disks as you described it--one with the OS and
 one
  for media files. I installed Ubuntu using WUBI, so it's basically
 one
  area in the same partition with Windows. I don't know if that's a
  problem for Squeezecenter or not. 
 
 Well, I'd have recommended that you take an old PC and put Ubuntu on
 it.
 Wubi just adds another layer, and sometimes layers are not as 
 transparent as one would like.
 
 
  /host/ubuntu/disks/root.disk ...  24% /
 
 OK, this is wubi hiding stuff a bit.
 
  /dev/sdb1    35% /media/Local Disk
 
 This is the important one. You really should rename it without the 
 space, just to make life easier. I'd rename it something like songs
 or 
 tunes
 
 
  It's showing Local Disk, where I have my music files, as /dev/sdb1.
 
 Right, so that is the good part.
 
 
  I don't see the media disk here.
 
 So you need to mount it.
 I expect that something is automatically mounting it for you when you 
 drive to it with the Places 'explorer application
 
 You need to create a 'mount point' for the disk, its using /media for 
 you, which is OK, but I like unique mount points for the device and the
 
 logical directory.
 
 But it may be ephemeral within Wubi, so you may have to wander over to
 
 the ubuntu/wubi support forums for details.
 
 Before you do that, open a shell, and then fire up the
 places - computer
 application and explore the /dev/sdb1 device, then switch to the shell
 
 and do the
 cat /etc/fstab
 I would expect to see something like
 /dev/sdb1 /media/local disk  stuff
 
 all you have to do is get the mount to happen automatically when wubi
 boots.
 
 The ubuntu forums are at
 http://ubuntuforums.org/
 they are good, not as great as the SlimDevices folks, but still very 
 helpful.
 
 
 -- 
 Pat Farrell
 http://www.pfarrell.com/

I used the file browser to explore Local Disk, which worked ok, then
did fstab again and got the same results as before. No /dev/stb1. 

Just for kicks, I tried using the browser to go into the file system
and look at /dev/stb1. It appears in the /dev list, however the icon
has an X over it and when I double-click it it says Couldn't display
/dev/stb1. There is no application installed for this file type.

I figured that installing via wubi might have some drawbacks. Oh well.

Thanks again!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


[SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread MadCityGeoff

Hi, all. I'm a total Linux newbie who installed the latest Ubuntu
release (Hardy) yesterday. I'm now trying to get SC to work with my
Squeezebox Duet. I looked through the other threads on this subject
without any enlightenment, so I hope a new thread is appropriate.

I installed the debian package for SC 7.0 per the instructions on the
wiki and everything seemed to go ok. Once that was done, I opened a
root terminal and entered /etc/init.d/squeezecenter start. I got the
message Starting SqueezeCenter Audio Server. Fine so far. Now what?
The light on my Duet receiver stayed blue and I didn't see anything
helpful on the controller. The wiki suggested opening a web browser
interface to control SC by browsing to the server address and port
9000. I'm not sure how to get the server address. I tried hostname -i
and got several different ip numbers, none of which seemed to work.

At this point, I don't know whether SC is working at all or what to try
next. Can anybody offer some advice?

Thanks very much!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread Pat Farrell
MadCityGeoff wrote:
 9000. I'm not sure how to get the server address. I tried hostname -i
 and got several different ip numbers, none of which seemed to work.
 
 At this point, I don't know whether SC is working at all or what to try
 next. Can anybody offer some advice?

What is the IP address of the Ubuntu box that you installed 
squeezecenter on?

You can find out using a shell (aka terminal window) and type
ifconfig
or sometimes
sudo ifconfig

It will say something like:
  inet addr:172.16.4.72  Bcast:172.16.4.255  Mask:255.255.255.0

so on that same computer, start up firefox and go to the URL
http://172.16.4.72:9000

Or if you named the Ubuntu box, which is a good idea, say you called it 
music
then you can enter
http://music:9000



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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread MadCityGeoff

Hi, Pat. The lfconfig command gave me two inet addrs, one in the eth1
section (192.168.1.5) and one in the lo section (127.0.0.1). I tried
both of those (eg, http://192.168.1.5:9000) and in both cases Firefox
came back with a Page Load Error--Firefox can't establish a connection
to the server at... .

Thanks very much for your help!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread Pat Farrell
MadCityGeoff wrote:
 both of those (eg, http://192.168.1.5:9000) and in both cases Firefox
 came back with a Page Load Error--Firefox can't establish a connection
 to the server at... .

That's a bad sign. Sounds like squeezecenter is not running.

what happens if you do this:

sudo /etc/init.d/squeezecenter start

it should say something like:
Starting SqueezeCenter Audio Server.

if it doesn't, try this in a shell.

  ps aux | grep squeezecenter

it should put out something like (it will vary):

113  14109  0.0  0.1   4128  1452 ?SNs  07:36   0:00 
/bin/bash /usr/sbin/squeezecenter_safe /usr/sbin/squeezecenter-server 
--prefsdir /var/lib/squeezecenter/prefs --logdir /var/log/squeezecenter/ 
--cachedir /var/lib/squeezecenter/cache
113  14204  0.0  2.2  95952 20592 ?SNl  07:36   0:38 
/usr/sbin/mysqld --defaults-file=/var/lib/squeezecenter/cache/my.cnf
113  14236  0.3  6.4  62084 58276 ?SN   07:36   2:41 
/usr/bin/perl -w /usr/sbin/squeezecenter-server --prefsdir 
/var/lib/squeezecenter/prefs --logdir /var/log/squeezecenter/ --cachedir 
/var/lib/squeezecenter/cache
pfarrell  2865  0.0  0.0   2852   700 pts/2R+   21:41   0:00 grep 
squeezecenter

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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread MadCityGeoff

I tried sudo /etc/init.d/squeezecenter start and it did say Starting
SqueezeCenter Audio Server, which it did before when I ran the command
without the sudo. However, Firefox still gives me page load errors.
Same blue light on my receiver. Also, I looked at the Processes tab in
the System Monitor and I didn't see anything that looked like
squeezecenter. I did the ps command and got the following:


113   5697  0.0  0.0  17864  1644 ?S19:46   0:00
/bin/bash /usr/sbin/squeezecenter_safe /usr/sbin/squeezecenter-server
--prefsdir /var/lib/squeezecenter/prefs --logdir
/var/log/squeezecenter/ --cachedir /var/lib/squeezecenter/cache
113   7710  0.0  0.0  10704  1632 ?S20:12   0:00
/bin/bash /usr/sbin/squeezecenter_safe /usr/sbin/squeezecenter-server
--prefsdir /var/lib/squeezecenter/prefs --logdir
/var/log/squeezecenter/ --cachedir /var/lib/squeezecenter/cache
113   8943  0.0  0.0  10704  1636 ?S20:37   0:00
/bin/bash /usr/sbin/squeezecenter_safe /usr/sbin/squeezecenter-server
--prefsdir /var/lib/squeezecenter/prefs --logdir
/var/log/squeezecenter/ --cachedir /var/lib/squeezecenter/cache
113  10076  0.0  0.0  10700  1624 ?S20:55   0:00
/bin/bash /usr/sbin/squeezecenter_safe /usr/sbin/squeezecenter-server
--prefsdir /var/lib/squeezecenter/prefs --logdir
/var/log/squeezecenter/ --cachedir /var/lib/squeezecenter/cache
113  10243  4.8  1.8 152724 74640 ?S20:58   0:00
/usr/bin/perl -w /usr/sbin/squeezecenter-server --prefsdir
/var/lib/squeezecenter/prefs --logdir /var/log/squeezecenter/
--cachedir /var/lib/squeezecenter/cache
113  10251 34.0  1.8 152724 74640 ?S20:58   0:00
/usr/bin/perl -w /usr/sbin/squeezecenter-server --prefsdir
/var/lib/squeezecenter/prefs --logdir /var/log/squeezecenter/
--cachedir /var/lib/squeezecenter/cache
113  10256 68.0  1.8 151496 74472 ?S20:58   0:00
/usr/bin/perl -w /usr/sbin/squeezecenter-server --prefsdir
/var/lib/squeezecenter/prefs --logdir /var/log/squeezecenter/
--cachedir /var/lib/squeezecenter/cache
113  10261  0.0  0.8 108072 34900 ?R20:58   0:00
/usr/bin/perl -w /usr/sbin/squeezecenter-server --prefsdir
/var/lib/squeezecenter/prefs --logdir /var/log/squeezecenter/
--cachedir /var/lib/squeezecenter/cache
geoff10264  0.0  0.032856 pts/0R+   20:58   0:00 grep
squeezecenter


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread Pat Farrell
MadCityGeoff wrote:
  I did the ps command and got the following:

Then it is running.
There is lots of nice information in the webpages, but we can't get 
there yet.

can you find the log file?
They are probably in
/var/log/squeezecenter

I'm a little unsure because my squeezecenter is installed on a debian 
box. My desktops are Ubuntu, and ubuntu is based on debian, so its 
nearly all the same. But sometimes little stuff like file locations can vary

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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread MadCityGeoff

can you find the log file?
They are probably in
/var/log/squeezecenter

The log shows a zillion entries like this:

[08-05-10 21:27:23.7110] Slim::Utils::MySQLHelper::createSystemTables
(433) FATAL: Couldn't connect to database: [Can't connect to local
MySQL server through socket
'/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
[08-05-10 21:27:23.7116] Slim::Schema::forceCommit (1363) Warning:
Trying to commit transactions before DB is initialized!
2008-05-10 21:27:23 SqueezeCenter died. Restarting.

I wonder if I've got a runaway process here. I looked at my System
Monitor and the memory usage is steadily climbing.

Thanks again!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread Pat Farrell
MadCityGeoff wrote:
 The log shows a zillion entries like this:
 
 [08-05-10 21:27:23.7110] Slim::Utils::MySQLHelper::createSystemTables
 (433) FATAL: Couldn't connect to database: [Can't connect to local
 MySQL server through socket

OK, clearly the local mysql is unhappy.
I'd reboot and see if life comes back, otherwise, you are exceeding my 
expertise, sorry.

I'll let someone more knowledgeable with the squeezecenter mysql 
specifics chime in.

You might want to check the wiki for mysql stuff.

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

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


Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing

2008-05-10 Thread MadCityGeoff

pfarrell;300900 Wrote: 
 MadCityGeoff wrote:
  The log shows a zillion entries like this:
  
  [08-05-10 21:27:23.7110]
 Slim::Utils::MySQLHelper::createSystemTables
  (433) FATAL: Couldn't connect to database: [Can't connect to local
  MySQL server through socket
 
 OK, clearly the local mysql is unhappy.
 I'd reboot and see if life comes back, otherwise, you are exceeding my
 
 expertise, sorry.
 
 I rebooted and got the same problems. Oh well. I really appreciate your
 help!


-- 
MadCityGeoff

MadCityGeoff's Profile: http://forums.slimdevices.com/member.php?userid=17429
View this thread: http://forums.slimdevices.com/showthread.php?t=47494

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