Oracle HTTP Server Installation On Linux
Oracle HTTP Server Installation On Linux
Page 1
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Page 13
Page 14
Page 15
Page 16
Page 17
Page 18
Page 19
Post-Install Checks
If you would like to change the port after the installation, edit$ORACLE_INSTANCE/config/OHS/<component_name>/httpd.conf and change the listen port. If the listen port is less than 1024, then you need to set uid for root on .apachectl. In Unix, ports less than 1024 requires root privileges. If set uid is not set for .apachectl, you would see the following error messages:
/oracle/middleware/ohs/ohs/bin/apachectl startssl: execing httpd [Wed Nov 30 18:58:17 2011] [warn] Errors will be logged into /oracle/middleware/instances/ohs/diagnostics/logs/OHS/ohs1/ohs1.log [OHS11g@oam10 ~]$cat /oracle/middleware/instances/ohs/diagnostics/logs/OHS/ohs1/ohs1.log [2011-11-30T18:58:15.8385-05:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host_id: oam10.freeoraclehelp.com] [host_addr: 192.168.1.69] [pid: 31982] [tid: 3086771936] [user: oracle] [VirtualHost: main] (13)Permission denied: make_sock: could not bind to address [::]:80 [2011-11-30T18:58:15.8385-05:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host_id: oam10.freeoraclehelp.com] [host_addr: 192.168.1.69] [pid: 31982] [tid: 3086771936] [user: oracle] [VirtualHost: main] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 [2011-11-30T18:58:15.8386-05:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c] [host_id: oam10.freeoraclehelp.com] [host_addr: 192.168.1.69] [pid: 31982] [tid: 3086771936] [user: oracle] [VirtualHost: main] no listening sockets available, shutting down [2011-11-30T18:58:15.8386-05:00] [OHS] [ERROR:32] [OHS-9999] [worker.c] [host_id: oam10.freeoraclehelp.com] [host_addr: 192.168.1.69] [pid: 31982] [tid: 3086771936] [user: oracle] [VirtualHost: main] Unable to open logs [OHS11g@oam10 ~]$
Page 20
[root@oam10 bin]# ls -l .apachectl -rwsr-s--- 1 root oinstall 465658 Oct 27 2009 .apachectl [root@oam10 bin]#
Page 21