tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Apache dso problems on V5.1
@ 2001-04-20  0:05 Martin del Campo, Enrique
  0 siblings, 0 replies; only message in thread
From: Martin del Campo, Enrique @ 2001-04-20  0:05 UTC (permalink / raw)
  To: tru64-unix-managers

Hello 

I have compiled a dso version of apache 1.3.14 on V5.1 which runs smoothly
without my module for apache. In fact, it runs smoothly in single process
mode with our module. But in multi-process mode ( normal ) all the child
processes exit, and leave the parent hanging. 

I have looked at the error logs which show nothing of interest, - an unclean
shutdown error which is due to me killing the hanging parent process.

I've run apache under trace which shows that when apache goes to fork it's
children it never execs the httpd process. The following is a portion of the
trace files I generated with my module, and without:

Without :

[473079]: close (8) = 0
[473079]: syscall_224 () = -1, Errno 2 (No such file or directory)
[473079]: fork () = 473080
Tracing process /proc/473080
473080
[473079]: sigprocmask (SIG_BLOCK, {SIGINT}, ) = 0, [ , ,
{SIGILL|SIGABRT|SIGEMT|
SIGKILL|SIGBUS|SIGSEGV|SIGPIPE|SIGALRM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHL
D|SI
GTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO}]
[473080]: sigaction (SIGTERM, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGALRM, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGPIPE, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGSYS, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGBUS, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGFPE, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGEMT, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGABRT, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGTRAP, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGILL, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGQUIT, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGINT, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: sigaction (SIGHUP, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473080]: execve ("/home1/ecampo/dev/apacheservers/dso/apache/bin/httpd",
0x1203
0, 0x12040) = 0
[473080]: getpagesize () = 8192
----------------------------------------------------------------------------
-----------------------------------------------------------
With my module:

[473039]: close (8) = 0
[473039]: syscall_224 () = 0
[473039]: pipe (0x11fffb6b0) = 8
[473039]: link ("/tmp/sh4730390", "/tmp/sh4730391") = 0
[473039]: fork () = 473067
[473039]: close (9) = 0
Tracing process /proc/473067
473067
[473067]: sigaction (SIGTERM, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGALRM, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGPIPE, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGSYS, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGBUS, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGFPE, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGEMT, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGABRT, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGTRAP, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGILL, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGQUIT, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGINT, {{0x12000b500,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: sigaction (SIGHUP, {{0x12000a010,0x0,0}}, 0x0) = 0, [ , , NULL ]
[473067]: close (8) = 0
[473067]: dup2 (9, 1) = 1
[473067]: close (9) = 0
[473067]: access ("./cat", X_OK) = -1, Errno 2 (No such file or directory)
[473067]: access ("/usr/users/ecampo/bin/cat", X_OK) = -1, Errno 2 (No such
file
 or directory)

----------------------------------------------------------------------------
-------------------------------------------------
With my module the syscall_224 returns 0, and then apache never execs httpd.

I'm wondering if anyone has tried to compile apache 1.3.14 on V5.1 and if
so, if you've encountered any similar problems.

Thanks,

Enrique

Enrique Martin del Campo				
Software Engineer
Securant Technologies
ecampo@securant.com 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-20  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-20  0:05 Apache dso problems on V5.1 Martin del Campo, Enrique

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox