最近在项目中配置Single sign-on(SSO),用到WebTier,安装比较简单,参照官方文档即可。
总结下安装和配置中遇到的一些问题:
1、在WebTier安装中遇到错误:
原因是之前有卸载或不正常操作造成entry遗留。
解决办法:
删除对应的entry即可。
[i]这个问题也可能出现在其他的软件安装中,如Oracle Weblogic , Oracle SOA等,解决方法同上。[/i]
2、在执行opmnctl命令时出现如下错误:
Most probably caused by the security extension SeLinux. SeLinux is active in newer Linux distributions with 2.6. kernels. SeLinux changes some system default behaviour, including the shared library loading.
Solution:
Add the line
and restart the host.
3、如果主机的域名做了更改,但在weblogic em中的OHS/Webcache的主机域名还是没有变化,这个时候需要在weblogic AdminServer上重新注册webtier,使用命令如下:
运行完后,重新登录EM,则WebTier的主机域名已经更改了,可以在EM中管理WebTier。
4、添加或卸载instances
添加:
卸载:
附件是WebTier11gR1.pdf,一个浅显而全面的WebTier介绍。
The web tier is:
– Responsible for interacting with the end user
• Primarily in the forms of HTTP requests and responses
– The outermost tier in the application server
• Oracle Web Tier comprises of two components:
– Oracle Web Cache
• A content-aware server accelerator, secure reverse proxy
server that improves the performance, scalability, and
availability of web sites
– Oracle HTTP Server
• Apache based web server that provides a HTTP listener for
Oracle WebLogic Server and the framework for hosting static
pages, dynamic pages, and applications over the web总结下安装和配置中遇到的一些问题:
1、在WebTier安装中遇到错误:
error:An oracle home with name already exists at location原因是之前有卸载或不正常操作造成entry遗留。
解决办法:
vim $ORACLE_WT/inventory/ContentsXML删除对应的entry即可。
[i]这个问题也可能出现在其他的软件安装中,如Oracle Weblogic , Oracle SOA等,解决方法同上。[/i]
2、在执行opmnctl命令时出现如下错误:
Error: cannot restore segment prot after reloc: Permission denied
Error: modload: /usr/local/aw/bin/libarchdev.so:
couldn't load file "/usr/local/aw/bin/libarchdev.so":
/usr/local/aw/bin/libarchdev.so: cannot restore segment prot after reloc:
Permission denied
Fatal: modload: failed to load module '/usr/local/aw/bin/libarchdev.so'Most probably caused by the security extension SeLinux. SeLinux is active in newer Linux distributions with 2.6. kernels. SeLinux changes some system default behaviour, including the shared library loading.
Solution:
vim /etc/sysconfig/selinuxAdd the line
SELINUX=disabledand restart the host.
3、如果主机的域名做了更改,但在weblogic em中的OHS/Webcache的主机域名还是没有变化,这个时候需要在weblogic AdminServer上重新注册webtier,使用命令如下:
$ORACLE_WT/instances/instance1/bin/opmnctl updateinstanceregistration运行完后,重新登录EM,则WebTier的主机域名已经更改了,可以在EM中管理WebTier。
4、添加或卸载instances
添加:
Web_Tier_ORACLE_HOME/bin/config.sh卸载:
Web_Tier_ORACLE_HOME/oui/bin/runInstaller -deinstall附件是WebTier11gR1.pdf,一个浅显而全面的WebTier介绍。
本文档详细介绍了Oracle WebTier的安装过程,并记录了安装及配置中可能遇到的问题及其解决方案,包括处理已存在的Oracle Home错误、解决opmnctl命令权限问题、更新WebLogic EM中的WebTier主机域名及实例的添加与卸载。
5042

被折叠的 条评论
为什么被折叠?



