Peter Wilson
2004-03-26, 10:19
Hi all,
I just received my SqueezeBox and after resolving the following issues I think
it is simply the best device I've bought in the last few years, its perfect in
so many ways, I can't imagine life without it and I've only had it three days.
So to the problem I saw installing and using the server software on RedHat 9.
I installed the 5.1.1 software no problem on my machine as root, I didn;t adhere
to best practice when setting this machine up in the first place and I always
log in and use it as root, no other users are defined.
I noted that the server software starts itself up and runs under a newly defined
user it puts in place.
Well.. initially it could not view my music directory, pretty obvious file
permissions problem since the directory belongs to root, a quick chmod fixed
that issue, allowing read permission.
Next I noticed that I could not save playlists, so given my previous fix, I also
added write permissions and that fixed that problem.
Finally I was watching the server software and looking at the number of tracks
it had catalogued (via the information screens on the squeezebox) and I noticed
that consistently as the cataloguing process got to 11600 songs (my full
collection) the server process would crash and once I started the server up
again it would restart the cataloguing process and the cycle would repeat.
Obviously this is another file permissions problem but I could not intuit where
to fix this one... instead looking at the launcher script in /etc/init.d/ there
is an option used to specify the user that the server runs as, initially its
undefined in the script and must default to the slim user, defining the user as
root and restarting the server to run as root fixes this problem.
I just wonder if the install script might in future look for this or similar
situations and prompt the user for permission to fix.
My server has been rock stable and works a treat after that (I get occassional
wireless dropout but not consistently enough to really worry about, I'm tracking
that one)
Peter
I just received my SqueezeBox and after resolving the following issues I think
it is simply the best device I've bought in the last few years, its perfect in
so many ways, I can't imagine life without it and I've only had it three days.
So to the problem I saw installing and using the server software on RedHat 9.
I installed the 5.1.1 software no problem on my machine as root, I didn;t adhere
to best practice when setting this machine up in the first place and I always
log in and use it as root, no other users are defined.
I noted that the server software starts itself up and runs under a newly defined
user it puts in place.
Well.. initially it could not view my music directory, pretty obvious file
permissions problem since the directory belongs to root, a quick chmod fixed
that issue, allowing read permission.
Next I noticed that I could not save playlists, so given my previous fix, I also
added write permissions and that fixed that problem.
Finally I was watching the server software and looking at the number of tracks
it had catalogued (via the information screens on the squeezebox) and I noticed
that consistently as the cataloguing process got to 11600 songs (my full
collection) the server process would crash and once I started the server up
again it would restart the cataloguing process and the cycle would repeat.
Obviously this is another file permissions problem but I could not intuit where
to fix this one... instead looking at the launcher script in /etc/init.d/ there
is an option used to specify the user that the server runs as, initially its
undefined in the script and must default to the slim user, defining the user as
root and restarting the server to run as root fixes this problem.
I just wonder if the install script might in future look for this or similar
situations and prompt the user for permission to fix.
My server has been rock stable and works a treat after that (I get occassional
wireless dropout but not consistently enough to really worry about, I'm tracking
that one)
Peter