OFM相关故障的说明_Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 3648 | 回复: 0   主题: OFM相关故障的说明        下一篇 
yanghui
注册用户
等级:上尉
经验:584
发帖:92
精华:0
注册:2011-12-13
状态:离线
发送短消息息给yanghui 加好友    发送短消息息给yanghui 发消息
发表于: IP:您无权察看 2011-12-13 9:04:41 | [全部帖] [楼主帖] 楼主

Portal Repository One-off Patch does not get Correctly Installed
Applies to:
Portal - Version: 10.1.4.1
This problem can occur on any platform.
Symptoms
-- Problem Statement:
Patch 5912904 - PSE FOR BASE Bug 5762268 ON TOP OF 10.1.4.1 FOR AIX 5L 64BIT (212)
does not install correctly.
The problem that the patch should fix is still there after patch installation. This problem may happen to every Portal Repository one-off patch, so is not specific to the patch above.
-- Steps To Reproduce:
1. Install a Portal Repository one-off patch, i.e:
Patch 5912904 - PSE FOR BASE Bug 5762268 ON TOP OF 10.1.4.1 FOR AIX 5L 64BIT (212)
2. Notice, the problem that the patch should fix is still there.
The following command does list the patch:
opatch lsinventory
However, the following script executed from SQL*Plus logged on as Portal does not show the patch:
spool portal_db_patches.log
set pagesize 9999
set lines 200
select * from wwutl_patch$ order by bugno;
select BUGNO||' - '||TIMESTAMP||' - '||ACTION||' - '||COMMENTS from wwutl_patchlog$ order by timestamp;
spool off
Cause
The connect string was incorrectly specified.
The -c parameter of opatch requires the following format:
hostname:port:service_name
Instead of this format, the following format was specified:
hostname:port:sid
When the connect string is not correct then you do not see the following section in
/.patch_storage/
/Apply*.log:
CMD=./ptlpatch.csh -z P4919270_PATCHBUNDLE.zip -s portal -p
-c .....................................................................
Please set your ORACLE_HOME to your 10.1.2 midtier installation home.
.....................................................................
Your ORACLE_HOME is /disk2/oracle/midtier101202
Your PERL5LIB is /disk2/oracle/midtier101202/perl/lib/site_perl/5.6.1/i686-linux:/disk2/oracle/midtier101202/perl/lib/5.6.1
Welcome to Oracle Portal OneOffPatch Installer Version 3.0
Installing Oneoff
Patch Started at Thu Oct 19 16:56:08 2006
**************************************************************
Mode :INSTALL
Schema :portal
Password :****
SYS Schema :
SYS Password :****
ZipFile :P4919270_PATCHBUNDLE.zip
BugParam :
ConnectString:(DESCRIPTION = (ADDRESS = (PROTOCOL= TCP)(Host= )(Port=
)) (CONNECT_DATA = (SERVICE_NAME = )))
Logfile :patch.log
**************************************************************
Solution
-- To implement the solution, please execute the following steps:
Correct the -c parameter of opatch to the format
hostname:port:service_name
so the opatch command should look like this:
./opatch apply -silent
-pre -s
-p
-c
* The Service Name is normally the same as SID plus the domain appended. So when
SID=asdb
then
SERVICE_NAME=asdb.domain.com
The SERVICE_NAME can often be found in the following file:
/network/admin/tnsnames.ora
* See more information about patch installation in the following note:
Note 279771.1 - OracleAS Portal One-offs Installations Issues


储存库的临时补丁不能正确安装

应用:

这问题可能发生在任何平台

症状

问题状态

Patch 5912904 - PSE FOR BASE Bug 5762268 ON TOP OF 10.1.4.1 FOR AIX 5L 64BIT (212)  不能正确的安装

在打上补丁后这问题仍然存在,这问题可能发生在每个储存库的临时补丁上,因此它没有指定上面所谈到的补丁

问题重现步骤:

1.安装一个储存库临时补丁

Patch 5912904 - PSE FOR BASE Bug 5762268 ON TOP OF 10.1.4.1 FOR AIX 5L 64BIT (212)


2.值得注意的是,这问题仍然存在

以下命令能列出补丁

opatch lsinventory


然而,执行以下脚本不能列出补丁

spool portal_db_patches.log
set pagesize 9999
set lines 200
select * from wwutl_patch$ order by bugno;
select BUGNO||' - '||TIMESTAMP||' - '||ACTION||' - '||COMMENTS from wwutl_patchlog$ order by timestamp;
spool off


原因

连接字符串没有正确指定

opatch 的c参数要求用以下格式:

hostname:port:service_name


取代原来指定的格式:

hostname:port:sid


如果连接字符串不正确,就不能看到以下的部分

/.patch_storage/
/Apply*.log:
CMD=./ptlpatch.csh -z P4919270_PATCHBUNDLE.zip -s portal -p
-c .....................................................................


在安装目录设置 ORACLE_HOME

.....................................................................
ORACLE_HOME :/disk2/oracle/midtier101202
PERL5LIB :/disk2/oracle/midtier101202/perl/lib/site_perl/5.6.1/i686-linux:/disk2/oracle/midtier101202/perl/lib/5.6.1


进入安装页面

安装开始时间:2006.10.19  16:56:08

**************************************************************
Mode :INSTALL
Schema :portal
Password :****
SYS Schema :
SYS Password :****
ZipFile :P4919270_PATCHBUNDLE.zip
BugParam :
ConnectString:(DESCRIPTION = (ADDRESS = (PROTOCOL= TCP)(Host= )(Port=
)) (CONNECT_DATA = (SERVICE_NAME = )))
Logfile :patch.log
**************************************************************


解决方案

执行以下步骤来解决:

将opatch 的c参数的格式改为:hostname:port:service_name

然后opatch 的命令行如下:

./opatch apply -silent
-pre -s
-p
-c


随着域的扩展,服务器的名字通常和SID一样

如果SID=asdb,则SERVICE_NAME=asdb.domain.com

服务器名经常在以下文件中:

/network/admin/tnsnames.ora


用以下注解可以查看更多关于补丁安装的信息:

Note 279771.1 - OracleAS Portal One-offs Installations Issues




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论