Solved

apache process to find httpd

Posted on 2011-03-21
1
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
larsrohr earned 250 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.

749 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