Re: 'service' command not present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon Aug 20, 2007 04:57PM, Stephen Harris wrote:
> On Mon, Aug 20, 2007 at 04:54:11PM -0400, Trey Sizemore wrote:
> > I just did an install of CentOS 5 on one of my machines.  However, when
> > I try to use the 'service' command (such as 'service httpd start') I get
> > an error that the service command is not found.
> > 
> > Why would that be?  Where does this command come from?  I can launch
> > the services just fine using the respective /etc/init.d/ entries.
> 
> /sbin/service   (from initscripts)
> 
> Either type the full command line or make sure it's on your PATH
> 
> eg
> sudo /sbin/service httpd start
> 
> 

Thanks to both of you!.  That did the trick.

-- 
Cheers,
Trey
----
 
I'D LIKE TO BE BURIED INDIAN-STYLE, where they put you up on a high rack,
above the ground.  That way, you could get hit by meteorites and not even
feel it.
		-- Jack Handley, The New Mexican, 1988.
 
Linux fedora7.thesizemores.us 2.6.22.1-41.fc7 i686 GNU/Linux
 17:02:48 up 1 day,  6:07,  2 users,  load average: 0.00, 0.00, 0.00
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux