You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Owen Boyle <ob...@bourse.ch> on 2001/11/28 14:54:03 UTC
Re: Installation Apache_1.3.22 in Solaris 8
"Ravi Babu D - CTD, Chennai." wrote:
>
> Hello,
>
> I installed Apache1.3.22 with mod_ssl 2.8.5 in Sol8. But strangely, i'm
> not able to start the webserver. In the log its says "[alert] (22)Invalid
> argument: setgid: unable to set group id to Group 4294967295 "
> Can anyone help me.
> Pl.its immediate requirement.
Okay - so this one's an apache query... Sorry!
The answer is that the default setting for the Group directive is "#-1"
(4294967295 = 2^32-1...). Change this to real group name or number and
it should be OK.
BTW - you are user #6 to find this out the hard way...
Rgds,
Owen Boyle.
(PS it was mee who cross-posted this - it's really an apache user's
question. Sorry if anyone gets it twice).
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Group "#-1" trips up new users... What to do?
Posted by Hasanuddin Tamir <ha...@trabas.com>.
On Wed, 28 Nov 2001, Rodent of Unusual Size <Ke...@Golux.Com> wrote,
> Owen Boyle wrote:
> >
> > I suspect there's a bug in the top-level Makefile in 1.3.22. In the
> > install-config target, there's a sed line which goes:
> >
> > sed -e 's;Group #-1;Group $(conf_group);' \
> >
> > where $(conf_group)=nobody. Because of the quotes in the new distro,
> > this doesn't match and the substitution doesn't get made.
> >
> > How do we fix this?
>
> Done. It will appear in the next release of Apache 1.3.*.
> With your name on it, Owen. :-) Nice catch!
That's relief :-)
Thanks Owen, thanks Ken!
san
--
Trabas - http://www.trabas.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Group "#-1" trips up new users... What to do?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Owen Boyle wrote:
>
> I suspect there's a bug in the top-level Makefile in 1.3.22. In the
> install-config target, there's a sed line which goes:
>
> sed -e 's;Group #-1;Group $(conf_group);' \
>
> where $(conf_group)=nobody. Because of the quotes in the new distro,
> this doesn't match and the substitution doesn't get made.
>
> How do we fix this?
Done. It will appear in the next release of Apache 1.3.*.
With your name on it, Owen. :-) Nice catch!
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Group "#-1" trips up new users... What to do?
Posted by Owen Boyle <ob...@bourse.ch>.
Hasanuddin Tamir wrote:
> Gee, should Apache folks do something about the default Group in the conf?
> I think the group "nobody" is pretty standard across Unices?
> I have a bad memory, but I think I remember that nobody is used to be the
> default Group together with User nobody.
I just checked back of recent distros to see what we've been using for
Group before. The out-of-the-box httpd.conf has:
$ grep "^Group" apache*/conf/httpd.conf-dist
apache_1.3.9/conf/httpd.conf-dist:Group #-1
apache_1.3.12/conf/httpd.conf-dist:Group #-1
apache_1.3.14/conf/httpd.conf-dist:Group #-1
apache_1.3.17/conf/httpd.conf-dist:Group #-1
apache_1.3.19/conf/httpd.conf-dist:Group #-1
apache_1.3.22/conf/httpd.conf-dist:Group "#-1"
So all they did with 1.3.22 was put quotes around it... The reason seems
to be that without the quotes, the parser thinks the "#" means there's a
line-end comment and this is not supported.
I just re-compiled and installed 1.3.19 and, although httpd.conf-dist
has "Group #-1", when you install and it copies a new httpd.conf to the
installation directory, you get Group and User = nobody which works fine
on my system (Solaris 2.8).
When I do the same with 1.3.22, the installed httpd.conf has:
Group "#-1"
and I get the setgid error when I try to start.
Otherwise, the comments in the httpd.confs are the same.
I suspect there's a bug in the top-level Makefile in 1.3.22. In the
install-config target, there's a sed line which goes:
sed -e 's;Group #-1;Group $(conf_group);' \
where $(conf_group)=nobody. Because of the quotes in the new distro,
this doesn't match and the substitution doesn't get made.
How do we fix this?
Rgds,
owen Boyle.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Installation Apache_1.3.22 in Solaris 8
Posted by Hasanuddin Tamir <ha...@trabas.com>.
On Wed, 28 Nov 2001, Owen Boyle <ob...@bourse.ch> wrote,
> "Ravi Babu D - CTD, Chennai." wrote:
> >
> > Hello,
> >
> > I installed Apache1.3.22 with mod_ssl 2.8.5 in Sol8. But strangely, i'm
> > not able to start the webserver. In the log its says "[alert] (22)Invalid
> > argument: setgid: unable to set group id to Group 4294967295 "
> > Can anyone help me.
> > Pl.its immediate requirement.
>
> Okay - so this one's an apache query... Sorry!
>
> The answer is that the default setting for the Group directive is "#-1"
> (4294967295 = 2^32-1...). Change this to real group name or number and
> it should be OK.
>
> BTW - you are user #6 to find this out the hard way...
Gee, should Apache folks do something about the default Group in the conf?
I think the group "nobody" is pretty standard across Unices?
I have a bad memory, but I think I remember that nobody is used to be the
default Group together with User nobody.
san
--
Trabas - http://www.trabas.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org