• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Oracle http server installation on linux
 

Oracle http server installation on linux

on

  • 625 views

Oracle http server installation on linux

Oracle http server installation on linux

Statistics

Views

Total Views
625
Views on SlideShare
625
Embed Views
0

Actions

Likes
0
Downloads
17
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Oracle http server installation on linux Oracle http server installation on linux Document Transcript

    • ORACLE HTTP SERVER INSTALLATION ON LINUX PREPARED BY RAVI KUMAR LANKE Page 1
    • PREPARED BY RAVI KUMAR LANKE Page 2
    • PREPARED BY RAVI KUMAR LANKE Page 3
    • PREPARED BY RAVI KUMAR LANKE Page 4
    • PREPARED BY RAVI KUMAR LANKE Page 5
    • PREPARED BY RAVI KUMAR LANKE Page 6
    • PREPARED BY RAVI KUMAR LANKE Page 7
    • PREPARED BY RAVI KUMAR LANKE Page 8
    • PREPARED BY RAVI KUMAR LANKE Page 9
    • PREPARED BY RAVI KUMAR LANKE Page 10
    • PREPARED BY RAVI KUMAR LANKE Page 11
    • PREPARED BY RAVI KUMAR LANKE Page 12
    • PREPARED BY RAVI KUMAR LANKE Page 13
    • PREPARED BY RAVI KUMAR LANKE Page 14
    • PREPARED BY RAVI KUMAR LANKE Page 15
    • PREPARED BY RAVI KUMAR LANKE Page 16
    • PREPARED BY RAVI KUMAR LANKE Page 17
    • PREPARED BY RAVI KUMAR LANKE Page 18
    • PREPARED BY RAVI KUMAR LANKE 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 ~]$ 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
    • [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