Re: 'service' command not present

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



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


-- 

rgds
Stephen
_______________________________________________
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