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
K

kkodev

London, United Kingdom

After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices...

Read full review
C

Craig D

NC, United States

I have had my hosting with AYK since 2006, and it has by far been the best experience I have ever ha...

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
D

Diego

Even though I only have a shared hosting plan, their technical support team responded to my tech sup...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft