Solved

apache process to find httpd

Posted on 2011-03-21
1
359 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 250 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now