Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

apache process to find httpd

Posted on 2011-03-21
1
Medium Priority
?
378 Views
Last Modified: 2012-05-11
Hi Folks,

I have apache running in my testing env. iam trying to figure out which httpd.conf is responsible for apache. so i did
/usr/ucb/ps auxww | grep httpd
minous 6674  0.0  0.0 7528 4216 ?        S   Mar 19  0:07 /apps/tigger/tigger-v1.6.0/bin/httpd.2.0.59-solaris/bin/httpd -f /apps/tigger/tigger-v1.6.0/minous/deployment/apache/conf/httpd.conf -E /apps/tigger/tigger-v1.6.0/minous/deployment/apache/logs/stderr.log -k start -DtiggerProcess=apache

does this mean:
1) httpd.conf file is located at /apps/tigger/tigger-v1.6.0/minous/deployment/apache/conf/httpd.conf ?
2)httpd binary located at apps/tigger/tigger-v1.6.0/bin/httpd.2.0.59-solaris/bin/httpd ?
3) what "-k" means?
4)when i checked the above httpd.conf i found:
ServerRoot "/apps/aqueduct/tigger/tigger-v1.6.0/minous/deployment/apache"

Does this mean apache home is apps/aqueduct/tigger/tigger-v1.6.0/minous/deployment/apache ?
If yes,then why the ps out showing httpd location to different place? or serverroot directive doesnt matter?

Please help
Thank you,
Joe
0
Comment
Question by:jayatallen
1 Comment
 
LVL 12

Accepted Solution

by:
larsrohr earned 1000 total points
ID: 35184157
1. Yes:  the -f filename indicates the configuration file.
2. Yes.
3. The "-k start" indicates the signal sent to httpd.

4. From a typical httpd.conf:
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.

DocumentRoot can be set to something else, and this is where the files are served out of.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question