You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/06/25 15:04:51 UTC
[BUG]
Digital Unix report.
------- Forwarded Message
Date: Wed, 25 Jun 1997 08:10:57 +0200 (MET DST)
From: Burkhalter Anton <ab...@gfai.ch>
X-Sender: bubu@ssus02
To: apache@apache.org
Subject: apache_1.2.0 on Digital Unix (OSF1)
Message-ID: <Pi...@ssus02>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi all,
I have successfull generated and installed apache 1.2.0 on my Digital Unix
box running OSF1/3.0.
I had some troubles to start the server: /usr/local/etc/httpd/logs/error_log
[Tue Jun 24 18:04:40 1997] setgid: Invalid argument
[Tue Jun 24 18:04:40 1997] - unable to set group id
This is the entry in /etc/passwd:
nobody:*Nologin:65534:65534:anonymous NFS user:/:
The problem comes from the following definitions:
httpd.h:
.
.
#ifndef DEFAULT_USER
#define DEFAULT_USER "#-1"
#endif
#ifndef DEFAULT_GROUP
#define DEFAULT_GROUP "#-1"
#endif
.
.
httpd.conf:
User nobody
Group #-1
==> Digital Unix is a 64bit operating system #-1 is 4294967295
This value is not accepted by the function "setgid"
This is the location in http_main.c:
1434 if (setgid(group_id) == -1) {
1435 log_unixerr("setgid", NULL, "unable to set group id", server_conf);
1436 exit (1);
1437 }
--------------------------------------------------------------------------------
To fix the problem I have modified httpd.conf:
.
User nobody
Group #65534
.
--------------------------------------------------------------------------------
It is maybe not a bad idea to change httpd.h in the following way:
.
.
#ifndef DEFAULT_USER
#define DEFAULT_USER "#65534"
#endif
#ifndef DEFAULT_GROUP
#define DEFAULT_GROUP "#65534"
#endif
.
.
-----
I hope that you can use this information.
Have a nice day,
------------------------------------------------------------------------
| Anton Burkhalter | :-) |
| GfAI Gruppe fuer Angewandte Informatik AG | phone: +41 32 624 3782 |
| Glutz-Blotzheimstrasse 1 | fax : +41 32 623 6534 |
| CH-4503 Solothurn | email: abu@gfai.ch |
------------------------------------------------------------------------
------- End of Forwarded Message