[CentOS] 'service' command not present

pctech at mybellybutton.com pctech at mybellybutton.com
Mon Aug 20 20:56:56 UTC 2007


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.

---------------------------------------------------------

Sorry for the broken webmailer...

Are you performing these actions as root?  A user that does not have root access cannot start services.  You will either need to su to root or sudo the action.

---------------------------------------------------------


-- 
Cheers,
Trey
----
 
Dieters live life in the fasting lane.
 
Linux fedora7.thesizemores.us 2.6.22.1-41.fc7 i686 GNU/Linux
 16:51:36 up 1 day,  5:56,  2 users,  load average: 0.08, 0.02, 0.01
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list