SqueezeBox Server 7.5


Recommended Posts

OK, barrygordon lets see what we can do to get this up and running for you.

 

If you could use a normal telnet client that would me great, it just makes it easier for us to help.  If you are on a windows machine I suggest using putty.

 

Download the UNIX tarball version from here.

Move it to wherever you like (/mnt/scratch I think is what you are trying to use).

Issue the command:

cd /mnt/scratch/
tar --no-same-owner -xf squeezeboxserver-7.5.1-30720.tgz
mv squeezeboxserver-7.5.0-30720/ slimserver/
echo >> /etc/passwd
echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd
chmod -R 775 slimserver/
chmod -R 777 /path/to/your/music/folder
cd slimserver/
perl slimserver.pl --daemon --user slimserver

 

That should get it up and working... if I did not leave anything out.  If you get errors on any of the steps post them back here and I will try to help.

Link to comment
  • Replies 246
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I really appreciate all you are doing.  I will be doing this tomorrow.  Right now I am just too tired and would probably screw it up

 

lol, I know exactly what you mean. I am going to pass out any time now.  Let me know how it goes and I will try and assist any way that I can.

Link to comment

Squeezeserver comes as "Perl source code tar.gz". It's just the interpreted perl code that needs to be untared to a directory. As written in this thread Perl is required and, depending on the size of the music collection, mySQL as well. For a start don't use mySQL but consider it for intensive use later on.

 

I did install Slimserver on unRAID several years ago. What I remember ist that a slimserver user is required (check /etc/passwd). There is a Slimserver configuration file where you can set the database you want to use and several options more. Just take a look into this file to get ideas about locations for code and library ...

 

What I remember as well is that slimserver didn't start automatically when invoked once. There was always a second call neccessary ...

 

The Linux installation guide can be found here:

 

http://wiki.slimdevices.com/index.php/Linux_Installation_Guide

 

I'm not quit sure what I did in respect to user permissions. Hmm, perhaps I simply used root on unRAID ...

 

Regards

Harald

 

Link to comment

Well I did a little more research and came to the determination that Squezeboxserver will stay where it is, on a PC in my server room.  I reached this decision for the following reasons.

 

1) With my music all stored on the unRaid system SqueezeboxServer  has no issues getting to it

2) The Squeezeboxserver PC and the Unraid server share a switch so ethernet traffic between them never leaves the switch

3) While streaming music the etehernet traffic was relatively low (more testing to be done later)

4) The support for Slackware installations at the squeezebox web site (forums & wiki) is almost non existant.  The support at this website is excellent

5) I use some fairly sophisticated plugins, Xap in particular, and had enough hassles with the PC version

6) Why fix it if it isn't broke

 

I want to thank all those who helped me in this endeavor and enabled me to learn additional things about Linux and unraid, in particular, thank you Prostuff1.

Link to comment

I have had slimserver working for several months now and am considering updating to the 7.5 stable release.  Has anyone performed an upgrade?  Can I just install it on top of the current version?  Are there any special steps I need to take other than killing the current install.

 

Any input would be greatly appreciated!

 

Thanks,

 

Dan

Link to comment
  • 2 weeks later...

I could do with a bit of help with this guys :(

 

I've installed perl from unmenu ad untar'd 7.5. Then do the following:

 

root@Tower:/boot/squeezeboxserver# echo >> /etc/passwd

root@Tower:/boot/squeezeboxserver# echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd

root@Tower:/boot/squeezeboxserver# cd ..

root@Tower:/boot# chmod -R 755 squeezeboxserver

root@Tower:/boot# cd squeezeboxserver

 

root@Tower:/boot/squeezeboxserver# perl slimserver.pl --daemon --user slimserverperl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_COLLATE = "C",

LANG = "en_US"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Your locale was detected as C, you may have problems with non-Latin filenames.  Consider changing your LANG variable to the correct locale, i.e. en_US.utf8

[10-05-15 23:46:28.4401] main::init (323) Starting Squeezebox Server (v7.5.1, r30745, Sat May 15 03:08:25 MDT 2010) perl 5.010000

root@Tower:/boot/squeezeboxserver# Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

100515 23:46:29 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys'

100515 23:46:29 [ERROR] Aborting

 

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

repeated a lot

 

This line looks bad I guess:

 

100515 23:46:29 [ERROR] Aborting

 

Link to comment

looks like the inbuilt mysql isn't working properly?

 

[10-05-15 23:46:28.4404] main::init (323) Starting Squeezebox Server (v7.5.1, r30745, Sat May 15 03:08:25 MDT 2010) perl 5.010000

[10-05-15 23:47:02.2933] Slim::Utils::MySQLHelper::createSystemTables (506) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)]

 

Can't start that manually:

 

root@Tower:/boot/squeezeboxserver# Bin/i386-linux/mysqld

100515 23:56:51 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys'

100515 23:56:51 [ERROR] Aborting

 

Link to comment
  • 2 weeks later...

I would like to know the same thing as well. I did the upgrade last night(latest 7.5.x) but I just moved my old directory over and started from scratch and rescanned. It wasn't too painful but I did have to re-setup my Music Info Screen. I don't have too many plugins/scripts.

 

In the future it would be easier if I knew I could just untar over the existing directory or at least figure out which configuration files need to be copied over.

 

I have had slimserver working for several months now and am considering updating to the 7.5 stable release.  Has anyone performed an upgrade?  Can I just install it on top of the current version?  Are there any special steps I need to take other than killing the current install.

 

Any input would be greatly appreciated!

 

Thanks,

 

Dan

Link to comment

It looks like you're running off the boot/flash drive. Have you tried a normal disk?

There might be some permission issues with the flash mount.

 

 

I could do with a bit of help with this guys :(

 

I've installed perl from unmenu ad untar'd 7.5. Then do the following:

 

root@Tower:/boot/squeezeboxserver# echo >> /etc/passwd

root@Tower:/boot/squeezeboxserver# echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd

root@Tower:/boot/squeezeboxserver# cd ..

root@Tower:/boot# chmod -R 755 squeezeboxserver

root@Tower:/boot# cd squeezeboxserver

 

root@Tower:/boot/squeezeboxserver# perl slimserver.pl --daemon --user slimserverperl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_COLLATE = "C",

LANG = "en_US"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Your locale was detected as C, you may have problems with non-Latin filenames.  Consider changing your LANG variable to the correct locale, i.e. en_US.utf8

[10-05-15 23:46:28.4401] main::init (323) Starting Squeezebox Server (v7.5.1, r30745, Sat May 15 03:08:25 MDT 2010) perl 5.010000

root@Tower:/boot/squeezeboxserver# Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

100515 23:46:29 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys'

100515 23:46:29 [ERROR] Aborting

 

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

Warning: World-writable config file '/boot/squeezeboxserver/Cache/my.cnf' is ignored

repeated a lot

 

This line looks bad I guess:

 

100515 23:46:29 [ERROR] Aborting

 

Link to comment

If you make the files executable, they will be hidden in windows unless you show hidden system files(at least they were for me). The directories do need to be executable for it to be read by slimserver. I suggest 755 for directories and 664 for files...

 

OK, barrygordon lets see what we can do to get this up and running for you.

 

If you could use a normal telnet client that would me great, it just makes it easier for us to help.  If you are on a windows machine I suggest using putty.

 

Download the UNIX tarball version from here.

Move it to wherever you like (/mnt/scratch I think is what you are trying to use).

Issue the command:

cd /mnt/scratch/
tar --no-same-owner -xf squeezeboxserver-7.5.1-30720.tgz
mv squeezeboxserver-7.5.0-30720/ slimserver/
echo >> /etc/passwd
echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd
chmod -R 775 slimserver/
chmod -R 777 /path/to/your/music/folder
cd slimserver/
perl slimserver.pl --daemon --user slimserver

 

That should get it up and working... if I did not leave anything out.  If you get errors on any of the steps post them back here and I will try to help.

Link to comment
  • 2 weeks later...

I don't mean to hijack this conversation, but...I tried this exact recipe after using UnMenu to install Perl. Everything worked fine until I tried starting the server. It just tells me that the server started without giving errors or messages and immediately returns to the prompt.

 

root@UnRaid:/mnt/disk2/slimserver# slimserver.pl --daemon --user slimserver

[10-06-08 16:30:04.3701] main::init (323) Starting Squeezebox Server (v7.5.1, r30844, Sat Jun  5 03:09:39 MDT 2010) perl 5.010000

root@UnRaid:/mnt/disk2/slimserver#

 

But checking the processes, I don't see it running.

root@UnRaid:/mnt/disk2/slimserver# ps -ef

UID        PID  PPID  C STIME TTY          TIME CMD

root        1    0  0 09:01 ?        00:00:03 init

root        2    0  0 09:01 ?        00:00:00 [kthreadd]

root        3    2  0 09:01 ?        00:00:00 [migration/0]

root        4    2  0 09:01 ?        00:00:00 [ksoftirqd/0]

root        5    2  0 09:01 ?        00:00:00 [migration/1]

root        6    2  0 09:01 ?        00:00:00 [ksoftirqd/1]

root        7    2  0 09:01 ?        00:00:00 [events/0]

root        8    2  0 09:01 ?        00:00:00 [events/1]

root        9    2  0 09:01 ?        00:00:00 [khelper]

root        14    2  0 09:01 ?        00:00:00 [async/mgr]

root      116    2  0 09:01 ?        00:02:08 [sync_supers]

root      118    2  0 09:01 ?        00:00:00 [bdi-default]

root      120    2  0 09:01 ?        00:00:03 [kblockd/0]

root      121    2  0 09:01 ?        00:00:57 [kblockd/1]

root      122    2  0 09:01 ?        00:00:00 [kacpid]

root      123    2  0 09:01 ?        00:00:00 [kacpi_notify]

root      124    2  0 09:01 ?        00:00:00 [kacpi_hotplug]

root      233    2  0 09:01 ?        00:00:00 [ata/0]

root      234    2  0 09:01 ?        00:00:00 [ata/1]

root      235    2  0 09:01 ?        00:00:00 [ata_aux]

root      239    2  0 09:01 ?        00:00:00 [ksuspend_usbd]

root      244    2  0 09:01 ?        00:00:00 [khubd]

root      247    2  0 09:01 ?        00:00:00 [kseriod]

root      279    2  0 09:01 ?        00:00:00 [rpciod/0]

root      280    2  0 09:01 ?        00:00:00 [rpciod/1]

root      310    2  0 09:01 ?        00:01:57 [kswapd0]

root      355    2  0 09:01 ?        00:00:00 [aio/0]

root      356    2  0 09:01 ?        00:00:00 [aio/1]

root      362    2  0 09:01 ?        00:00:00 [nfsiod]

root      367    2  0 09:01 ?        00:00:00 [kslowd000]

root      368    2  0 09:01 ?        00:00:00 [kslowd001]

root      591    2  0 09:01 ?        00:00:00 [usbhid_resumer]

root      630    1  0 09:01 ?        00:00:05 /sbin/udevd --daemon

root      660    2  0 09:01 ?        00:00:00 [scsi_eh_0]

root      661    2  0 09:01 ?        00:00:00 [usb-storage]

root      779    2  0 09:01 ?        00:00:00 [scsi_eh_1]

root      780    2  0 09:01 ?        00:00:00 [scsi_eh_2]

root      781    2  0 09:01 ?        00:00:00 [scsi_eh_3]

root      782    2  0 09:01 ?        00:00:00 [scsi_eh_4]

root      783    2  0 09:01 ?        00:00:00 [scsi_eh_5]

root      784    2  0 09:01 ?        00:00:00 [scsi_eh_6]

root      826    2  0 09:01 ?        00:00:00 [scsi_eh_7]

root      827    2  0 09:01 ?        00:00:00 [scsi_eh_8]

root      828    2  0 09:01 ?        00:00:00 [scsi_eh_9]

root      829    2  0 09:01 ?        00:00:00 [scsi_eh_10]

root      1367    1  0 09:02 ?        00:00:00 /usr/sbin/syslogd -m0

root      1371    1  0 09:02 ?        00:00:00 /usr/sbin/klogd -c 3 -x

root      1410    1  0 09:02 ?        00:00:00 /usr/sbin/ifplugd -i eth0 -fwI -u0 -d10

root      1440    1  0 09:02 ?        00:03:43 /sbin/dhcpcd -d -t 30 -h UnRaid eth0

root      1447    1  0 09:02 ?        00:00:00 /usr/sbin/ntpd -g -p /var/run/ntpd.pid

bin      1457    1  0 09:02 ?        00:00:00 /sbin/rpc.portmap

nobody    1461    1  0 09:02 ?        00:00:00 /sbin/rpc.statd

root      1471    1  0 09:02 ?        00:00:00 /usr/sbin/inetd

root      1481    1  0 09:02 ?        00:00:00 /usr/sbin/acpid

root      1488    1  0 09:02 ?        00:00:00 /usr/sbin/crond -l10

daemon    1490    1  0 09:02 ?        00:00:00 /usr/sbin/atd -b 15 -l 1

root      1495    1  0 09:02 ?        00:00:00 /usr/sbin/nmbd -D

root      1497    1  0 09:02 ?        00:00:00 /usr/sbin/smbd -D

root      1509  1497  0 09:02 ?        00:00:00 /usr/sbin/smbd -D

root      1511    1  0 09:02 ?        00:00:08 /usr/local/sbin/emhttp

root      1612    2 17 09:02 ?        01:19:56 [mdrecoveryd]

root      1615    2  0 09:02 ?        00:00:00 [spinupd]

root      1616    2  0 09:02 ?        00:00:00 [spinupd]

root      1617    2  0 09:02 ?        00:00:00 [spinupd]

root      1618    2  0 09:02 ?        00:00:00 [spinupd]

root      1619    2  0 09:02 ?        00:00:00 [spinupd]

root      1620    2  0 09:02 ?        00:00:00 [spinupd]

root      1621    2  0 09:02 ?        00:00:00 [spinupd]

root      1622    2  0 09:02 ?        00:00:00 [spinupd]

root      1623    2  0 09:02 ?        00:00:00 [spinupd]

root      1786    2 29 09:02 ?        02:13:50 [unraidd]

root      1816    1  0 09:02 ?        00:00:05 /sbin/apcupsd

root      2322    2  0 09:02 ?        00:00:02 [reiserfs/0]

root      2323    2  0 09:02 ?        00:00:02 [reiserfs/1]

root      3537    1  0 09:02 ?        00:00:00 /usr/sbin/sshd

root      4411    1  0 09:04 ?        00:00:39 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4412    1  0 09:04 ?        00:00:40 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4414    1  0 09:04 ?        00:00:40 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4415    1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4416    1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4417    1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4419    1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4421    1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4422    1  0 09:04 ?        00:00:39 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4425    1  0 09:04 ?        00:01:48 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4480    1  0 09:04 ?        00:00:00 /bin/bash /boot/unmenu/uu

root      4481    1  0 09:04 ?        00:00:00 logger -tunmenu -plocal7.info -is

root      4484  4480  0 09:04 ?        00:00:00 awk -W re-interval -f ./unmenu.awk

root      4788    1  0 09:04 tty1    00:00:00 /sbin/agetty 38400 tty1 linux

root      4789    1  0 09:04 tty2    00:00:00 /sbin/agetty 38400 tty2 linux

root      4790    1  0 09:04 tty3    00:00:00 /sbin/agetty 38400 tty3 linux

root      4791    1  0 09:04 tty4    00:00:00 /sbin/agetty 38400 tty4 linux

root      4792    1  0 09:04 tty5    00:00:00 /sbin/agetty 38400 tty5 linux

root      4793    1  0 09:04 tty6    00:00:00 /sbin/agetty 38400 tty6 linux

daemon    4804  1490  0 09:05 ?        00:00:00 /usr/sbin/atd -b 15 -l 1

root      4805  4804  0 09:05 ?        00:00:02 sh

root      5116  4805  0 16:38 ?        00:00:00 sleep 60

root      5568  4421  0 16:38 ?        00:00:00 sleep 2

root      5570  4414  0 16:38 ?        00:00:00 sleep 2

root      5572  4419  0 16:38 ?        00:00:00 sleep 2

root      5576  4422  1 16:38 ?        00:00:00 sleep 2

root      5578  4415  0 16:38 ?        00:00:00 sleep 2

root      5580  4411  0 16:38 ?        00:00:00 sleep 2

root      5582  4412  0 16:38 ?        00:00:00 sleep 2

root      5584  4416  0 16:38 ?        00:00:00 sleep 2

root      5590  4425  0 16:38 ?        00:00:00 sleep 4

root      5592  4417  0 16:38 ?        00:00:00 sleep 2

root      5593 15828  0 16:38 pts/0    00:00:00 ps -ef

root      6157    1 21 09:06 ?        01:37:18 /usr/local/sbin/shfs /mnt/user -cache 1 -floor 20

root      6165    1  2 09:06 ?        00:12:57 /usr/local/sbin/shfs /mnt/user0 -cache 0 -o noati

root      6233    2  0 09:06 ?        00:00:00 [lockd]

root      6234    2  0 09:06 ?        00:00:00 [nfsd]

root      6235    2  0 09:06 ?        00:00:00 [nfsd]

root      6236    2  0 09:06 ?        00:00:00 [nfsd]

root      6237    2  0 09:06 ?        00:00:00 [nfsd]

root      6238    2  0 09:06 ?        00:00:00 [nfsd]

root      6239    2  0 09:06 ?        00:00:00 [nfsd]

root      6240    2  0 09:06 ?        00:00:00 [nfsd]

root      6241    2  0 09:06 ?        00:00:00 [nfsd]

root      6243    1  0 09:06 ?        00:00:00 /usr/sbin/rpc.mountd

root    15720  1497  2 09:16 ?        00:11:09 /usr/sbin/smbd -D

root    15827  1471  0 14:16 ?        00:00:00 in.telnetd: i5

root    15828 15827  0 14:16 pts/0    00:00:00 -bash

root@UnRaid:/mnt/disk2/slimserver#

 

I also verified that the slimserver user is in the /etc/passwd file. Do I need to add the user in the Unraid user-manager screen too?

Thanks for your help on this thread. Hopefully getting squeezeserver running on unraid will mean one less computer running.

 

 

OK, barrygordon lets see what we can do to get this up and running for you.

 

If you could use a normal telnet client that would me great, it just makes it easier for us to help.  If you are on a windows machine I suggest using putty.

 

Download the UNIX tarball version from here.

Move it to wherever you like (/mnt/scratch I think is what you are trying to use).

Issue the command:

cd /mnt/scratch/
tar --no-same-owner -xf squeezeboxserver-7.5.1-30720.tgz
mv squeezeboxserver-7.5.0-30720/ slimserver/
echo >> /etc/passwd
echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd
chmod -R 775 slimserver/
chmod -R 777 /path/to/your/music/folder
cd slimserver/
perl slimserver.pl --daemon --user slimserver

 

That should get it up and working... if I did not leave anything out.  If you get errors on any of the steps post them back here and I will try to help.

Link to comment

Ok, after much fannying around, I've just successfully upgraded 7.4.2 -> 7.5.0, keeping all preferences, plugins (Music Info Screen setup) etc... in tact.

 

Will post a guide tonight if I've time (World Cup!), but it's a straight-forward process once you know what files & directories it's looking for.

 

Matt.

 

I would like to know the same thing as well. I did the upgrade last night(latest 7.5.x) but I just moved my old directory over and started from scratch and rescanned. It wasn't too painful but I did have to re-setup my Music Info Screen. I don't have too many plugins/scripts.

 

In the future it would be easier if I knew I could just untar over the existing directory or at least figure out which configuration files need to be copied over.

 

I have had slimserver working for several months now and am considering updating to the 7.5 stable release.  Has anyone performed an upgrade?  Can I just install it on top of the current version?  Are there any special steps I need to take other than killing the current install.

 

Any input would be greatly appreciated!

 

Thanks,

 

Dan

Link to comment

Yeah if only it was that easy on Linux ;D

 

You may try running VMware and then Vortexbox in a VM. Vortexbox is preconfigured Slimserver appliance. Everything is preset and works like a charm. Only thing remaining is installing VMware on unRAID and of course you must have some kind of beafy hardware.

Link to comment

I followed the same directions and am having the same issue. I'm using 4.5.4 and the latest version of SqueezeBox Server. Any assistance would be greatly appreciated.

 

Thanks

 

I don't mean to hijack this conversation, but...I tried this exact recipe after using UnMenu to install Perl. Everything worked fine until I tried starting the server. It just tells me that the server started without giving errors or messages and immediately returns to the prompt.

 

root@UnRaid:/mnt/disk2/slimserver# slimserver.pl --daemon --user slimserver

[10-06-08 16:30:04.3701] main::init (323) Starting Squeezebox Server (v7.5.1, r30844, Sat Jun  5 03:09:39 MDT 2010) perl 5.010000

root@UnRaid:/mnt/disk2/slimserver#

 

But checking the processes, I don't see it running.

root@UnRaid:/mnt/disk2/slimserver# ps -ef

UID        PID  PPID  C STIME TTY          TIME CMD

root         1     0  0 09:01 ?        00:00:03 init

root         2     0  0 09:01 ?        00:00:00 [kthreadd]

root         3     2  0 09:01 ?        00:00:00 [migration/0]

root         4     2  0 09:01 ?        00:00:00 [ksoftirqd/0]

root         5     2  0 09:01 ?        00:00:00 [migration/1]

root         6     2  0 09:01 ?        00:00:00 [ksoftirqd/1]

root         7     2  0 09:01 ?        00:00:00 [events/0]

root         8     2  0 09:01 ?        00:00:00 [events/1]

root         9     2  0 09:01 ?        00:00:00 [khelper]

root        14     2  0 09:01 ?        00:00:00 [async/mgr]

root       116     2  0 09:01 ?        00:02:08 [sync_supers]

root       118     2  0 09:01 ?        00:00:00 [bdi-default]

root       120     2  0 09:01 ?        00:00:03 [kblockd/0]

root       121     2  0 09:01 ?        00:00:57 [kblockd/1]

root       122     2  0 09:01 ?        00:00:00 [kacpid]

root       123     2  0 09:01 ?        00:00:00 [kacpi_notify]

root       124     2  0 09:01 ?        00:00:00 [kacpi_hotplug]

root       233     2  0 09:01 ?        00:00:00 [ata/0]

root       234     2  0 09:01 ?        00:00:00 [ata/1]

root       235     2  0 09:01 ?        00:00:00 [ata_aux]

root       239     2  0 09:01 ?        00:00:00 [ksuspend_usbd]

root       244     2  0 09:01 ?        00:00:00 [khubd]

root       247     2  0 09:01 ?        00:00:00 [kseriod]

root       279     2  0 09:01 ?        00:00:00 [rpciod/0]

root       280     2  0 09:01 ?        00:00:00 [rpciod/1]

root       310     2  0 09:01 ?        00:01:57 [kswapd0]

root       355     2  0 09:01 ?        00:00:00 [aio/0]

root       356     2  0 09:01 ?        00:00:00 [aio/1]

root       362     2  0 09:01 ?        00:00:00 [nfsiod]

root       367     2  0 09:01 ?        00:00:00 [kslowd000]

root       368     2  0 09:01 ?        00:00:00 [kslowd001]

root       591     2  0 09:01 ?        00:00:00 [usbhid_resumer]

root       630     1  0 09:01 ?        00:00:05 /sbin/udevd --daemon

root       660     2  0 09:01 ?        00:00:00 [scsi_eh_0]

root       661     2  0 09:01 ?        00:00:00 [usb-storage]

root       779     2  0 09:01 ?        00:00:00 [scsi_eh_1]

root       780     2  0 09:01 ?        00:00:00 [scsi_eh_2]

root       781     2  0 09:01 ?        00:00:00 [scsi_eh_3]

root       782     2  0 09:01 ?        00:00:00 [scsi_eh_4]

root       783     2  0 09:01 ?        00:00:00 [scsi_eh_5]

root       784     2  0 09:01 ?        00:00:00 [scsi_eh_6]

root       826     2  0 09:01 ?        00:00:00 [scsi_eh_7]

root       827     2  0 09:01 ?        00:00:00 [scsi_eh_8]

root       828     2  0 09:01 ?        00:00:00 [scsi_eh_9]

root       829     2  0 09:01 ?        00:00:00 [scsi_eh_10]

root      1367     1  0 09:02 ?        00:00:00 /usr/sbin/syslogd -m0

root      1371     1  0 09:02 ?        00:00:00 /usr/sbin/klogd -c 3 -x

root      1410     1  0 09:02 ?        00:00:00 /usr/sbin/ifplugd -i eth0 -fwI -u0 -d10

root      1440     1  0 09:02 ?        00:03:43 /sbin/dhcpcd -d -t 30 -h UnRaid eth0

root      1447     1  0 09:02 ?        00:00:00 /usr/sbin/ntpd -g -p /var/run/ntpd.pid

bin       1457     1  0 09:02 ?        00:00:00 /sbin/rpc.portmap

nobody    1461     1  0 09:02 ?        00:00:00 /sbin/rpc.statd

root      1471     1  0 09:02 ?        00:00:00 /usr/sbin/inetd

root      1481     1  0 09:02 ?        00:00:00 /usr/sbin/acpid

root      1488     1  0 09:02 ?        00:00:00 /usr/sbin/crond -l10

daemon    1490     1  0 09:02 ?        00:00:00 /usr/sbin/atd -b 15 -l 1

root      1495     1  0 09:02 ?        00:00:00 /usr/sbin/nmbd -D

root      1497     1  0 09:02 ?        00:00:00 /usr/sbin/smbd -D

root      1509  1497  0 09:02 ?        00:00:00 /usr/sbin/smbd -D

root      1511     1  0 09:02 ?        00:00:08 /usr/local/sbin/emhttp

root      1612     2 17 09:02 ?        01:19:56 [mdrecoveryd]

root      1615     2  0 09:02 ?        00:00:00 [spinupd]

root      1616     2  0 09:02 ?        00:00:00 [spinupd]

root      1617     2  0 09:02 ?        00:00:00 [spinupd]

root      1618     2  0 09:02 ?        00:00:00 [spinupd]

root      1619     2  0 09:02 ?        00:00:00 [spinupd]

root      1620     2  0 09:02 ?        00:00:00 [spinupd]

root      1621     2  0 09:02 ?        00:00:00 [spinupd]

root      1622     2  0 09:02 ?        00:00:00 [spinupd]

root      1623     2  0 09:02 ?        00:00:00 [spinupd]

root      1786     2 29 09:02 ?        02:13:50 [unraidd]

root      1816     1  0 09:02 ?        00:00:05 /sbin/apcupsd

root      2322     2  0 09:02 ?        00:00:02 [reiserfs/0]

root      2323     2  0 09:02 ?        00:00:02 [reiserfs/1]

root      3537     1  0 09:02 ?        00:00:00 /usr/sbin/sshd

root      4411     1  0 09:04 ?        00:00:39 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4412     1  0 09:04 ?        00:00:40 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4414     1  0 09:04 ?        00:00:40 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4415     1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4416     1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4417     1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4419     1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4421     1  0 09:04 ?        00:00:41 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4422     1  0 09:04 ?        00:00:39 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4425     1  0 09:04 ?        00:01:48 /bin/bash /boot/custom/bin/cache_dirs -d 3 -m 3 -

root      4480     1  0 09:04 ?        00:00:00 /bin/bash /boot/unmenu/uu

root      4481     1  0 09:04 ?        00:00:00 logger -tunmenu -plocal7.info -is

root      4484  4480  0 09:04 ?        00:00:00 awk -W re-interval -f ./unmenu.awk

root      4788     1  0 09:04 tty1     00:00:00 /sbin/agetty 38400 tty1 linux

root      4789     1  0 09:04 tty2     00:00:00 /sbin/agetty 38400 tty2 linux

root      4790     1  0 09:04 tty3     00:00:00 /sbin/agetty 38400 tty3 linux

root      4791     1  0 09:04 tty4     00:00:00 /sbin/agetty 38400 tty4 linux

root      4792     1  0 09:04 tty5     00:00:00 /sbin/agetty 38400 tty5 linux

root      4793     1  0 09:04 tty6     00:00:00 /sbin/agetty 38400 tty6 linux

daemon    4804  1490  0 09:05 ?        00:00:00 /usr/sbin/atd -b 15 -l 1

root      4805  4804  0 09:05 ?        00:00:02 sh

root      5116  4805  0 16:38 ?        00:00:00 sleep 60

root      5568  4421  0 16:38 ?        00:00:00 sleep 2

root      5570  4414  0 16:38 ?        00:00:00 sleep 2

root      5572  4419  0 16:38 ?        00:00:00 sleep 2

root      5576  4422  1 16:38 ?        00:00:00 sleep 2

root      5578  4415  0 16:38 ?        00:00:00 sleep 2

root      5580  4411  0 16:38 ?        00:00:00 sleep 2

root      5582  4412  0 16:38 ?        00:00:00 sleep 2

root      5584  4416  0 16:38 ?        00:00:00 sleep 2

root      5590  4425  0 16:38 ?        00:00:00 sleep 4

root      5592  4417  0 16:38 ?        00:00:00 sleep 2

root      5593 15828  0 16:38 pts/0    00:00:00 ps -ef

root      6157     1 21 09:06 ?        01:37:18 /usr/local/sbin/shfs /mnt/user -cache 1 -floor 20

root      6165     1  2 09:06 ?        00:12:57 /usr/local/sbin/shfs /mnt/user0 -cache 0 -o noati

root      6233     2  0 09:06 ?        00:00:00 [lockd]

root      6234     2  0 09:06 ?        00:00:00 [nfsd]

root      6235     2  0 09:06 ?        00:00:00 [nfsd]

root      6236     2  0 09:06 ?        00:00:00 [nfsd]

root      6237     2  0 09:06 ?        00:00:00 [nfsd]

root      6238     2  0 09:06 ?        00:00:00 [nfsd]

root      6239     2  0 09:06 ?        00:00:00 [nfsd]

root      6240     2  0 09:06 ?        00:00:00 [nfsd]

root      6241     2  0 09:06 ?        00:00:00 [nfsd]

root      6243     1  0 09:06 ?        00:00:00 /usr/sbin/rpc.mountd

root     15720  1497  2 09:16 ?        00:11:09 /usr/sbin/smbd -D

root     15827  1471  0 14:16 ?        00:00:00 in.telnetd: i5

root     15828 15827  0 14:16 pts/0    00:00:00 -bash

root@UnRaid:/mnt/disk2/slimserver#

 

I also verified that the slimserver user is in the /etc/passwd file. Do I need to add the user in the Unraid user-manager screen too?

Thanks for your help on this thread. Hopefully getting squeezeserver running on unraid will mean one less computer running.

 

 

OK, barrygordon lets see what we can do to get this up and running for you.

 

If you could use a normal telnet client that would me great, it just makes it easier for us to help.  If you are on a windows machine I suggest using putty.

 

Download the UNIX tarball version from here.

Move it to wherever you like (/mnt/scratch I think is what you are trying to use).

Issue the command:

cd /mnt/scratch/
tar --no-same-owner -xf squeezeboxserver-7.5.1-30720.tgz
mv squeezeboxserver-7.5.0-30720/ slimserver/
echo >> /etc/passwd
echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd
chmod -R 775 slimserver/
chmod -R 777 /path/to/your/music/folder
cd slimserver/
perl slimserver.pl --daemon --user slimserver

 

That should get it up and working... if I did not leave anything out.  If you get errors on any of the steps post them back here and I will try to help.

Link to comment
  • 3 weeks later...

I'm having slimserver issues as well.  I was running 4.4.2 with bubbaraid and slim ran without issues.  I upgraded to 4.5.4 and am now using unmenu.  I installed perl from the unmenu package manager and now trying to run slimserver gives this message:

 

The following modules failed to load: GD

To download and compile them, please run: /boot/apps/slimserver/Bin/build-perl-modules.pl GD

 

So, I figure, what the heck, and try to execute that command.  Well, I get this error:

 

Can't locate File/Which.pm in @INC (@INC contains: /usr/local/slimserver/CPAN /usr/share/squeezecenter/CPAN CPAN /usr/lib/perl5/5.10.0/i486-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /boot/apps/slimserver/Bin/build-perl-modules.pl line 20.
BEGIN failed--compilation aborted at /boot/apps/slimserver/Bin/build-perl-modules.pl line 20.

 

Does this make sense to anyone?  Obviously strange things are afoot in the land of perl, but what?

 

Thanks in advance,

Chris

Link to comment
  • 3 weeks later...
I have one quick question in the instructions you indicate that you may need to add the following using VI

 

slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash

 

In my case I bumbled with Vi and didn't figure it out so I used mc selected the passwd file and hit F4 to edit it.  I manually typed the above saved it and then everything worked great.  Over the weekend we had a power bump and I had to manually type the above again to get everything started.  Is there any way to permanently add this line so Squeezeserver works next time I reboot?

 

I've found that if you copy the modified passwd file to the config folder on the flash drive, then that is used to recreate the working /etc/passwd file on system startup.

 

This is on the 'free' 3-drive unRAID.  When I upgrade to plus (or pro, or V5), I'll add the user via unRAID's use management.

 

I have just got Squeezeboxserver 7.5.1 running on my unRAID 4.5.6 system.  The bit that took most effort was copying all my squeezeboxserver plugins and preferences from the Squeeze server running on my ubuntu machine, getting them in the right places, with the correct owner and permissions.

 

All that's left to do now is to find an automated way to stop squeezeboxsever so that the automated shutdown from my UPS doesn't stall!

 

Other than that, I would like to get rid of the locale-related error messages on the perl startup.

 

Also, I'm not sure why it takes so long (about 3 minutes, but I haven't timed it) for squeezeboxserver to start up (from the 'go' file) after the disk shares become active.

 

Edited to add:

Ah, a running squeezeboxserver doesn't stall the auto-powerdown, just the 'Stop' array button on the web interface.

 

I've now timed the power up ... from the point that the disk shares become available, it's almost four minutes before unmenu is available, and almost five minutes before squeezeboxserver is active.

Link to comment
  • 2 weeks later...

I've taken a stab at getting squeezeserver 7.5.1 running on unraid.

 

Installed perl 5.10 via unmenu. Installed squeezeserver on /mnt/disk1. Worked through the password and file protection and ownership issues and nothing worked, running into same roadblocks as others have reported. That is, I got the server running after protection/ownership was dealt with but couldn't get it to catalog files on unraid drives. Added a cache drive and reinstalled slimserver there, hoping that a file system not managed by unraid would make slimserver happy. It was happier (ie, it *could* find UUID/tiny.pm when installed on the cache drive) but still had lots of problems.

 

It's easiest to troubleshoot startup problems by omitting the --daemon switch when starting the server. This way, errors can be seen in the console as they occur without having to find and tail the log file. Sitting at a windows machine, I have four putty windows to the unraid box like the good old days.

 

Hopefully of interest to others, I discovered several things.

 

1. When changing the file ownership in the slimserver tree, set the group too:

 

chown -R slimserver.users .

 

Without this, the group remains "root" (or whatever) and things cannot be found by the server/perl.

 

2. Once group ownership was correct, it wasn't necessary to change file permissions.

 

3. When run the first few times, slimserver creates new directories (log, prefs, plugins, etc). Even though I'm running slimserver with the --user slimserver switch, these new directories are owned by root! Because of this, slimserver fails when it tries to write to these directories. I changed the ownership of these new directories to slimserver.users as they were created and broke the running serverr. The next server run would get farther.

 

4. No matter how I try, I cannot get slimserver to scan files on unraid disks that are symlinked into slimserver's music directory. I've given ownership to slimserver for the symlink, the directory linked to, and the files in the directory. Interestingly, the unraid disks (/mnt/disk1, /mnt/disk2, etc) do not show up in the folder trees in the configuration dialogs in the web pages for configuring the server, yet /mnt/cache does. Directories outside of /mnt/cache/music on /mnt/cache when linked into /mnt/cache/music do get scanned.

 

However, if I *move* music into the music directory, slimserver functions properly. Partial win, yes! Now if I could only figure out how to move all my unraid protected data onto the cache drive..........

 

Being stuck here, with the alternative of running another machine just for slimserver when the unraid box is sitting idle really sucks. Any suggestions?

 

- Eric

Link to comment
However, if I *move* music into the music directory, slimserver functions properly. Partial win, yes! Now if I could only figure out how to move all my unraid protected data onto the cache drive..........

 

I have all my flac files on /mnt/disk1/Music and SBS v7.5.1 scans and plays it all perfectly well.

Link to comment
  • 1 month later...

Hi all,

 

I'm wondering if I could get some help trying to setup slimserver (downloaded v7.5.2) running unraid 4.5.6 free version. I only have one disk with a Music share. Very new at this linux thing but very skilled at copy and paste!

 

Perl installed through unMenu and installed slimserver as per post 1.

 

I haven't added any lines to the passwd file as I haven't encountered any problems but I've chmod the 2 directories as well as per below.

 

I've run the slimserver line and the below output is noted. It doesn't seem to scan for the music files and isn't loaded as per the ps -ef below.

 

Am I missing something? Do I have to direct slimserver to the Music folder?

 

Thanks for any help.

 

Josh

 

root@Tower:/mnt/disk1# chmod -R 777 slimserver
root@Tower:/mnt/disk1# chmod -R 777 Music
root@Tower:/mnt/disk1# cd slimserver
root@Tower:/mnt/disk1/slimserver# perl slimserver.pl --daemon --user slimserver
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Your locale was detected as C, you may have problems with non-Latin filenames.
Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
[10-09-11 14:15:44.2682] main::init (323) Starting Squeezebox Server (v7.5.2, r3
1318, Fri Sep 10 03:04:12 MDT 2010) perl 5.010000
root@Tower:/mnt/disk1/slimserver#

 

 

 

root@Tower:/mnt/disk1/slimserver# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 13:58 ?        00:00:01 init
root         2     0  0 13:58 ?        00:00:00 [kthreadd]
root         3     2  0 13:58 ?        00:00:00 [migration/0]
root         4     2  0 13:58 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 13:58 ?        00:00:00 [events/0]
root         6     2  0 13:58 ?        00:00:00 [khelper]
root        11     2  0 13:58 ?        00:00:00 [async/mgr]
root       112     2  0 13:58 ?        00:00:00 [sync_supers]
root       114     2  0 13:58 ?        00:00:00 [bdi-default]
root       116     2  0 13:58 ?        00:00:00 [kblockd/0]
root       117     2  0 13:58 ?        00:00:00 [kacpid]
root       118     2  0 13:58 ?        00:00:00 [kacpi_notify]
root       119     2  0 13:58 ?        00:00:00 [kacpi_hotplug]
root       225     2  0 13:58 ?        00:00:00 [ata/0]
root       226     2  0 13:58 ?        00:00:00 [ata_aux]
root       230     2  0 13:58 ?        00:00:00 [ksuspend_usbd]
root       235     2  0 13:58 ?        00:00:00 [khubd]
root       238     2  0 13:58 ?        00:00:00 [kseriod]
root       273     2  0 13:58 ?        00:00:00 [rpciod/0]
root       298     2  0 13:58 ?        00:00:00 [kswapd0]
root       343     2  0 13:58 ?        00:00:00 [aio/0]
root       349     2  0 13:58 ?        00:00:00 [nfsiod]
root       354     2  0 13:58 ?        00:00:00 [kslowd000]
root       355     2  0 13:58 ?        00:00:00 [kslowd001]
root       578     2  0 13:58 ?        00:00:00 [usbhid_resumer]
root       617     1  0 13:58 ?        00:00:00 /sbin/udevd --daemon
root       691     2  0 13:58 ?        00:00:00 [scsi_eh_0]
root       693     2  0 13:58 ?        00:00:00 [usb-storage]
root       762     2  0 13:58 ?        00:00:00 [scsi_eh_1]
root       763     2  0 13:58 ?        00:00:00 [scsi_eh_2]
root       764     2  0 13:58 ?        00:00:00 [scsi_eh_3]
root       765     2  0 13:58 ?        00:00:00 [scsi_eh_4]
root       766     2  0 13:58 ?        00:00:00 [scsi_eh_5]
root       767     2  0 13:58 ?        00:00:00 [scsi_eh_6]
root      1172     1  0 13:58 ?        00:00:00 /usr/sbin/syslogd -m0
root      1176     1  0 13:58 ?        00:00:00 /usr/sbin/klogd -c 3 -x
root      1215     1  0 13:58 ?        00:00:00 /usr/sbin/ifplugd -i eth0 -fwI -
bin       1260     1  0 13:58 ?        00:00:00 /sbin/rpc.portmap
nobody    1264     1  0 13:58 ?        00:00:00 /sbin/rpc.statd
root      1274     1  0 13:58 ?        00:00:00 /usr/sbin/inetd
root      1284     1  0 13:58 ?        00:00:00 /usr/sbin/acpid
root      1291     1  0 13:58 ?        00:00:00 /usr/sbin/crond -l10
daemon    1293     1  0 13:58 ?        00:00:00 /usr/sbin/atd -b 15 -l 1
root      1298     1  0 13:58 ?        00:00:00 /usr/sbin/nmbd -D
root      1300     1  0 13:58 ?        00:00:00 /usr/sbin/smbd -D
root      1305  1300  0 13:58 ?        00:00:00 /usr/sbin/smbd -D
root      1760     1  0 13:58 ?        00:00:00 /usr/local/sbin/emhttp
root      1767     1  0 13:58 tty1     00:00:00 /sbin/agetty 38400 tty1 linux
root      1768     1  0 13:58 tty2     00:00:00 /sbin/agetty 38400 tty2 linux
root      1769     1  0 13:58 tty3     00:00:00 /sbin/agetty 38400 tty3 linux
root      1770     1  0 13:58 tty4     00:00:00 /sbin/agetty 38400 tty4 linux
root      1771     1  0 13:58 tty5     00:00:00 /sbin/agetty 38400 tty5 linux
root      1772     1  0 13:58 tty6     00:00:00 /sbin/agetty 38400 tty6 linux
root      1792     2  0 13:58 ?        00:00:00 [mdrecoveryd]
root      1793     2  0 13:58 ?        00:00:00 [spinupd]
root      1794     2  0 13:58 ?        00:00:00 [spinupd]
root      1805     2  0 13:58 ?        00:00:00 [unraidd]
root      1816     2  0 13:58 ?        00:00:00 [reiserfs/0]
root      1828     1  0 13:58 ?        00:00:00 /usr/local/sbin/shfs /mnt/user -
root      1860     2  0 13:58 ?        00:00:00 [lockd]
root      1861     2  0 13:58 ?        00:00:00 [nfsd]
root      1862     2  0 13:58 ?        00:00:00 [nfsd]
root      1863     2  0 13:58 ?        00:00:00 [nfsd]
root      1864     2  0 13:58 ?        00:00:00 [nfsd]
root      1865     2  0 13:58 ?        00:00:00 [nfsd]
root      1866     2  0 13:58 ?        00:00:00 [nfsd]
root      1867     2  0 13:58 ?        00:00:00 [nfsd]
root      1868     2  0 13:58 ?        00:00:00 [nfsd]
root      1870     1  0 13:58 ?        00:00:00 /usr/sbin/rpc.mountd
root      1875  1274  0 14:00 ?        00:00:00 in.telnetd: 192.168.1.3
root      1876  1875  0 14:00 pts/0    00:00:00 -bash
root      1895     1  0 14:04 pts/0    00:00:00 /bin/bash ./uu
root      1896     1  0 14:04 pts/0    00:00:00 logger -tunmenu -plocal7.info -i
root      1899  1895  0 14:04 pts/0    00:00:00 awk -W re-interval -f ./unmenu.a
root      2623     2  0 14:15 ?        00:00:00 [flush-9:1]
root      2624  1876  0 14:17 pts/0    00:00:00 ps -ef
root@Tower:/mnt/disk1/slimserver#

Link to comment

Thanks for the reply Ironcross, unfortunatly the same result. I had to place a space between the 644 and {} as it was throwing errors but unfortunatly no luck.

 

Thanks Josh

 

Tower login: root
Linux 2.6.32.9-unRAID.
root@Tower:~# cd ..
root@Tower:/# cd /mnt/disk1
root@Tower:/mnt/disk1# chmod 774 slimserver
root@Tower:/mnt/disk1# cd Music
root@Tower:/mnt/disk1/Music# find . -type d -exec chmod 755 {} \;
root@Tower:/mnt/disk1/Music# find . -type f -exec chmod 644 {} \;
root@Tower:/mnt/disk1/Music# cd ..
root@Tower:/mnt/disk1# cd slimserver
root@Tower:/mnt/disk1/slimserver# perl slimserver.pl --daemon --user slimserver
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Your locale was detected as C, you may have problems with non-Latin filenames.
Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
[10-09-12 10:33:26.4175] main::init (323) Starting Squeezebox Server (v7.5.2, r3
1318, Fri Sep 10 03:04:12 MDT 2010) perl 5.010000
root@Tower:/mnt/disk1/slimserver#

Link to comment

Ok, I've managed to get a little more info. I've omitted the --daemon command and it now comes up with

 

Permission denied at /mnt/disk1/slimserver/Slim/Utils/Prefs/Namespace.pm line 324.

 

I assume it is an ownership thing but I've run:

 

chmod -R 777 slimserver and also on the Music folder.

 

Any other suggestions? Is it to do with users in the free version?

 

OK PART 2:

 

Rebooted and reinstalled perl and echo the passwd file. chmod again

 

This time:

perl slimserver.pl --user slimserver

runs but then ends up stopping, seems to pause.

ps-ef shows the below code, squeezecenter is running, squeezeplay and the boom can find it but no music. Appears not to have scanned.

 

root      2572     2  0 16:51 ?        00:00:00 [flush-9:1]
1000      2578     1  0 16:52 ?        00:00:01 perl slimserver.pl --daemon --us
1000      2579  2578  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2580  2579  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2581  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2582  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2583  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2584  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2586  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2587  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2588  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
1000      2589  2580  0 16:52 ?        00:00:00 /mnt/disk1/slimserver/Bin/i386-l
root      2593  1274  0 17:07 ?        00:00:00 in.telnetd: 192.168.1.3
root      2594  2593  0 17:07 pts/1    00:00:00 -bash
root      2605  2594  0 17:07 pts/1    00:00:00 ps -ef

 

It gets to this part and pauses/stops

root@Tower:/mnt/disk1/slimserver# perl slimserver.pl --daemon --user slimserver
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Your locale was detected as C, you may have problems with non-Latin filenames.
Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
[10-09-12 10:33:26.4175] main::init (323) Starting Squeezebox Server (v7.5.2, r3
1318, Fri Sep 10 03:04:12 MDT 2010) perl 5.010000

Thanks Josh

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.