Re: [SlimDevices: Unix] SC 7.0/Ubuntu installed OK, then nothing
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] tracks with non us characters will not play!
found that only FLAC files were affected by this, so I've filed a bug report. -- Yulquen Yulquen's Profile: http://forums.slimdevices.com/member.php?userid=5404 View this thread: http://forums.slimdevices.com/showthread.php?t=47375 ___ 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
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
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
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
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
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
[SlimDevices: Unix] Controller Ports
Hi I've just bought a Duet and its great! :-) I've quickly set it up to allow the SqueezeController to access to the network via the the SqueezeBox. However, I what it to connect via my wireless access point, which is normally quite simple. But My set up is as follows: SqueezeCenter on a i686 on the wired lan SqueezeBox on the wired lan SqueezeController via SqueezeBox wireless (currently) Firewall: IPCOP Wireless access point IPCOP blocks by default all traffic from the wireless lan to the wired lan. I need to open up some pin holes (unblock some ports) to allow the SqueezeController to connect to the wired lan. My questions are: 1. Does the SqueezeController need to talk to the SqueezeCenter or the SqueezeBox? 2. What ports are required by the SqueezeController to make it all work? Thanks for any help. -- jamesho jamesho's Profile: http://forums.slimdevices.com/member.php?userid=847 View this thread: http://forums.slimdevices.com/showthread.php?t=47510 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
[SlimDevices: Unix] from vista to hardy, lost 1/4artwork
Hello I missed 1/4 of the artwork, after I switch from vista to ubuntu hardy My settings are not changed and when I tried the files on the vista machine, the artwork is there I named all my coverart as thumb and are all in jpg What could be wrong ??? -- charlychan charlychan's Profile: http://forums.slimdevices.com/member.php?userid=5755 View this thread: http://forums.slimdevices.com/showthread.php?t=47513 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] from vista to hardy, lost 1/4artwork
charlychan;301020 Wrote: Hello I missed 1/4 of the artwork, after I switch from vista to ubuntu hardy My settings are not changed and when I tried the files on the vista machine, the artwork is there I named all my coverart as thumb and are all in jpg What could be wrong ??? What size are the covers not displayed? I had problems with the recognition of covers around and bigger than 500x500 pixels on Ubuntu Gutsy, don't know why but using a size of 450x450 pixels worked mostly. Bye, signor_Rossi. -- signor_rossi signor_rossi's Profile: http://forums.slimdevices.com/member.php?userid=11941 View this thread: http://forums.slimdevices.com/showthread.php?t=47513 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] tracks with non us characters will not play!
So only FLAC files with non-us characters did not play... or any FLAC file did not play? -- pichonCalavera *rip* (eac) *convert* (flac) *tag* (musicbrainz/mp3tag) *normalize* (replaygain/foobar2000) *albumart* (www) *transport* (winscp) *store* (debian) *rescan* (squeezecenter) *play* (squeezebox) *mix* (musicip) *listen* (sennheiser) *scrooble* (last.fm) *enjoy* (me :) pichonCalavera's Profile: http://forums.slimdevices.com/member.php?userid=13068 View this thread: http://forums.slimdevices.com/showthread.php?t=47375 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] from vista to hardy, lost 1/4artwork
Thanks for your reply signor_rossi I am just experimenting with the size, I have downsize a few to 200x200, I let you know if it works with me too Grtz -- charlychan charlychan's Profile: http://forums.slimdevices.com/member.php?userid=5755 View this thread: http://forums.slimdevices.com/showthread.php?t=47513 ___ 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
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
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] from vista to hardy, lost 1/4artwork
:( no succes, any other suggestion is welcome -- charlychan charlychan's Profile: http://forums.slimdevices.com/member.php?userid=5755 View this thread: http://forums.slimdevices.com/showthread.php?t=47513 ___ 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
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
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] tracks with non us characters will not play!
pichonCalavera;301033 Wrote: So only FLAC files with non-us characters did not play... or any FLAC file did not play? FLACs with non-us chars wont play.The other FLACs are fine. -- Yulquen Yulquen's Profile: http://forums.slimdevices.com/member.php?userid=5404 View this thread: http://forums.slimdevices.com/showthread.php?t=47375 ___ 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
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
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
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
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
Re: [SlimDevices: Unix] from vista to hardy, lost 1/4artwork
Do all of the files have the correct permissions? Cody -- reverber reverber's Profile: http://forums.slimdevices.com/member.php?userid=3210 View this thread: http://forums.slimdevices.com/showthread.php?t=47513 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix