Link to home
Start Free TrialLog in
Avatar of tooki
tooki

asked on

Restart Apache server

An web server (Apache) is running on a Linux (RedHat9) server. I have root privilege to this server. The web server was running but now it seems not to be running. I cannot get to the web URL to the web server. How can I check from command prompt that the server is running/not running. If not running, how to restart it?
Avatar of mrielf
mrielf

To check:
List running process with "ps ax"

To restart:
/etc/init.d/apache restart
or
/etc/init.d/apache2 restart


ASKER CERTIFIED SOLUTION
Avatar of periwinkle
periwinkle
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tooki

ASKER

apachectl start  
Above command worked for me.
Thanks!
Glad to assist, tooki!