Solved

apache process to find httpd

Posted on 2011-03-21
1
369 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Post form data to PHP then to 3rd party site 19 42
Google Crawl Errors Producing 404 Errors 4 83
Hosting application in Apache and Tomcat 1 104
PHP Error Settings 12 81
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…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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