Oracle HTTP Server Fails to Start With "setgid: unable to set group id to Group" Error
Error:
On some systems (it was seen on Solaris), the Group setting is not set as a required group. This is how the User/Group directives appears after a fresh installation and is incorrect:
User oracle
#Group GROUP_TEMPLATE
This how it should be set in order to fix the "setgid: unable to set group id to Group" error:
User oracle
Group oinstall
Important: Ensure the User and Group setting is as installed on your system. The above is an example. Note that you may optionally set the User setting to another user on the system, but must be a member of the Oracle installed group.
Error:
While configuring Oracle HTTP Server to use port 443 or any port less then 1024 on UNIX systems,
OHS would fail to start with the following error.
[2011-09-19T15:31:47.3052-07:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [core.c] [host_id: hostname] [host_addr: XXX.XXX.XXX.XXX] [pid: 15306] [tid: 1] [user: root] [VirtualHost: main] (22)Invalid argument: setgid: unable to set group id to Group 4294967295
[2011-09-19T15:31:47.3292-07:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [core.c] [host_id: hostname] [host_addr: XXX.XXX.XXX.XXX] [pid: 15297] [tid: 1] [user: root] [VirtualHost: main] Child 15306 returned a Fatal error... Apache is exiting!
Cannot bind to port 443 for SSL on Solaris 10
Solution:
User oracle
#Group GROUP_TEMPLATE
This how it should be set in order to fix the "setgid: unable to set group id to Group" error:
User oracle
Group oinstall
Important: Ensure the User and Group setting is as installed on your system. The above is an example. Note that you may optionally set the User setting to another user on the system, but must be a member of the Oracle installed group.
Location : $FMW_HOME/webtier/instances/EBS_web_TWO_TASK_OHS1/config/OHS/EBS_web_TWO_TASK/httpd.conf