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
G

George S

AYKsolutions - best solution for small/high business I have several plans with them and i can sleep...

Read full review
J

Jahanzeb

Punjab, Pakistan

Simply the best. have been using them from last 2 years. Remember Dedicated servers are hardware so...

Read full review
S

seoSpaceship.com

NC, United States

AYK Solutions offers unmatched top tier support. They have gone above and beyond time and time agai...

Read full review
P

Pierre

QC, Canada

My first experience with VPS and I din't really know what to do or what to expect. AykSolutions.com...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft