service : command not found in RHEL 5
service:command not found in RHEL 5..please help
|
You want /etc/init.d/[servicename] command.
For instance for mysql in RHEL 5, Code:
/etc/init.d/mysqld status |
This is for RHEL/Centos6, but should be essentially the same for RHEL5
Code:
which service Code:
yum install initscripts |
Maybe an open door, but are you root when trying to run this command? Normal users do not have access to this command.
|
thnx to all
|
All times are GMT -5. The time now is 05:07 PM. |