Received: (from majordom@localhost) by hyperreal.com (8.8.5/8.8.5) id GAA27546; Wed, 25 Jun 1997 06:05:34 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp0-sierra.zyzzyva.com [208.214.59.46]) by hyperreal.com (8.8.5/8.8.5) with ESMTP id GAA27539 for ; Wed, 25 Jun 1997 06:05:30 -0700 (PDT) Received: from sierra (localhost [127.0.0.1]) by sierra.zyzzyva.com (8.8.5/8.8.2) with ESMTP id IAA18798 for ; Wed, 25 Jun 1997 08:04:51 -0500 (CDT) Message-Id: <199706251304.IAA18798@sierra.zyzzyva.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: new-httpd@apache.org Subject: [BUG] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 25 Jun 1997 08:04:51 -0500 From: Randy Terbush Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Digital Unix report. ------- Forwarded Message Date: Wed, 25 Jun 1997 08:10:57 +0200 (MET DST) From: Burkhalter Anton X-Sender: bubu@ssus02 To: apache@apache.org Subject: apache_1.2.0 on Digital Unix (OSF1) Message-ID: 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