Apache 2.0.54(Worker) installation on RHES not working(Zombie processes on startup)

2005-12-07 Thread siba.dora
Hi,
 
I am trying to install Apache 2.0.54 on RedHat 
enterprise edition, though the Installation is a succes, starting of Apache 
results in lots of zombie processes with no active process.
 
 
Machine Information:
 
uname -a    Linux ex07 
2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686 i686 i386 
GNU/Linux
more /etc/issue    Red Hat 
Enterprise Linux AS release 3 (Taro Update 6)
gcc -v 
    gcc version 3.2.3 20030502 
(Red Hat Linux 3.2.3-20)
 
Installation steps:
a)   ./configure 
\--prefix=/home/shiva/apache2 \--with-mpm=worker 
\--enable-modules=most \--enable-mods-shared=all
 
b) make
c) make install
 
Install is a success.
on starting the server using 
apachectl
I was able to compile and execute the same 
with success of sun solaris
Is there some 
 
[EMAIL PROTECTED] logs]$ ../bin/apachectl start[EMAIL PROTECTED] logs]$ ps -aef | 
grep httpdshiva 8016 1  
0 11:01 ?    00:00:00 
/home/shiva/apache2/bin/httpd -k startshiva 
8017  8016  0 11:01 ?    
00:00:00 /home/shiva/apache2/bin/httpd -k startshiva 
8018  8016  0 11:01 ?    
00:00:00 /home/shiva/apache2/bin/httpd -k startshiva 
8019  8018  0 11:01 ?    
00:00:00 /home/shiva/apache2/bin/httpd -k startshiva 
8020  8016  0 11:01 ?    
00:00:00 /home/shiva/apache2/bin/httpd -k startshiva 
8021  8020  0 11:01 ?    
00:00:00 /home/shiva/apache2/bin/httpd -k startshiva 
8023  8021  0 11:01 ?    
00:00:00 /home/shiva/apache2/bin/httpd -k start
 

I was able to compile and execute the same 
with success of sun solaris.
But in case of RedHatES all the processes 
die.
Is there some installation step/param which is 
incorrect or not mentioned?
 
Any kind of clue would be of great help to 
me.
Thanks in advance.
 
shiva
 
 
 


Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.


make the server not to start in case the Initialization is a failure

2004-09-10 Thread siba.dora

Hi All,

I am trying to write a sample Plugin on APACHE 2.0 which does some
initialization.

I am attaching the code portion for the same.

static void mod_register_hooks(apr_pool_t *p)
{
ap_hook_child_init(mod_init_Child, NULL,NULL, APR_HOOK_FIRST);
ap_hook_check_user_id (mod_auth,NULL,NULL, APR_HOOK_FIRST);

}

module AP_MODULE_DECLARE_DATA sm_mod_auth = {
STANDARD20_MODULE_STUFF,
NULL,   /* create per-dirconfig structures */
NULL,/* merge  per-dirconfig structures */
NULL,   /* create per-server config structures */
NULL,/* merge  per-server config structures */
NULL,/* table of configuration directives   */
mod_register_hooks  /* register hooks */
};



static int mod_init_Child(server_rec* pServerRec, apr_pool_t* pPool)
{
  int nRet = FALSE;
printf("Inside Child Auth Module\n");
  nRet = InitConfigFile(pPool);
  if (nRet == FALSE)
  return FALSE;
  else
return TRUE;
}


How do make the server not to start in case the Initialization is a
failure.
The same used to work on apache 1.3x in case I returned exit(2), but its
not working with apache 2.0.

Any help ???

Thanks in advance



Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.


Installation of Apache 2.0 on Linux with SSL support is failing

2004-09-03 Thread siba.dora


Hi ,

I am trying to install apache 2.0.50 on Linux. Since I read is somewhere
that the current version doesn't require Open ssl. I gave in option

./configure --prefix=/home/siva/apache --enable-so --enable-cg i
--enable-info --enable-rewrite --enable-speling --enable-usertrack
--enable-deflate  --enable-ssl --enable-mime-magic

to configure

and then

make.


The make command is failing saying that it wasn't able to find
libcrypto.


Previously when I was trying to install apache 1.3.X I used to build
open ssl separately and hence the libcrypto used to be there in the root
open ssl folder.

How should I install the same on apache 2.0?

Do I need to build open ssl also ?


Do reply


Thanks in advance

shiva




Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.