Your SlideShare is downloading. ×
Oracle http server installation on linux
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Oracle http server installation on linux

711
views

Published on

Oracle http server installation on linux

Oracle http server installation on linux


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
711
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ORACLE HTTP SERVER INSTALLATION ON LINUX PREPARED BY RAVI KUMAR LANKE Page 1
  • 2. PREPARED BY RAVI KUMAR LANKE Page 2
  • 3. PREPARED BY RAVI KUMAR LANKE Page 3
  • 4. PREPARED BY RAVI KUMAR LANKE Page 4
  • 5. PREPARED BY RAVI KUMAR LANKE Page 5
  • 6. PREPARED BY RAVI KUMAR LANKE Page 6
  • 7. PREPARED BY RAVI KUMAR LANKE Page 7
  • 8. PREPARED BY RAVI KUMAR LANKE Page 8
  • 9. PREPARED BY RAVI KUMAR LANKE Page 9
  • 10. PREPARED BY RAVI KUMAR LANKE Page 10
  • 11. PREPARED BY RAVI KUMAR LANKE Page 11
  • 12. PREPARED BY RAVI KUMAR LANKE Page 12
  • 13. PREPARED BY RAVI KUMAR LANKE Page 13
  • 14. PREPARED BY RAVI KUMAR LANKE Page 14
  • 15. PREPARED BY RAVI KUMAR LANKE Page 15
  • 16. PREPARED BY RAVI KUMAR LANKE Page 16
  • 17. PREPARED BY RAVI KUMAR LANKE Page 17
  • 18. PREPARED BY RAVI KUMAR LANKE Page 18
  • 19. PREPARED BY RAVI KUMAR LANKE Page 19
  • 20. 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 ~]$ So, set the permissions as below: cd $ORACLE_HOME/Apache/Apache/bin chown root .apachectl chmod 6750 .apachectl [root@oam10 Response]# cd /oracle/middleware/ohs/ohs/bin [root@oam10 bin]# ls -l .apachectl -rwxr-x--- 1 oracle oinstall 465658 Oct 27 2009 .apachectl [root@oam10 bin]# chown root .apachectl [root@oam10 bin]# chmod 6750 .apachectl PREPARED BY RAVI KUMAR LANKE Page 20
  • 21. [root@oam10 bin]# ls -l .apachectl -rwsr-s--- 1 root oinstall 465658 Oct 27 2009 .apachectl [root@oam10 bin]# Startup and Shutdown Start or Stop of Oracle HTTP Server is managed by opmnctl. Make sure that environment is sourced right before calling opmnctl stopall or startall or status. [oracle@oam10 ~]$ cat ohs.env ORACLE_HOME=/oracle/middleware/ohs ; export ORACLE_HOME ORACLE_INSTANCE=/oracle/middleware/instances/ohs ; export ORACLE_INSTANCE TNS_ADMIN=$ORACLE_HOME/network/admin ; export TNS_ADMIN PATH=$ORACLE_HOME/bin:$ORACLE_INSTANCE/bin:$PATH:. ; export PATH export PS1="[OHS11g@h W]$" alias p='sqlplus "/ as sysdba" ' [oracle@oam10 ~]$ . ./ohs.env [OHS11g@oam10 ~]$opmnctl stopall opmnctl stopall: stopping opmn and all managed processes... [OHS11g@oam10 ~]$opmnctl startall opmnctl startall: starting opmn and all managed processes... [OHS11g@oam10 ~]$opmnctl status Processes in Instance: ohs_instance ---------------------------------+--------------------+---------+--------ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------ohs1 | OHS | 32763 | Alive [OHS11g@oam10 ~]$ PREPARED BY RAVI KUMAR LANKE Page 21