<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Hello Mike<br>
<br>
Thanks for you reply<br>
<br>
On the both the server user setting is same. I mean user id and group
id is same. <br>
<br>
I mean I added  user with the same userid on it (groupadd -g 532
apache; useradd -u 532 -g apache apache)<br>
<br>
I download the source from httpd.apache.org and and compiled it. with
the same option on both the server.<br>
following is the option i selected on the both server while install
apache<br>
./configure --prefix=/home/sunil/apache<br>
--enable-suexec \<br>
--enable-module=so \<br>
--with-mpm=prefork \<br>
--disable-mime \<br>
--enable-mods-shared=mime \<br>
--enable-mods-shared=userdir<br>
<br>
<br>
I done the syntax check and it is OK.<br>
<br>
Mike can you have look on this below link he is quite having the same
problem <br>
<br>
<a class="moz-txt-link-freetext" href="http://www.issociate.de/board/post/28842/Process_information?.html">http://www.issociate.de/board/post/28842/Process_information?.html</a><br>
<br>
<br>
Thanks <br>
<br>
<br>
<br>
Sullivan, Michael wrote:<br>
<blockquote type="cite"
 cite="mid0CCE5BBD30D51948AE4D1838AD9F95F6077CD5@ussam233.amer.corp.eds.com">
  <pre wrap="">Hello Sunil,

Who owns the daemons on Web1 and Web2? Are the entries in /etc/passwd and
/etc/group the same for the user/group apache?  When you installed apache
did you use the default install from the OS, install from rpm, or install
source and compile?...on both boxes.  Run the 'apachectl -t' or 'apachectl
configtest' command to verify the syntax of your config files are correct.
Modify your /etc/httpd/conf/httpd.conf file and change the 'LogLevel' to
Debug to capture errors to the error log, then stop and restart your
daemons.  I would then parse the log for info.  This may help in identifying
what's not starting.  

--Mike. 

CONFIDENTIALITY NOTICE:  This email from EDS is for the sole use of the
intended recipient and may contain confidential and privileged information.
Any unauthorized review or use, including disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender and destroy all copies of the email.


-----Original Message-----
From: Sunil Sharma [<a class="moz-txt-link-freetext" href="mailto:ssunil13@gmail.com">mailto:ssunil13@gmail.com</a>] 
Sent: Wednesday, March 09, 2005 5:10 AM
To: Sullivan, Michael
Cc: 'Red Hat Network Users List'
Subject: Re: [rhn-users] Process information!! Please Guide Me


Hello Mike

Thanks for you reply :)

First of all I am not starting the httpd service at any  run level

I start manualy when system boots up.

I am using apachectl script to start the httpd service. which comes with 
apache souce.

httpd.conf is same expect IP address on both the web server..

I copied it from web1 to web2  because, on both the server I am running 
same site.

I installed same version of  apache from souce on both the web server.

Both system are having the same OS version (Redhat 9) except the 
kernerlversion.
And logs are shown normal entries and are same on both the servers

Following is the details of both the server

Apaceh version = Apache/2.0.49

---------------------------------------------------
#> httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
---------------------------------------------------

 /usr/local/apache/bin/httpd -V
Server version: Apache/2.0.49
Server built:   Sep 13 2004 01:20:57
Server's Module Magic Number: 20020903:7
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache"
 -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"



Thanks




Sullivan, Michael wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Sunil,

Are there any differences in the init.d scripts between the boxes?  Are 
you calling out a run level script at boot up (i.e. rc3.d, chkconfig 
--list httpd)?  Web1 is starting correctly and Web2 looks like it's 
spawning child processes off of the parent process.  Are you calling 
'apachectl' or 'httpd' to kick off the daemons?  Verify that all the 
proper modules are compiled for apache: apachectl -l

Is there information useful in your /var/log/boot.log, messages or 
/var/log/httpd/*?  Also check root's mail and look through the 
"LogWatch" for any discrepancies.  I would also look at system 
differences between the boxes, like the httpd.conf files, version 
differences with the rpm's, things like that.

Good Luck!!!

--Mike.

CONFIDENTIALITY NOTICE:  This email from EDS is for the sole use of the 
intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution is prohibited.  If you are not the intended recipient, 
please contact the sender and destroy all copies of the email.


-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:rhn-users-bounces@redhat.com">rhn-users-bounces@redhat.com</a> 
[<a class="moz-txt-link-freetext" href="mailto:rhn-users-bounces@redhat.com">mailto:rhn-users-bounces@redhat.com</a>] On Behalf Of Sunil Sharma
Sent: Tuesday, March 08, 2005 2:25 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:rhn-users@redhat.com">rhn-users@redhat.com</a>
Subject: [rhn-users] Process information!! Please Guide Me


Hello Friends

I have two web servers(web1 and web2), both are Redhat 9

Following is the details

For web1
[root@web1 sunil]# uname -r
2.4.20-6smp
--------------------------------
For web2
[sunil@web2 sunil]$ uname -r
2.4.20-8smp

When I run "ps ax | grep httpd " on web1 following is the result

15281 ?        S      0:04 /usr/local/apache/bin/httpd -k start -DSSL
15328 ?        S      0:41 /usr/local/apache/bin/httpd -k start -DSSL
15331 ?        S      0:39 /usr/local/apache/bin/httpd -k start -DSSL
15332 ?        S      0:39 /usr/local/apache/bin/httpd -k start -DSSL
15335 ?        S      0:40 /usr/local/apache/bin/httpd -k start -DSSL
15338 ?        S      0:40 /usr/local/apache/bin/httpd -k start -DSSL
15342 ?        S      0:44 /usr/local/apache/bin/httpd -k start -DSSL

and when I ran same on web2

7373 ?        S      0:01 /usr/local/apache/bin/httpd -k start -DSSL
 7412 ?        S      0:04 [httpd]
 7413 ?        S      0:05 [httpd]
 7414 ?        S      0:05 [httpd]
 7416 ?        S      0:05 [httpd]
 7418 ?        S      0:05 [httpd]
 7419 ?        S      0:05 [httpd]
 7420 ?        S      0:05 [httpd]
 7421 ?        S      0:05 [httpd]
 7422 ?        S      0:05 [httpd]

Why this is happening? Did I missed out any configuration?
Can anybody guide me regarding this?

Thanks in Advance

 

    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Good Luck!

Sunil Sharma
</pre>
</body>
</html>