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

Applying a portal patch with OPATCH returns ERROR:Invalid Portal Connect Info ,cannot proceed with the installation
Applies to:
Portal - Version: 10.1.2.0 to 10.1.4.1
This problem can occur on any platform.
Symptoms
While applying a portal patch using opatch you get the following error:
ERROR:Invalid Portal Connect Info ,cannot proceed with the installation
...
Pre-patch script error
ERROR: OPatch failed because of problems with pre-patch script.
Cause
* The connect string provided to opatch is not correct.
* The connect string should be in the following format:
:
:
Solution
1. Get the portal schema password.
You can use oidadmin to get the portal schema password using the following documentation:
Oracle Application Server Administrator's Guide 10g Release 2 (10.1.2)
6.3.1 Viewing OracleAS Metadata Repository Schema Passwords using Oracle Directory Manager
Take note of the Portal schema password for use when applying the patch.
2. Confirm you can connect to sqlplus as portal schema using the password you get from previous step. Do not proceed with next steps if you can't connect to sqlplus as portal schema.
sqlplus portal/
@
Where:
*
- Is the portal schema password you get in step 1.
* - Is the TNS connect string to the Portal Datababase as defined in tnsnames.ora.
3. Get the Database Service Name.
Connect to sqlplus as sysdba or system user and get the service_name as follows:
SQL> show parameter service_names
i.e.:
SQL> show parameter service_names
NAME TYPE VALUE
------------------------------------ ----------- --------------------
service_names string orcl.us.oracle.com
Take note of the service_names parameter for use when applying the patch.
4. Connect to the Midtier Server.
5. Set the Environment:
The environment needs to be set correctly or patches are not installed.
Check the following note for further reference:
Note 316775.1 Installing Portal patches with OPATCH on Unix environments completes successfully but the patches are not installed
* Set the ORACLE_HOME to the Midtier Home.
* If this is a Unix Environment set the LD_LIBRARY_PATH .
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
6. Change to the following directory:
cd $ORACLE_HOME/OPatch
7. Apply the patch as follows:
./opatch apply -silent
-pre
-s portal -p
-c :
:
Where:
*
- Is the directory with the patch number that is created when you unzip the patch zip file.
*
- is the password to connect to sqlplus as portal schema that you get from step 1.
* - Is the full server name where the portal database is installed.
*
- Is the port to connect to the Portal Database. i.e. 1521
* - Is the service_name of the portal database that you get from step 3.
8. Confirm if the patch was correctly installed by running the following query from sqlplus as portal schema:
column comments format a100
set linesize 200
select * from WWUTL_PATCHLOG$;
If the patch doesn't show in the above query then the patch was not correctly installed or this is not a Portal Repository Patch.
Most Portal Patches are Portal Repository Patches. Usually when you are applying a Midtier Patch the README file that comes with the patch explains that the patch is a Midtier Patch. Only if the patch says that this is a Midtier Patch then it is fine if you don't see the patch in the results of the query.
However if the Patch doesn't say this is a Midtier Patch and you don't see the Patch in the results of the query then please contact Oracle Support for assistance.


申请补丁时报错:无效的连接信息,不能继续进行安装

应用:

Portal - Version: 10.1.2.0 to 10.1.4.1


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

症状

在用 opatch申请补丁时会出现如下错误:

无效的连接信息,不能继续安装

前置补丁脚本错误:

因为前置补丁脚本出错导致OPatch失败

原因

提供给OPatch 的连接字符串是不正确的

连接字符串应该是以下格式:

:
:


解决方案

1.获取架构的密码

使用下面的文档可以获取架构的密码:

Oracle Application Server Administrator's Guide 10g Release 2 (10.1.2)
6.3.1 Viewing OracleAS Metadata Repository Schema Passwords using Oracle Directory Manager


在申请补丁时,给使用密码做注释

2.确保能连接上引擎,如果不能连接上引擎,就不要继续下一步

3.获取数据库服务器名字

以系统管理员的身份去连接到引擎,并且获取服务器的名字:

SQL> show parameter service_names
i.e.:
SQL> show parameter service_names
NAME TYPE VALUE
------------------------------------ ----------- --------------------
service_names string orcl.us.oracle.com


在申请补丁时,给在使用的服务器参数做注释

5.设置环境:

环境要设置正确,否则补丁不能安装

查看下面的注释以供进一步参考:

Note 316775.1:在unix环境里能成功安装 Portal 补丁,但是其他补丁安装不了

在本地Midtier设置ORACLE_HOME

如果在unix环境里设置了 LD_LIBRARY_PATH,就会输出 LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

6.改变下面的目录:

cd $ORACLE_HOME/OPatch


7.按照如下方法申请补丁:

./opatch apply -silent
-pre
-s portal -p
-c :
:
Where:


在解压补丁压缩文件时,包含补丁数目的目录是否被创建

使用架构密码是否能连接上引擎

在数据库安装的地方,服务器的名字是否完整

8.运行以下疑问来确保补丁是否正确安装

select * from WWUTL_PATCHLOG$;


如果补丁没有显示上面的疑问。则该补丁没有正确安装,或者该补丁不是储存库补丁

大多数Portal补丁是储存库补丁,通常在申请一个Midtier补丁时,README 文件会说明该补丁是Midtier 补丁。当且仅当该补丁是Midtier 补丁时,即使没有看到质疑的结果,该补丁是正确安装的

    如果没有说是Midtier 补丁,并且也没有看到质疑的结果,就要联系Oracle 支持帮助




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