shell script usage

Discuss Applications
Post Reply
User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

shell script usage

Post by cdhgold »

i ahave installed a mp3 streaming app called slimserver on my suse box and am trying to start the app it is suppose to start wiht the command "slimserver start" slimserver is a shell script but i keep getting errors when trying to run it any ideas? here is what i get

jose:/etc/rc.d/init.d # ls
. .. slimserver
jose:/etc/rc.d/init.d # ./slimserver start
./slimserver: line 12: /etc/rc.d/init.d/functions: No such file or directory
./slimserver: line 15: .: /etc/sysconfig/network: is a directory
./slimserver: line 22: [: =: unary operator expected
Starting SlimServer: ./slimserver: line 33: daemon: command not found

jose:/etc/rc.d/init.d # slimserver start
-bash: slimserver: command not found

what am i doing wrong or missing?
Chris

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

Can you provide a link to the exact RPM that you downloaded? Is it an RPM built for SUSE? I haven't run SUSE in a while and I don't remember how it's init scripts are set up. Something I am curious about, do you have a /etc/rc.d/init.d/functions file? If not I'm guessing that init script is targeted for Red Hat.

User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

Post by cdhgold »

no the slimserver shellscript is the only thing in /etc/rc.d/init.d I got the rpm from
http://www.slimdevices.com/downloads/Sl ... noarch.rpm

I did a rpm -Uvh direct from that URL
I got it working had to run the slimserver.pl --daemon instead of the script since the script was meant for redhat ...
Chris

Post Reply