You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Nigel Reed <ni...@rsn.hp.com> on 1997/12/16 19:08:13 UTC
config/1561: Apache will not run with negative group id.
>Number: 1561
>Category: config
>Synopsis: Apache will not run with negative group id.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Tue Dec 16 10:10:00 PST 1997
>Last-Modified:
>Originator: nigelr@rsn.hp.com
>Organization:
apache
>Release: 1.2.4
>Environment:
HP-UX hpsl B.10.20 A 9000/712 2008928047 two-user license
Reading specs from /opt/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.7.2.1/specs
gcc version 2.7.2.1
>Description:
hpux comes with a default nogroup
nogroup:*:-2:
however, Apache will not run with negative group number.
giving the following in the error_log file
[Tue Dec 16 11:59:17 1997] setgid: Invalid argument
[Tue Dec 16 11:59:17 1997] - unable to set group id
>How-To-Repeat:
You would need to run Apache on hpux to repeat.
>Fix:
Either add comments to httpd.conf explaining the user/group ID needs to be
a positive number, add the information into the FAQ under "setgid: Invalid argument"
or create httpd.conf dynamically during the Configure process so that reaonsable
defaults are chosen for each OS
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]