There is a trick that httpd port under 1024 need to run as root initially. (e.g. port=80)
Here's the configuration steps:

1.  #switch to root user by:
     su -

2.  export ORACLE_HOME=/u01/oracle/product/10.2.0/ohs
      cd $ORACLE_HOME/Apache/bin

3.  # Change the .apachectl file owner to root
     #  (be careful for the "." which is a hidden file)
       chown root .apachectl  

4.  chmod 6750 .apachectl

5. Verify the file permission:
      ls -al .apachectl
       -rwsr-s--- 1 root oinstall 18591 Dec 20  2004 .apachectl

6.  Restart OHS:
      su - oracle
     cd /u01/oracle/product/10.2.0/ohs/opmn/bin
     ./opmnctl stopall
     ./opmnctl startall
     

 

文章標籤
全站熱搜
創作者介紹
創作者 DanBrother 的頭像
DanBrother

DanBrother的部落格

DanBrother 發表在 痞客邦 留言(0) 人氣(15)