BLACK FRIDAY DEALS

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

Leave review
D

D Smith

Dedicated Semi-Managed Server Review I've been using AYKSolutions for about 2 years now and their su...

Read full review
A

A.L

IL, United States

AYK Solutions has provided me with a very cost effective hosting service with great uptime and lots...

Read full review
M

Mathieu L

MD, United States

I love AYK. been with them for over 5 years and the best ever

Read full review
L

Luis

Thanks for the fast sollution, it was my fault since my original e-mail got somehow bugged and I did...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft