service: command not found
I did service httpd status to check if I need to install Apache or not. I got this :
Code:
username@server [/]# service httpd status |
Try
Code:
username@server [/]# /sbin/service httpd status |
Simple you used 'su' and not 'su -'....... please read 'man su' without the single quotemarks for the details.
When you use 'su' you inherit the users pathing, using 'su -' gives you (root) root's pathing. Try; /sbin/service httpd status |
Thanks - it worked.
|
All times are GMT -5. The time now is 06:59 AM. |