This is for RHEL/Centos6, but should be essentially the same for RHEL5
Code:
which service
/sbin/service
yum provides /sbin/service
initscripts-9.03.31-2.el6.centos.x86_64 : The inittab file and the /etc/init.d
: scripts
Repo : base
Matched from:
Filename : /sbin/service
initscripts-9.03.31-2.el6.centos.x86_64 : The inittab file and the /etc/init.d
: scripts
Repo : installed
Matched from:
Other : Provides-match: /sbin/service
In short you need to
Code:
yum install initscripts
Its extremely unusual for it not to be installed already