httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: WWW Form Bug Report: "apache forks endlessly" on AIX3.2.5
Date Mon, 29 Apr 1996 15:18:23 GMT

Hi,

thanks for the info and patch.

regard,s
rob

>Submitter: grossm@rcs.urz.tu-dresden.de
>Operating system: AIX3.2.5, version: 1.1b2
>Version of Apache Used: 
>Extra Modules used: 
>URL exhibiting problem: 
>
>Symptoms:
>--
>Apache forks endlessly. The reason is, that the
>scoreboard file is created by root and the childs
>couldn't read it (count_idle_servers() & Co. always
>return 0. My quick hack changes ownership of new 
>scoreboard file:
>
>*** http_main.c.orig    Thu Apr 18 15:00:11 1996
>--- http_main.c Mon Apr 29 16:58:48 1996
>***************
>*** 607,612 ****
>--- 607,619 ----
>        perror (scoreboard_fname);
>        exit (1);
>      }
>+     /* give user permission to read/write scoreboard */
>+     if ( fchown(scoreboard_fd, user_id, group_id) ){
>+       fprintf(stderr, "Cannot chown scoreboard file to %d/%d:\n", user_id,
>+             group_id);
>+       perror(scoreboard_fname);
>+       exit(1);
>+     }
>  
>      memset ((char*)scoreboard_image, 0, sizeof(scoreboard_image));
>      force_write (scoreboard_fd, (char*)scoreboard_image,
>
>I can't completly understand why it works with 
>other OS but I assume it's a AIX security feature ;-)
>
>Olaf
>--
>
>Backtrace:
>--
>
>--

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.

Mime
View raw message