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.