<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.36">
<TITLE>RE: service COMMAND how to reinstall ??</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----<BR>
From: fedora-list-bounces@redhat.com on behalf of Justin Willmert<BR>
Sent: Wed 12/21/2005 8:12 AM<BR>
To: For users of Fedora Core releases<BR>
Subject: Re: service COMMAND how to reinstall ??<BR>
<BR>
Wong Chin Whei NCS wrote:<BR>
<BR>
> Hi,<BR>
><BR>
> I was wondering the command that we use to see services ..<BR>
><BR>
> e.g. service httpd restart<BR>
> e.g. service --status-all<BR>
><BR>
> which GNU package does it comes from ?<BR>
> how do i reinstall this thing<BR>
><BR>
> Regards<BR>
> Danny Wong<BR>
><BR>
><BR>
><BR>
><BR>
><BR>
Do these steps on your computer. I provide my output as an example.<BR>
<BR>
1) First, find out where 'service' is at.<BR>
        [root@netserv etc]# whereis service<BR>
        service: /sbin/service<BR>
2) Next we query the rpm database for the package that provided it.<BR>
        [root@netserv etc]# rpm -q --whatprovides /sbin/service<BR>
        initscripts-8.11.1-1<BR>
3) Now you should be able to download the initscripts package, and<BR>
reinstall it (try an upgrade, and if that won't work, do an install with<BR>
the --force option)<BR>
<BR>
I did steps 1 and 2 so I know they'll work, but I don't give any<BR>
guarantees about step 3. It should point you in the right direction at<BR>
least.<BR>
<BR>
Hope I helped,<BR>
Justin Willmert<BR>
<BR>
--<BR>
fedora-list mailing list<BR>
fedora-list@redhat.com<BR>
To unsubscribe: <A HREF="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</A><BR>
<BR>
<BR>
THANK YOU SO VERY VERY MUCH.<BR>
<BR>
Regards<BR>
Danny Wong<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>