XK0-001 · Question #129
A customer calls the support desk and complains that her company's Web server is not responding to requests from Web clients. When asked about recent work done on the machine, she responds that the…
The correct answer is B. Stop the Web server by using "killall httpd" and restart it using "/usr/sbin/httpd". See the full explanation below for the reasoning.
Question
A customer calls the support desk and complains that her company's Web server is not responding to requests from Web clients. When asked about recent work done on the machine, she responds that the server has not been reconfigured recently and normally performs without problems. A process list on the machine gives the following results:
PID TTY STAT TIME COMMAND 1 ? S 0:04 init 444 ? S 0:00 /usr/sbin/automount --timeout 60 /misc file /etc/auto.misc 462 ? S 0:00 /usr/sbin/automount --timeout 60 /net yp auto.net 526 ? S 0:00 syslogd -m 0 579 ? S 0:00 crond 595 ? S 0:00 xinetd -reuse -pidfile /var/run/xinetd.pid 635 ? SW 0:00 [lockd] 636 ? SW 0:00 [rpciod] 646 ? S 0:00 rpc.statd 796 ? S 0:00 gpm -t ps/2 814 ? S 0:00 httpd-perl -f /etc/httpd/conf/httpd-perl.conf 955 ? S 0:00 httpd 956 ? S 0:00 httpd 957 ? S 0:00 httpd 958 ? S 0:00 httpd 1080 tty1 S 0:00 /sbin/mingetty tty1 1081 tty2 S 0:00 /sbin/mingetty tty2 1100 ? S 0:00 -:0 1700 pts/1 S 0:00 su 1704 pts/1 S 0:00 bash 1721 pts/1 R 0:00 ps -x What is the best way to resolve this issue?
Options
- AUse "/usr/sbin/httpd -r" to restart the Web server.
- BStop the Web server by using "killall httpd" and restart it using "/usr/sbin/httpd".
- CExamine the httpd module list in /etc/httpd/modules/httpd.exp for incompatibilities.
- DStop the Web server by using "kill -9 <pid>" and run fsck to make sure the /home/httpd partition
How the community answered
(50 responses)- A18% (9)
- B70% (35)
- C4% (2)
- D8% (4)
Community Discussion
No community discussion yet for this question.