Around 09:56pm on Monday, August 20, 2007 (UK time), [EMAIL PROTECTED] scrawled:

> 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.

How did you change to root?  If you used "su", rather than "su -", you
will not have root's path ingormation and will need to type the full
path: "/sbin/service...".  It would be better to do "su -", which gives
you a full rott environment.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 10:33:12 up 16 days, 22:57,  1 user,  load average: 0.00, 0.03, 0.03

Attachment: pgpXSRxDyZQdn.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to