Well.. on most unix systems I believe, you wont get a program to bind to a port
number
that's under 1024 unless the program is being run by root.
The other ports are open to any user.
-Dave
----- Original Message -----
From: "Amalan, S" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Wednesday, April 05, 2006 10:43 AM
Subject: RE: [EMAIL PROTECTED] RE: failure notice
Not to interrupt an on-going discussion, but I am interested in the
user/group requirements for Apache as well.
I didn't see anywhere on the Apache website for installation steps that
one needs to be root in order to start or run the Apache server, but I
have heard it from others. So which way is it?
I have been able to install and run Apache as a regular user with no
root privileges, which is what confuses me when some say the user needs
be root.
Can anyone explain the requirements for me?
Thanks much.
Amalan
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 01, 2006 8:43 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] RE: failure notice
Do you have the User and Group directives set in your
httpd.conf file?
Eg
User wwwrun
Group nogroup
Apache will initially start as root user and bind to
port 80, then switch to running as the specified user and
group.
The group and user need to be valid system accounts on your
server.
You will need to set the permissions of the files you want
apache to serve as this user and group as well.
I'm not sure about DAV, as I do not use this.
The problem may also be with DAV user and group permissions
as well.
See if you can disable DAV and get Apache running first
without it. Once you have apache running OK, enable the DAV
module and see if that works ok then.
HTH
Keith
On Fri, 31 Mar 2006, ws wrote:
To: users@httpd.apache.org
From: ws <[EMAIL PROTECTED]>
Subject: [EMAIL PROTECTED] Aache 2.0.55 won't start
Please help.Apache 2.0.55 on Solaris 2.9 won't start with
the following error: [Sat Apr 01 15:26:39 2006] [notice]
Digest: done [Sat Apr 01 15:26:39 2006] [info]
mod_unique_id: using ip addr 158.77.55.107 [Sat Apr 01
15:26:40 2006] [warn] pid file
/usr/local/apache2/logs/httpd.pid overwritten -- Unclean
shutdown of previous Apache run? [Sat Apr 01 15:26:40
2006] [alert] (22)Invalid argument: setgid: unable to set
g roup id to Group 4294967295 [Sat Apr 01 15:26:40 2006]
[alert] (22)Invalid argument: setgid: unable to set group
id to Group 4294967295 [Sat Apr 01 15:26:40 2006] [alert]
(22)Invalid argument: setgid: unable to set g roup id to
Group 4294967295 [Sat Apr 01 15:26:40 2006] [alert]
(22)Invalid argument: setgid: unable to set g roup id to
Group 4294967295 [Sat Apr 01 15:26:40 2006] [notice]
Apache/2.0.55 (Unix) DAV/2 configured -- resuming normal
operations [Sat Apr 01 15:26:40 2006] [info] Server built:
Nov 22 2005 20:33:01 [Sat Apr 01 15:26:40 2006] [debug]
prefork.c(956): AcceptMutex: fcntl (default: fcntl) [Sat
Apr 01 15:26:40 2006] [alert] (22)Invalid argument:
setgid: unable to set group id to Group 4294967295 [Sat
Apr 01 15:26:41 2006] [alert] Child 5639 returned a Fatal
error... Apache i s exiting!
Thank you
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]