On Tue, Mar 06, 2001 at 04:33:53PM +0100, Torben Nehmer wrote:
> Hi.
> 
>  >> What puzzles me is the fact that I don't get any error message. Apache
> >> just quits. Not even some kind of "caught SIGTERM" log message, which
> >> apachectl stop normally produces.
> > I've experienced a lot things like this one with Apache. Try to run
> > 'gdb httpd' as chroot process. Or even 'strace httpd'.
> strace looks quite normal:
> 
> > ---
> > [...]
> > open("/apache/var/logs/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 3
> > fcntl(3, F_DUPFD, 15)                   = 16
> > close(3)                                = 0
> > chdir("/")                              = 0
> > fork()                                  = 4351
> > munmap(0x40193000, 4096)                = 0
> > _exit(0)                                = ?
> > ---
Aha, now try it with 'follow forks' and other options:
strace -F -k -v -ff -s 64 -o httpd-strace.log httpd

-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
    ALT Linux Team      |    www.alt-linux.org    | Architecte Open Source
-- Youth is a disease from which we all recover.
                -- Dorothy Fuldheim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to