<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff size=2>Hello
Sunil,</FONT></SPAN></DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff size=2>The
forum thread was for display purposes in kernel version when issuing the
<EM>ps()</EM> command + options. Unless your running different kernels
between Web1 and Web2 I don't think it applies to your situation.
</FONT></SPAN></DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff size=2>Did
you get any output in the log files with the 'Debug' option turned
on? Is root kicking off apachectl on both boxes? Only
super-users can use ports <1024. Once the first process kicks off,
<EM>setuid()</EM> to apache.</FONT></SPAN></DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff
size=2><BR>root 17425 1 7
16:47 ? 00:00:00 /usr/sbin/httpd -k
start -DSSL<BR>apache 17426 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17427 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17428 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17429 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17430 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17431 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17432 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL<BR>apache 17433 17425 0 16:47
? 00:00:00 /usr/sbin/httpd -k start
-DSSL</FONT></SPAN></DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=454513100-11032005><FONT face=Arial color=#0000ff
size=2>--Mike. </FONT></SPAN></DIV>
<P align=left><SPAN lang=en-us><I><FONT face=Arial color=#808080
size=2>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.</FONT></I></SPAN></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Sunil Sharma
[mailto:ssunil13@gmail.com] <BR><B>Sent:</B> Thursday, March 10, 2005 4:51
AM<BR><B>To:</B> Sullivan, Michael<BR><B>Cc:</B> 'Red Hat Network Users
List'<BR><B>Subject:</B> Re: [rhn-users] Process information!! Please Guide
Me<BR><BR></FONT></DIV>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
cite=mid0CCE5BBD30D51948AE4D1838AD9F95F6077CD5@ussam233.amer.corp.eds.com
type="cite"><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></BLOCKQUOTE></BODY></HTML>