How to tell if Apache is running on a Voyager server
- Product: Voyager
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Question
How to tell if Apache is running on a Voyager server?
Answer
SSH to the Voyager server as the voyager user.
Run this command:
ps -ef | grep http
You will see something like this (typically there will be four entries as you see below, if Apache is down there will be none):
root 2258 1 0 01:02 ? 00:00:01 /m1/shared/httpd/2.4.43_2020.07.1/bin/httpd -k start
nobody 2274 2258 0 01:02 ? 00:00:01 /m1/shared/httpd/2.4.43_2020.07.1/bin/httpd -k start
nobody 2275 2258 0 01:02 ? 00:00:02 /m1/shared/httpd/2.4.43_2020.07.1/bin/httpd -k start
nobody 2276 2258 0 01:02 ? 00:00:00 /m1/shared/httpd/2.4.43_2020.07.1/bin/httpd -k start
nobody 4711 2258 0 01:06 ? 00:00:03 /m1/shared/httpd/2.4.43_2020.07.1/bin/httpd -k start
voyager 21630 21581 0 07:42 pts/0 00:00:00 grep --color=auto http
Additional Information
See: How to Properly Restart Voyager, Apache and Tomcat
- Article last edited: 04-Sept-2020