Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

General Server Questions

If you are not able to use the 'service' command (ie service httpd restart), then you need to add an alias so it gets recognized. Run the following commands as root via ssh:
 

Code:

whereis service

That will show you the path your service command has whether or not it is installed. After you get the correct path, run the following:
 

Code:

alias service='/sbin/service'

Most likely the path is /sbin/service but if the whereis command shows a different one, use that in the above command.

See What Our Customers Say