PDA

View Full Version : problems installing on linux



thnmnt
2004-06-03, 16:27
i couldn't wait..i went ahead and added a user called slimserver which got me past the first hurdle but now when i type perl slimserver start i get:

Starting SlimServer:

that's it..it just sort of sits there. opening another console and typing perl slimserver status tells me what i already know...it's stopped.

thanks!

--t
----- Original Message -----
From: thnmnt
To: Slim Devices Discussion
Sent: Thursday, June 03, 2004 7:15 PM
Subject: problems installing on linux


ok so i was having problems with slimserver on windows xp so i figured this was as good a time as any to pull my old dell pIII out of retirement (plus this list seemed much more linux oriented!) anyway, i'm a super-noob - but i managed to get mandrake 10 up and running (stop laughing you gentoo freaks) and i've confirmed that perl 5.8 is installed etc.. i downloaded the rpm and installed it and everything seemed to go ok. i then spent several hours trying to figure out why typing:

/etc/rc.d/init.d/slimserver start gave me:

bash: slimserver: command not found.

so more digging around and then i found someone who suggested typing: perl slimserver start -which actually did something (so what was that other thing and why wasn't it working?) anyway typing that gave me:

Starting SlimServer: su: user slimserver does not exist [FAILED]

So being a rocket scientist i'm assuming that in some part of the install there was supposed to be a user named slimserver that was created but wasn't. i figure that i could just go add a user using userdrake or whatever but maybe i'd do it wrong - since it's not *really* a user...so i'm confused on a couple of levels. if this is what i should do can someone give me the specifics of adding this user?

again i'm new at this but i'm a pretty quick study so if anyone has any better instructions than i found reading installation.txt i'd sure appreciate it!

--t

Roy M. Silvernail
2004-06-03, 17:59
On Thu, 2004-06-03 at 19:27, thnmnt wrote:
> i couldn't wait..i went ahead and added a user called slimserver which
> got me past the first hurdle but now when i type perl slimserver start
> i get:
>
> Starting SlimServer:
>
> that's it..it just sort of sits there.

That's what I'd expect when the --daemon flag isn't specified. Try
'perl slimserver --d_info'. You should see a huge flurry of output as
the server comes up.

> opening another console and typing perl slimserver status tells me
> what i already know...it's stopped.

There's no "status" argument for the server (and all args start with
'--'). When you go to that second window, try 'ps ax|grep slim' and see
if you get a something like this:

roy@mesmer roy $ ps ax|grep slim
22190 ? Ss 1:37 slimserver
937 pts/3 R+ 0:00 grep slim

Your process ids will vary, of course. I suspect that Mandrake's layout
is different enough from Red Hat that the init.d script isn't correct
for your system. After a manual start, you should open your web browser
and go to http://localhost:9000/
If the server is running, you'l get the web interface opening page.

Once you confirm that it will start, then you can go about modding the
service script.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

Victor Brilon
2004-06-03, 18:11
On a side note...if anyone can give me access to a Mandrake box I'd be
happy to convert the RPM to specifically work on Mandrake. I
unfortunately don't have a spare box (or the time frankly) to install
Mandrake here.

Victor

Roy M. Silvernail wrote:
> On Thu, 2004-06-03 at 19:27, thnmnt wrote:
>
>>i couldn't wait..i went ahead and added a user called slimserver which
>>got me past the first hurdle but now when i type perl slimserver start
>>i get:
>>
>>Starting SlimServer:
>>
>>that's it..it just sort of sits there.
>
>
> That's what I'd expect when the --daemon flag isn't specified. Try
> 'perl slimserver --d_info'. You should see a huge flurry of output as
> the server comes up.
>
>
>>opening another console and typing perl slimserver status tells me
>>what i already know...it's stopped.
>
>
> There's no "status" argument for the server (and all args start with
> '--'). When you go to that second window, try 'ps ax|grep slim' and see
> if you get a something like this:
>
> roy@mesmer roy $ ps ax|grep slim
> 22190 ? Ss 1:37 slimserver
> 937 pts/3 R+ 0:00 grep slim
>
> Your process ids will vary, of course. I suspect that Mandrake's layout
> is different enough from Red Hat that the init.d script isn't correct
> for your system. After a manual start, you should open your web browser
> and go to http://localhost:9000/
> If the server is running, you'l get the web interface opening page.
>
> Once you confirm that it will start, then you can go about modding the
> service script.

John Gorst
2004-06-04, 05:06
Manager Matt wrote:

> Might be an issue w/ Mandrake 10. I use MDK9.2 and silmserver rpms work
> fine. (seems to neways)
>
> Couldn't you(somebody) make a source rpm?

Is it normal to have this much trouble installing slimserver on Linux?

I am going to install Linux on my server box at the end of the month and
was thinking of putting Mandrake 10 on it. Does slimserver usually
install on Mandrake 10 with minimum of hassle (for a Linux newbie)?

If not mandrake 10 any other suggestions? (Redhat 9, Feadora?)

Cheers

Patrick Dowling
2004-06-04, 17:57
I've been running slimserver on FC1 without any issues.

You will need to download the "Time::HiRes" perl module for the
slimserver to work. It's detailed in the FAQ
http://slimdevices.com/su_faq.html#troubleshooting-rh9 by running the
following command as root: rpm -i
http://www.slimdevices.com/downloads/misc/perl-Time-HiRes-1.38
-3.i386.rpm

Pat


On Jun 4, 2004, at 7:06 AM, John Gorst wrote:

> Manager Matt wrote:
>
>> Might be an issue w/ Mandrake 10. I use MDK9.2 and silmserver rpms
>> work
>> fine. (seems to neways)
>> Couldn't you(somebody) make a source rpm?
>
> Is it normal to have this much trouble installing slimserver on Linux?
>
> I am going to install Linux on my server box at the end of the month
> and was thinking of putting Mandrake 10 on it. Does slimserver
> usually install on Mandrake 10 with minimum of hassle (for a Linux
> newbie)?
>
> If not mandrake 10 any other suggestions? (Redhat 9, Feadora?)
>
> Cheers
>
>

Jack Coates
2004-06-05, 20:55
> On a side note...if anyone can give me access to a Mandrake box I'd be
> happy to convert the RPM to specifically work on Mandrake. I
> unfortunately don't have a spare box (or the time frankly) to install
> Mandrake here.
>
> Victor
>

I can give you access if you like, but there's no need as the RPM works
fine on Mandrake. By the errors he was having, I expect he was using the
tar.gz.

--
Jack At Monkeynoodle.Org:
It's A Scientific Venture...

Jack Coates
2004-06-05, 21:00
> Manager Matt wrote:
>
>> Might be an issue w/ Mandrake 10. I use MDK9.2 and silmserver rpms work
>> fine. (seems to neways)
>>
>> Couldn't you(somebody) make a source rpm?
>
> Is it normal to have this much trouble installing slimserver on Linux?
>

if using the RPM, no.

> I am going to install Linux on my server box at the end of the month and
> was thinking of putting Mandrake 10 on it. Does slimserver usually
> install on Mandrake 10 with minimum of hassle (for a Linux newbie)?
>
> If not mandrake 10 any other suggestions? (Redhat 9, Feadora?)
>

Not to start a flamewar, but in my opinion RH and Fedora are not very
newbie-friendly. Mandrake is a good first distribution, as is SuSE. You
can get some very good hand-on reviews of various distributions at
http://www.osnews.com.

--
Jack At Monkeynoodle.Org:
It's A Scientific Venture...

Victor Brilon
2004-06-06, 00:47
Jack Coates wrote:
> I can give you access if you like, but there's no need as the RPM works
> fine on Mandrake. By the errors he was having, I expect he was using the
> tar.gz.

That's nifty to hear. I was just testing the RPM build on a Mandrake 10
box that Dean had set up, and everything looks like it's working ok.
Does it also work as clean on Mandrake 9? Do we need more explicit
instructions as to when people should use the RPM vs. the tar.gz?

Victor

Jack Coates
2004-06-06, 08:03
> Jack Coates wrote:
>> I can give you access if you like, but there's no need as the RPM works
>> fine on Mandrake. By the errors he was having, I expect he was using the
>> tar.gz.
>
> That's nifty to hear. I was just testing the RPM build on a Mandrake 10
> box that Dean had set up, and everything looks like it's working ok.
> Does it also work as clean on Mandrake 9? Do we need more explicit
> instructions as to when people should use the RPM vs. the tar.gz?
>
> Victor

not 100% sure on 10 as my 10 laptop's hard drive died. The server here is
a 9.2 box with a lot of stuff going on, upgrade will take a while.
--
Jack At Monkeynoodle.Org:
It's A Scientific Venture...

mherger
2004-06-06, 12:20
>> I can give you access if you like, but there's no need as the RPM works
>> fine on Mandrake. By the errors he was having, I expect he was using the
>> tar.gz.
> That's nifty to hear. I was just testing the RPM build on a Mandrake 10
> box that Dean had set up, and everything looks like it's working ok.

Are you sure about that? Did you already have a slimserver running on that
machine? My Mandrake 10 complained about the user/group when installing:

[root@truckli mh]# rpm -Uvh
http://www.slimdevices.com/downloads/nightly/latest/slimserver-2004_06_06-1.noarch.rpm
Retrieving
http://www.slimdevices.com/downloads/nightly/latest/slimserver-2004_06_06-1.noarch.rpm
Preparing... ########################################### [100%]
useradd: unknown group slimserver
1:slimserver warning: user slimserver does not exist -
using root
########################################### [100%]
chown: `slimserver.slimserver': invalid user
Point your web browser to http://truckli.jo-sac.ch:/ to configure your
server.

And it's _not_ running after that.

--

Michael

-----------------------------------------------------------
http://www.jo-sac.ch - JO-SAC inoffiziell!
http://www.herger.net/photo - mein kleines Photoalbum