oconnellc Posted April 18, 2010 Share Posted April 18, 2010 I have slimserver installed on a flash drive (not 'the' flash drive, but another one that I have mounted under '/flash/apps'). No problems at all with performance. I put it on a different flash drive because I wanted to minimize reads/writes to the 'the' flash drive. If my 'apps' flash drive dies, very easy to just reinstall a few applications. Quote Link to comment
starcat Posted April 18, 2010 Share Posted April 18, 2010 Actually, because SS would need your music anyway, it is probably best putting it on the *same* drive as your audio files. Quote Link to comment
barrygordon Posted May 1, 2010 Share Posted May 1, 2010 I am trying to get squeezeboxserver onto my unraid system. A lot has changed since 2009. I am a linux beihher. I have no issues with squeezeboxserver on a PC. I downloaded two files. One is a .RPM file and the other a .gz. I am pretty sure I only need the .gz file. Do I just change its name to end in .tgz and run installpkg? If not, what do I do to get started? I know I need to install perl, but I am trying to understand what I want have before that. Quote Link to comment
purko Posted May 1, 2010 Share Posted May 1, 2010 I am pretty sure I only need the .gz file. Do I just change its name to end in .tgz and run installpkg? Barry, That .gz file is probably an archive of source code files, that need to be compiled. All Linux distros use .gz archives. In the Slackware distro (unRAID), a .tgz package means something else. It contains mostly compiled pieces which the installpkg tool just puts in their appropriate places in your file system. After that, the installpkg tool also executes the package's own install script, if present in the package. So, no renaming stuff! Those are two completely different things. Quote Link to comment
barrygordon Posted May 1, 2010 Share Posted May 1, 2010 Compiled with .. perl?? Is there a compiled version of squeezeboxserver available for linux? I know I can move the music files to unRaid, but I prefer that the files and the SQB server be on the same machine. Quote Link to comment
purko Posted May 1, 2010 Share Posted May 1, 2010 Compiled with .. perl?? Source code is compiled with C compiler. Perl is something that executes perl scripts without compiling them. I think the first post in this thread points you to some precompiled SqueezeBox that's in a .tgz package. (I don't use SqueezeBox so research that for yourself) Quote Link to comment
barrygordon Posted May 1, 2010 Share Posted May 1, 2010 Thanks purko, If someone is here who uses squeezeboxserver that wold be most helpful. 1) when I do the download (using windows) the file comes down as a .gz file, but I have seen that before and changed it to a .tgz file 2) when I go to try and "tar" it it wants all sort of options. I am now at a loss to see what I have to do. I am not even sure which version I needed to DL and chose the one that seemed to work for most systems (the first tgz in the list) Quote Link to comment
purko Posted May 1, 2010 Share Posted May 1, 2010 1) when I do the download (using windows) the file comes down as a .gz file, but I have seen that before and changed it to a .tgz file When you hover the mouse over the download link in your browser, do you see it as tgz? In that case it really is a .tgz package and windows is to blame. Rename it. Quote Link to comment
barrygordon Posted May 1, 2010 Share Posted May 1, 2010 I agree and did that. Now the question becomes what next. If I just do (in telnet) tar filename.tgz it gets all upset and asks for options. The question now becomes which options. The first post shows no options being used. Quote Link to comment
BRiT Posted May 1, 2010 Share Posted May 1, 2010 Depending on what you downloaded, you could try installing it using: installpkg packagefilename.tgz Quote Link to comment
barrygordon Posted May 1, 2010 Share Posted May 1, 2010 I am not sure it worked. When I do the installpkg it puts a directory into / (rppt) named squeezeboxserver-7.5.1-30720. the contents of which are (ls -aF): ./ Changelog6.html License.he.txt lib/ ../ Changelog7.html License.it.txt modules.conf Bin/ Firmware/ License.nl.txt revision.txt CPAN/ Graphics/ License.txt scanner.pl* Changelog.html HTML/ MySQL/ slimserver.pl* Changelog1.html IR/ Plugins/ slimservice-convert.conf Changelog2.html Installation.txt SQL/ slimservice-strings.txt Changelog3.html License.de.txt Slim/ slimservice.pl* Changelog4.html License.es.txt cleanup.pl* strings.txt Changelog5.html License.fr.txt convert.conf types.conf If I do a cp -r on that directory to move it to where I want it not all things move and I just get (ls -aF): ./ CPAN/ Installation.txt* slimserver.pl* ../ Graphics/ convert.conf* slimservice.pl* I also get a bunch of messages about owner [permissions or some such thing. I am not sure what the proper next step is. I guess I can load perl and see if I can run slimserver.pl Quote Link to comment
barrygordon Posted May 2, 2010 Share Posted May 2, 2010 I have admitted defeat in trying to get squeezebox server running on unraid 4.5.3. It is just to complex a process. The windows process is trivial Quote Link to comment
prostuff1 Posted May 2, 2010 Author Share Posted May 2, 2010 What in the process on the first page is hanging you up? The directions should be fairly straight forward to follow. All you need to do is extract the files, have perl installed, set up the slimserver user, and then start slimserver. Quote Link to comment
barrygordon Posted May 2, 2010 Share Posted May 2, 2010 Because of my newness to linux, I am a bit nervous when doing things. I will be trying to set it up again and will be careful to follow the directions exactly as on the first post. Probably will do that this coming week. Thanks for the response, and please do not take my posts as a reflection of the quality of your instructions, but rather my weak linux background. Quote Link to comment
prostuff1 Posted May 2, 2010 Author Share Posted May 2, 2010 Oh no, none taken. If I can improve the instructions then let me know. There is a way to install perl via unmenu... I think. That would be the easiest thing to do. Just read through the whole thread just in case I added some stuff and did not put it in the first post. Quote Link to comment
barrygordon Posted May 3, 2010 Share Posted May 3, 2010 Okay, With a clear mind after a good nights sleep, I followed the directions in the first post of this script. The attached zip file has the telenet session that I was running to install squeezeboxserver. NOTE My telnet client is one I wrote. It is a little more graphical in flavor, allows for macros to save repetitive typing and allows me to cut and paste the output stream as it appears on the console. When I get a macro working I can then move it to the GO file. if yu see "-->" that indicates that the text following was what I typed and was sent to the telnet server The attachment is the result of the install process. Before I did the install I used unMenu to install perl and that went fine with no issue. Here are the first 20 or so lines: --> cd /mnt/scratch root@Tower:/mnt/scratch --> ls -aF ./ ../ edittemp.txt* logs/ smarthistory/ squeezeboxserver-7.5.1-30720.tgz* root@Tower:/mnt/scratch --> tar -xf squeezeboxserver-7.5.1-30720.tgz tar: squeezeboxserver-7.5.1-30720/Slim/bootstrap.pm: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/Plugin.pm: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins/Podcast/html/images/icon.png: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins/Podcast/html/images: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins/Podcast/html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins/Podcast/settings/basic.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins/Podcast/settings: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins/Podcast: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN/plugins: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML/EN: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/HTML: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/strings.txt: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/Settings.pm: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast/install.xml: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/Podcast: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/Plugin.pm: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/musicmagic_pwdlist.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/mixerlink.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/musicmagic_moods.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/html/images/icon.png: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/html/images: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/settings/mipclient.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/settings/musicmagic.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/settings: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic/musicmagic_mix.html: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins/MusicMagic: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN/plugins: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML/EN: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/HTML: Cannot change ownership to uid 201, gid 201: Operation not permitted tar: squeezeboxserver-7.5.1-30720/Slim/Plugin/MusicMagic/strings.txt: Cannot change ownership to uid 201, gid 201: Operation not permitted . . . At which point telnet hangs and I restart it. It appears to be telling me somthing about ownership, all the lines stating that. I now used telnet to see what I had in /mnt/scratch and /mnt/scratch/slimserver: NOTE scratch is an 8 Gig flash drive inside the case which is exported via Samba and mounted by the Go file on every reboot. I can deal with it both via telnet on unRaid and any windows machine. I use textpad as the editor in windows as that is sensitive to unix/pc line endings. root@Tower:/mnt/scratch --> cd /mnt/scratch root@Tower:/mnt/scratch --> ls -aF ./ logs/ squeezeboxserver-7.5.1-30720.tgz* ../ smarthistory/ edittemp.txt* squeezeboxserver-7.5.1-30720/ root@Tower:/mnt/scratch --> mv squeezeboxserver-7.5.1-30720/ slimserver/ root@Tower:/mnt/scratch --> ls -aF ./ edittemp.txt* slimserver/ squeezeboxserver-7.5.1-30720.tgz* ../ logs/ smarthistory/ root@Tower:/mnt/scratch --> cd ./slimserver root@Tower:/mnt/scratch/slimserver --> ls -aF ./ Changelog6.html* License.he.txt* lib/ ../ Changelog7.html* License.it.txt* modules.conf* Bin/ Firmware/ License.nl.txt* revision.txt* CPAN/ Graphics/ License.txt* scanner.pl* Changelog.html* HTML/ MySQL/ slimserver.pl* Changelog1.html* IR/ Plugins/ slimservice-convert.conf* Changelog2.html* Installation.txt* SQL/ slimservice-strings.txt* Changelog3.html* License.de.txt* Slim/ slimservice.pl* Changelog4.html* License.es.txt* cleanup.pl* strings.txt* Changelog5.html* License.fr.txt* convert.conf* types.conf* root@Tower:/mnt/scratch/slimserver I assume the contents of /mnt/scratch/slimserver are correct. I then try and run slimserver; and as far as I can tell it is not running. the following is that telnet session: Connecting to 192.168.1.209 on Port 23 . . . Connected to 192.168.1.209 User 'root' is now logged on --> echo >> /etc/passwd root@Tower:~ --> echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd --> chmod -R 777 /mnt/scratch/slimserver root@Tower:~ --> chmod -R 777 /mnt/disk3/music chmod -R 777 /mnt/scratch/slimserver root@Tower:~ --> /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver >/dev/null 2>&1 & /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver > /dev/null 2>&1 & [1] 21580 [1]+ Done /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver >/dev/null 2>&1 --> ps PID TTY TIME CMD 21567 pts/0 00:00:00 bash 21721 pts/0 00:00:00 ps root@Tower:~ I assume starting a telnet session and logging in as root is the same as using the console logged in as root. I would assume now that slimserver.pl may be running in the background but how do I tell? An attempt to log into \\tower:9090 which should be slimservers web server returns a 404 error. As you can see I am a little confused. Did I leave a step out? What should I do differently? Log_from_tar_of_squeezebox.zip Quote Link to comment
prostuff1 Posted May 3, 2010 Author Share Posted May 3, 2010 When i got home for work later tonight I will take a more detailed look at things and let you know what i see. I think a "--no-same-owner" tag would be a good thing to add to the untar of the slimserver .tgz file. That way you don't get all the warnings about the "cannot change ownership" stuff. Also, if you issue ps -ef in telnet you can see the processes that are running. After you start the slimserver process via slimserver.pl you should see if running in the list. Quote Link to comment
barrygordon Posted May 3, 2010 Share Posted May 3, 2010 Thanks I really appreciate that. From what I can tell it is not running. I did the following to ensurethat it is not [NOTE: <p> is put out by my telnet system when a prompt is returned by the telnet server] First I made sure slimserver was not running: --> pkill slimserver* <P>root@Tower:~ --> ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 May02 ? 00:00:01 init root 2 0 0 May02 ? 00:00:00 [kthreadd] root 3 2 0 May02 ? 00:00:00 [migration/0] root 4 2 0 May02 ? 00:00:00 [ksoftirqd/0] root 5 2 0 May02 ? 00:00:00 [migration/1] root 6 2 0 May02 ? 00:00:00 [ksoftirqd/1] root 7 2 0 May02 ? 00:00:00 [events/0] root 8 2 0 May02 ? 00:00:00 [events/1] root 9 2 0 May02 ? 00:00:00 [khelper] root 14 2 0 May02 ? 00:00:00 [async/mgr] root 116 2 0 May02 ? 00:06:06 [sync_supers] root 118 2 0 May02 ? 00:00:00 [bdi-default] root 120 2 0 May02 ? 00:00:00 [kblockd/0] root 121 2 0 May02 ? 00:00:00 [kblockd/1] root 122 2 0 May02 ? 00:00:00 [kacpid] root 123 2 0 May02 ? 00:00:00 [kacpi_notify] root 124 2 0 May02 ? 00:00:00 [kacpi_hotplug] root 235 2 0 May02 ? 00:00:00 [ata/0] root 236 2 0 May02 ? 00:00:00 [ata/1] root 237 2 0 May02 ? 00:00:00 [ata_aux] root 241 2 0 May02 ? 00:00:00 [ksuspend_usbd] root 246 2 0 May02 ? 00:00:00 [khubd] root 249 2 0 May02 ? 00:00:00 [kseriod] root 284 2 0 May02 ? 00:00:00 [rpciod/0] root 285 2 0 May02 ? 00:00:00 [rpciod/1] root 317 2 0 May02 ? 00:00:25 [kswapd0] root 362 2 0 May02 ? 00:00:00 [aio/0] root 363 2 0 May02 ? 00:00:00 [aio/1] root 369 2 0 May02 ? 00:00:00 [nfsiod] root 374 2 0 May02 ? 00:00:00 [kslowd000] root 375 2 0 May02 ? 00:00:00 [kslowd001] root 599 2 0 May02 ? 00:00:00 [usbhid_resumer] root 638 1 0 May02 ? 00:00:02 /sbin/udevd --daemon root 706 2 0 May02 ? 00:00:00 [scsi_eh_0] root 707 2 0 May02 ? 00:00:00 [usb-storage] root 788 2 0 May02 ? 00:00:00 [scsi_tgt0] root 789 2 0 May02 ? 00:00:00 [scsi_tgt1] root 790 2 0 May02 ? 00:00:00 [scsi_tgt_init] root 791 2 0 May02 ? 00:00:00 [scsi_tm] root 792 2 0 May02 ? 00:00:00 [scsi_tgt_mgmt] root 793 2 0 May02 ? 00:00:00 [scsi_eh_1] root 794 2 0 May02 ? 00:00:00 [scsi_eh_2] root 795 2 0 May02 ? 00:00:00 [usb-storage] root 798 2 0 May02 ? 00:00:00 [scsi_wq_1] root 809 2 0 May02 ? 00:00:00 [scsi_eh_3] root 810 2 0 May02 ? 00:00:00 [scsi_eh_4] root 811 2 0 May02 ? 00:00:00 [scsi_eh_5] root 812 2 0 May02 ? 00:00:00 [scsi_eh_6] root 813 2 0 May02 ? 00:00:00 [scsi_eh_7] root 814 2 0 May02 ? 00:00:00 [scsi_eh_8] root 1387 1 0 May02 ? 00:00:00 /usr/sbin/syslogd -m0 root 1391 1 0 May02 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 1430 1 0 May02 ? 00:00:00 /usr/sbin/ifplugd -i eth0 -fwI - root 1471 1 0 May02 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/nt bin 1481 1 0 May02 ? 00:00:00 /sbin/rpc.portmap nobody 1485 1 0 May02 ? 00:00:00 /sbin/rpc.statd root 1495 1 0 May02 ? 00:00:00 /usr/sbin/inetd root 1505 1 0 May02 ? 00:00:00 /usr/sbin/acpid root 1512 1 0 May02 ? 00:00:00 /usr/sbin/crond -l10 daemon 1514 1 0 May02 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 1519 1 0 May02 ? 00:00:00 /usr/sbin/nmbd -D root 1521 1 0 May02 ? 00:00:00 /usr/sbin/smbd -D root 1532 1521 0 May02 ? 00:00:00 /usr/sbin/smbd -D root 1537 1 0 May02 ? 00:00:02 /usr/local/sbin/emhttp root 1549 1 0 May02 ? 00:00:00 /bin/bash /boot/unmenu/uu root 1550 1 0 May02 ? 00:00:00 logger -tunmenu -plocal7.info -i root 1562 2 0 May02 ? 00:00:00 [mdrecoveryd] root 1563 2 0 May02 ? 00:00:00 [spinupd] root 1564 2 0 May02 ? 00:00:00 [spinupd] root 1565 2 0 May02 ? 00:00:00 [spinupd] root 1566 2 0 May02 ? 00:00:00 [spinupd] root 1585 2 0 May02 ? 00:06:55 [unraidd] root 1608 2 0 May02 ? 00:00:00 [reiserfs/0] root 1609 2 0 May02 ? 00:00:00 [reiserfs/1] root 1679 1521 9 14:19 ? 00:00:33 /usr/sbin/smbd -D root 2034 1495 0 14:21 ? 00:00:00 in.telnetd: 192.168.1.202 root 2035 2034 0 14:21 pts/0 00:00:00 -bash root 2193 2 0 14:22 ? 00:00:00 [flush-8:16] root 2482 20265 0 14:24 ? 00:00:00 sleep 60 root 2486 2035 0 14:25 pts/0 00:00:00 ps -ef root 2516 1 0 May02 tty1 00:00:00 /sbin/agetty 38400 tty1 linux root 2517 1 0 May02 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 2518 1 0 May02 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 2519 1 0 May02 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 2520 1 0 May02 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 2521 1 0 May02 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 12476 1521 0 11:55 ? 00:00:00 /usr/sbin/smbd -D root 20265 1 0 May02 ? 00:00:14 /bin/bash /usr/bin/unraid_notify root 22256 1549 0 12:55 ? 00:00:00 awk -W re-interval -f ./unmenu.a root 32303 2 0 14:05 ? 00:00:01 [flush-9:2] <P>root@Tower:~ I now ran the macro to restart slimserver: --> echo >> /etc/passwd <P>root@Tower:~ --> echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/h ome/slimserver:/bin/bash >> /etc/passwd --> chmod -R 777 /mnt/scratch/slimserver <P>root@Tower:~ --> chmod -R 777 /mnt/disk3/music chmod -R 777 /mnt/scratch/slimserver <P>root@Tower:~ --> /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver >/dev/null 2>&1 & /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver > /dev/null 2>&1 & [1] 2559 [1]+ Done /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver >/dev/null 2>&1 I then looked to see if it was running now <P>--> ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 May02 ? 00:00:01 init root 2 0 0 May02 ? 00:00:00 [kthreadd] root 3 2 0 May02 ? 00:00:00 [migration/0] root 4 2 0 May02 ? 00:00:00 [ksoftirqd/0] root 5 2 0 May02 ? 00:00:00 [migration/1] root 6 2 0 May02 ? 00:00:00 [ksoftirqd/1] root 7 2 0 May02 ? 00:00:00 [events/0] root 8 2 0 May02 ? 00:00:00 [events/1] root 9 2 0 May02 ? 00:00:00 [khelper] root 14 2 0 May02 ? 00:00:00 [async/mgr] root 116 2 0 May02 ? 00:06:06 [sync_supers] root 118 2 0 May02 ? 00:00:00 [bdi-default] root 120 2 0 May02 ? 00:00:00 [kblockd/0] root 121 2 0 May02 ? 00:00:00 [kblockd/1] root 122 2 0 May02 ? 00:00:00 [kacpid] root 123 2 0 May02 ? 00:00:00 [kacpi_notify] root 124 2 0 May02 ? 00:00:00 [kacpi_hotplug] root 235 2 0 May02 ? 00:00:00 [ata/0] root 236 2 0 May02 ? 00:00:00 [ata/1] root 237 2 0 May02 ? 00:00:00 [ata_aux] root 241 2 0 May02 ? 00:00:00 [ksuspend_usbd] root 246 2 0 May02 ? 00:00:00 [khubd] root 249 2 0 May02 ? 00:00:00 [kseriod] root 284 2 0 May02 ? 00:00:00 [rpciod/0] root 285 2 0 May02 ? 00:00:00 [rpciod/1] root 317 2 0 May02 ? 00:00:25 [kswapd0] root 362 2 0 May02 ? 00:00:00 [aio/0] root 363 2 0 May02 ? 00:00:00 [aio/1] root 369 2 0 May02 ? 00:00:00 [nfsiod] root 374 2 0 May02 ? 00:00:00 [kslowd000] root 375 2 0 May02 ? 00:00:00 [kslowd001] root 599 2 0 May02 ? 00:00:00 [usbhid_resumer] root 638 1 0 May02 ? 00:00:02 /sbin/udevd --daemon root 706 2 0 May02 ? 00:00:00 [scsi_eh_0] root 707 2 0 May02 ? 00:00:00 [usb-storage] root 788 2 0 May02 ? 00:00:00 [scsi_tgt0] root 789 2 0 May02 ? 00:00:00 [scsi_tgt1] root 790 2 0 May02 ? 00:00:00 [scsi_tgt_init] root 791 2 0 May02 ? 00:00:00 [scsi_tm] root 792 2 0 May02 ? 00:00:00 [scsi_tgt_mgmt] root 793 2 0 May02 ? 00:00:00 [scsi_eh_1] root 794 2 0 May02 ? 00:00:00 [scsi_eh_2] root 795 2 0 May02 ? 00:00:00 [usb-storage] root 798 2 0 May02 ? 00:00:00 [scsi_wq_1] root 809 2 0 May02 ? 00:00:00 [scsi_eh_3] root 810 2 0 May02 ? 00:00:00 [scsi_eh_4] root 811 2 0 May02 ? 00:00:00 [scsi_eh_5] root 812 2 0 May02 ? 00:00:00 [scsi_eh_6] root 813 2 0 May02 ? 00:00:00 [scsi_eh_7] root 814 2 0 May02 ? 00:00:00 [scsi_eh_8] root 1387 1 0 May02 ? 00:00:00 /usr/sbin/syslogd -m0 root 1391 1 0 May02 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 1430 1 0 May02 ? 00:00:00 /usr/sbin/ifplugd -i eth0 -fwI - root 1471 1 0 May02 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/nt bin 1481 1 0 May02 ? 00:00:00 /sbin/rpc.portmap nobody 1485 1 0 May02 ? 00:00:00 /sbin/rpc.statd root 1495 1 0 May02 ? 00:00:00 /usr/sbin/inetd root 1505 1 0 May02 ? 00:00:00 /usr/sbin/acpid root 1512 1 0 May02 ? 00:00:00 /usr/sbin/crond -l10 daemon 1514 1 0 May02 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 1519 1 0 May02 ? 00:00:00 /usr/sbin/nmbd -D root 1521 1 0 May02 ? 00:00:00 /usr/sbin/smbd -D root 1532 1521 0 May02 ? 00:00:00 /usr/sbin/smbd -D root 1537 1 0 May02 ? 00:00:02 /usr/local/sbin/emhttp root 1549 1 0 May02 ? 00:00:00 /bin/bash /boot/unmenu/uu root 1550 1 0 May02 ? 00:00:00 logger -tunmenu -plocal7.info -i root 1562 2 0 May02 ? 00:00:00 [mdrecoveryd] root 1563 2 0 May02 ? 00:00:00 [spinupd] root 1564 2 0 May02 ? 00:00:00 [spinupd] root 1565 2 0 May02 ? 00:00:00 [spinupd] root 1566 2 0 May02 ? 00:00:00 [spinupd] root 1585 2 0 May02 ? 00:06:55 [unraidd] root 1608 2 0 May02 ? 00:00:00 [reiserfs/0] root 1609 2 0 May02 ? 00:00:00 [reiserfs/1] root 1679 1521 9 14:19 ? 00:00:36 /usr/sbin/smbd -D root 2034 1495 0 14:21 ? 00:00:00 in.telnetd: 192.168.1.202 root 2035 2034 0 14:21 pts/0 00:00:00 -bash root 2193 2 0 14:22 ? 00:00:00 [flush-8:16] root 2516 1 0 May02 tty1 00:00:00 /sbin/agetty 38400 tty1 linux root 2517 1 0 May02 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 2518 1 0 May02 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 2519 1 0 May02 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 2520 1 0 May02 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 2521 1 0 May02 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 2623 20265 0 14:25 ? 00:00:00 sleep 60 root 2642 2035 0 14:25 pts/0 00:00:00 ps -ef root 12476 1521 0 11:55 ? 00:00:00 /usr/sbin/smbd -D root 20265 1 0 May02 ? 00:00:14 /bin/bash /usr/bin/unraid_notify root 22256 1549 0 12:55 ? 00:00:00 awk -W re-interval -f ./unmenu.a root 32303 2 0 14:05 ? 00:00:01 [flush-9:2] <P>root@Tower:~ Thanks again for the volunteered help. Quote Link to comment
Joe L. Posted May 3, 2010 Share Posted May 3, 2010 Please don't take this the wrong way... but you will get a lot further if you do not try to customize things or use your own methods. For example, your "macro" is flawed. You executed a series of commands without knowing what they do. That is potentially dangerous. This command appends a line for the slimserver user to the /etc/password file AGAIN. echo slimserver:$1$oExleBv6$Ux2qBpAanWMqJqUeH2xqp1:1000:100:,,,:/home/slimserver:/bin/bash >> /etc/passwd Since it was probably already added once, you may have broken any login... I have no idea, as I've never tries to mis-manage my password file. Type cat /etc/passwd See of the slimserver line is on the bottom twice. It it is, you've got a problem you need to correct. Second line in your macro makes every file under /mnt/scratch/slimserver readable, writable, and executable by anybody. This, if it needs to be done at all, only needs to be done once. The third line in your "macro" runs the slimserver.pl command but sends both the error output and standard output to dev/null. /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver >/dev/null 2>&1 That's probably why you have no clue as to why it is not running... you threw away the error message it is probably trying to print to you. Leave off the re-direction for now. (the text I highlighted in RED) Lastly, you put the command in the background. It immediately said it was done. (which indicates it is NOT still running) This time, don't use the "&" to put it in the background. Not until you know HOW to put it in the background so it will keep running after you log off. As you did it, as soon as you ended the telnet session, the process would have stopped. All you need to do once the programs are in place to test it is to type that very last line. /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver Once you figure out the issues, then you can invoke it in the background and with the error output sent to /dev/null. Joe L. Quote Link to comment
barrygordon Posted May 3, 2010 Share Posted May 3, 2010 Thanks Joe. And no I never take anything wrong when it is constructive corrective criticism. Am I correct in assuming that as soon as I reboot the /etc/password file will be correct again? It is a testament to unraid and linux that it still manages to stay up while I do these "things" Quote Link to comment
Joe L. Posted May 3, 2010 Share Posted May 3, 2010 Thanks Joe. And no I never take anything wrong when it is constructive corrective criticism. Am I correct in assuming that as soon as I reboot the /etc/password file will be correct again? It is a testament to unraid and linux that it still manages to stay up while I do these "things" No, unRAID attempts to manage the password file too as you add users. It all depends on when it saved a copy. If its copy does not contain the "slimserver" line(s) then it will be gone when you next boot. If it does, they'll be back. the "slimserver" user should probably be added in the "Users" page of unRAID. Then they would be in sync. but that is a whole other issue. I do not know when unRAID makes a copy of the password file to store between boots on the flash drive. it may only be when you access the users-page. You can type: cat /etc/passwd and cat /boot/config/passwd and see if they are similar. Quote Link to comment
prostuff1 Posted May 3, 2010 Author Share Posted May 3, 2010 Thanks Joe. And no I never take anything wrong when it is constructive corrective criticism. Am I correct in assuming that as soon as I reboot the /etc/password file will be correct again? It is a testament to unraid and linux that it still manages to stay up while I do these "things" Yes, a reboot will clear the /etc/password file. I think I mentioned somewhere along in the thread that those series of commands would need to be added to the go script so they were re-added on each reboot. Quote Link to comment
prostuff1 Posted May 3, 2010 Author Share Posted May 3, 2010 Thanks Joe. And no I never take anything wrong when it is constructive corrective criticism. Am I correct in assuming that as soon as I reboot the /etc/password file will be correct again? It is a testament to unraid and linux that it still manages to stay up while I do these "things" No, unRAID attempts to manage the password file too as you add users. It all depends on when it saved a copy. If its copy does not contain the "slimserver" line(s) then it will be gone when you next boot. If it does, they'll be back. the "slimserver" user should probably be added in the "Users" page of unRAID. Then they would be in sync. but that is a whole other issue. I do not know when unRAID makes a copy of the password file to store between boots on the flash drive. it may only be when you access the users-page. You can type: cat /etc/passwd and cat /boot/config/passwd and see if they are similar. I think unRAID will only save a copy of the passwd file when a user is added via the management page. Do not quote me on that, but i think it is correct. Quote Link to comment
barrygordon Posted May 3, 2010 Share Posted May 3, 2010 I understood everything you said and of course it makes total sense. I rebooted the system and all was put back to normal. Prior to the reboot the etc/passwd file was modified as you indicated. There aslo was an etc/passwd- file which I assume was a prior copy as it looked like one. The passwd file is now back to what I suspect it should be and the passwd- file is gone. Once again thanks for bearing with me and assisting. Some day I hope to be able to return the assistance Quote Link to comment
barrygordon Posted May 3, 2010 Share Posted May 3, 2010 I did a reboot And everything looks cleaned up, back to normal. I have done no chmod's, no chown's and no changes to the /etc/passwd file. I untar'ed th tgz file, found one tar inside it and extracted all that stuff into a directory as /mnt/scratch/slimserver which I believe is what I should have. I did this all in windows as my thought was that it is all just file manipulations. When I tried to use (in Linux) tar -xf squeezeboxserver-7.5.1-30720.tgz --no-same-user I got none of the error messages but all was not un packed. For example the squeezeboxserver-7.5.1-30720 contained no slimserver.pl file nor a slimservice.pl file. I then tried to run the slimserver.pl module located in /mnt/scratch/slimserver with the following result: Connecting to 192.168.1.209 on Port 23 . . . Connected to 192.168.1.209 User 'root' is now logged on --> perl /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver # >/dev/null 2>&1 perl /mnt/scratch/slimserver/slimserver.pl --daemon --user slimserver # >/dev/null 2>&1 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 ©. 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-03 16:36:42.8211] main::init (323) Starting Squeezebox Server (v7.5.1, r30720, Sat May 1 02:06:03 MDT 2010) perl 5.010000 <P>root@Tower:~ --> ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 15:32 ? 00:00:01 init root 2 0 0 15:32 ? 00:00:00 [kthreadd] root 3 2 0 15:32 ? 00:00:00 [migration/0] root 4 2 0 15:32 ? 00:00:00 [ksoftirqd/0] root 5 2 0 15:32 ? 00:00:00 [migration/1] root 6 2 0 15:32 ? 00:00:00 [ksoftirqd/1] root 7 2 0 15:32 ? 00:00:00 [events/0] root 8 2 0 15:32 ? 00:00:00 [events/1] root 9 2 0 15:32 ? 00:00:00 [khelper] root 14 2 0 15:32 ? 00:00:00 [async/mgr] root 116 2 0 15:32 ? 00:00:26 [sync_supers] root 118 2 0 15:32 ? 00:00:00 [bdi-default] root 120 2 0 15:32 ? 00:00:00 [kblockd/0] root 121 2 0 15:32 ? 00:00:00 [kblockd/1] root 122 2 0 15:32 ? 00:00:00 [kacpid] root 123 2 0 15:32 ? 00:00:00 [kacpi_notify] root 124 2 0 15:32 ? 00:00:00 [kacpi_hotplug] root 235 2 0 15:32 ? 00:00:00 [ata/0] root 236 2 0 15:32 ? 00:00:00 [ata/1] root 237 2 0 15:32 ? 00:00:00 [ata_aux] root 241 2 0 15:32 ? 00:00:00 [ksuspend_usbd] root 246 2 0 15:32 ? 00:00:00 [khubd] root 249 2 0 15:32 ? 00:00:00 [kseriod] root 284 2 0 15:32 ? 00:00:00 [rpciod/0] root 285 2 0 15:32 ? 00:00:00 [rpciod/1] root 317 2 0 15:32 ? 00:00:01 [kswapd0] root 362 2 0 15:32 ? 00:00:00 [aio/0] root 363 2 0 15:32 ? 00:00:00 [aio/1] root 369 2 0 15:32 ? 00:00:00 [nfsiod] root 374 2 0 15:32 ? 00:00:00 [kslowd000] root 375 2 0 15:32 ? 00:00:00 [kslowd001] root 599 2 0 15:32 ? 00:00:00 [usbhid_resumer] root 638 1 0 15:32 ? 00:00:00 /sbin/udevd --daemon root 706 2 0 15:32 ? 00:00:00 [scsi_eh_0] root 707 2 0 15:32 ? 00:00:00 [usb-storage] root 788 2 0 15:32 ? 00:00:00 [scsi_tgt0] root 789 2 0 15:32 ? 00:00:00 [scsi_tgt1] root 790 2 0 15:32 ? 00:00:00 [scsi_tgt_init] root 791 2 0 15:32 ? 00:00:00 [scsi_tm] root 792 2 0 15:32 ? 00:00:00 [scsi_tgt_mgmt] root 793 2 0 15:32 ? 00:00:00 [scsi_eh_1] root 794 2 0 15:32 ? 00:00:00 [scsi_eh_2] root 795 2 0 15:32 ? 00:00:01 [usb-storage] root 798 2 0 15:32 ? 00:00:00 [scsi_wq_1] root 809 2 0 15:32 ? 00:00:00 [scsi_eh_3] root 810 2 0 15:32 ? 00:00:00 [scsi_eh_4] root 811 2 0 15:32 ? 00:00:00 [scsi_eh_5] root 812 2 0 15:32 ? 00:00:00 [scsi_eh_6] root 813 2 0 15:32 ? 00:00:00 [scsi_eh_7] root 814 2 0 15:32 ? 00:00:00 [scsi_eh_8] root 1430 1 0 15:32 ? 00:00:00 /usr/sbin/ifplugd -i eth0 -fwI - root 1471 1 0 15:32 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/nt bin 1482 1 0 15:32 ? 00:00:00 /sbin/rpc.portmap nobody 1486 1 0 15:32 ? 00:00:00 /sbin/rpc.statd root 1496 1 0 15:32 ? 00:00:00 /usr/sbin/inetd root 1506 1 0 15:32 ? 00:00:00 /usr/sbin/acpid root 1513 1 0 15:32 ? 00:00:00 /usr/sbin/crond -l10 daemon 1515 1 0 15:32 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 1520 1 0 15:32 ? 00:00:00 /usr/sbin/nmbd -D root 1522 1 0 15:32 ? 00:00:00 /usr/sbin/smbd -D root 1533 1522 0 15:32 ? 00:00:00 /usr/sbin/smbd -D root 1546 1 0 15:32 ? 00:00:00 /usr/sbin/syslogd -m0 root 1552 1 0 15:32 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 1555 1 0 15:32 ? 00:00:00 /usr/local/sbin/emhttp root 1567 1 0 15:32 ? 00:00:00 /bin/bash /boot/unmenu/uu root 1568 1 0 15:32 ? 00:00:00 logger -tunmenu -plocal7.info -i root 1576 1567 0 15:32 ? 00:00:00 awk -W re-interval -f ./unmenu.a root 1580 2 0 15:32 ? 00:00:00 [mdrecoveryd] root 1582 2 0 15:32 ? 00:00:00 [spinupd] root 1583 2 0 15:32 ? 00:00:00 [spinupd] root 1584 2 0 15:32 ? 00:00:00 [spinupd] root 1585 2 0 15:32 ? 00:00:00 [spinupd] root 1604 2 0 15:32 ? 00:00:28 [unraidd] root 1627 2 0 15:32 ? 00:00:00 [reiserfs/0] root 1628 2 0 15:32 ? 00:00:00 [reiserfs/1] root 2835 1 0 15:33 ? 00:00:00 /bin/bash /usr/bin/unraid_notify root 3007 1 0 15:33 tty1 00:00:00 -bash root 3008 1 0 15:33 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 3009 1 0 15:33 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 3010 1 0 15:33 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 3011 1 0 15:33 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 3012 1 0 15:33 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 4754 2 0 15:45 ? 00:00:02 [flush-9:2] root 11551 2 0 16:31 ? 00:00:00 [flush-8:16] root 12027 1522 6 16:35 ? 00:00:06 /usr/sbin/smbd -D root 12311 2835 0 16:36 ? 00:00:00 sleep 60 root 12330 1496 0 16:36 ? 00:00:00 in.telnetd: 192.168.1.202 root 12331 12330 0 16:36 pts/0 00:00:00 -bash root 12346 12331 0 16:36 pts/0 00:00:00 ps -ef <P>root@Tower:~ from what I can tell slimserver is not running, but I see no error messages, just warnings from perl. Any ideas, or thoughts or hints will be appreciated. Quote Link to comment
Recommended Posts
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.