oracle客户端建新连接测试时提示invalidoracle xe usernamee/password;logon denied如何解觉呢

2013年1月 Oracle大版内专家分月排行榜第二2012年12月 Oracle大版内专家分月排行榜第二2012年9月 Oracle大版内专家分月排行榜第二
2012年11月 Oracle大版内专家分月排行榜第三2012年8月 Oracle大版内专家分月排行榜第三
本帖子已过去太久远了,不再提供回复功能。> 如何在Python下连接Oracle数据库
如何在Python下连接Oracle数据库中国it实验室
【1】首先下载驱动:(cx_Oracle)http://www.python.net/crew/atuining/cx_Oracle/不过要注意一下版本,根据你的情况加以选择。【2】安装:执行那个exe安装程序就可以了,它会copy一个cx_Oracle.pyd到{PYTHON_HOME}Libsite-packages目录下。【3】执行一段测试程序:import&cx_Oraclecon&=&cx_Oracle.connect(&"xjtu_test",&"<SPAN style="COLOR: #343734","xjtu.world")cursor&=&con.cursor()cursor.close()con.close()
里边connect中的3个参数从左到右分别是:user, pass, TNS。那个TNS可以用Oracle客户端工具中的Net Configuration Assistant来配置。【4】具体的cx_Oracle API可以参考:http://www.python.net/crew/atuining/cx_Oracle/html/cx_Oracle.html好了,执行那段测试代码时你肯定遇到问题了,一般会有以下问题:【1】import cx_Oracle 时报告找不到OCI.DLL:到装了Oracle的机器上找一个,然后copy到{PYTHON_HOME}Libsite-packages目录下就可以了。【2】cx_Oracle.connect 时报告RuntimeError: Unable to acquire Oracle environment handle:这个比较麻烦,按以下步骤来解决:(可能不需要所有的步骤,我没有确认,不过把以下步骤都执行了,确实问题就解决了)首先,确认你是在控制台下边来执行这个python脚本的。而不是某些ide,例如:PyDev(它们似乎无法载入os的环境变量)。其实,在本机安装Oracle(只安客户端工具就可以了)。最后,添加以下环境变量:(我给出我的,换成你自己的路径就可以了)ORACLE_HOME=D:OracleOra81PATH=D:OracleOra81{your_other_paths}
四、Visual C++ 6.0
&&& 1.New Project -& Win32 Console Application 即新建一个空控制台项目&&& &&& 2.加入编译后的source.c文件&&& &&& 3.在 Tools -& Options -& Directories 添加ProC的lib目录和include目录。&&& &&&& 本机目录使用如下:&&&& &&&& Library Files &&&& &&&& E:ORACLEORA92PRECOMPLIB&&&& &&&& Include Files&&&& &&&& E:ORACLEORA92PRECOMPPUBLIC&&&& && 4.在 Project -& Settings -& Link 的 Object/Library modules 中添加ProC的链结文件orasql9.lib,VC会在Project Options自动更新。&&&& && 5.编译运行&& &&&& 输入错误密码提示:&&&&&ERROR&& ORA-01017: invalid username/ logon denied&&&&& 连接成功提示:&&&&[OK Connected!]
五、Visual C++ .Net
&&& 1.新建项目 -& Visual C++ -& Win32 -& 控制台 即新建一个空控制台项目&&& &&& 2.加入编译后的source.c文件&&& &&& 3.工具 -& 选项 -& 项目 -& VC++ 目录 添加ProC的lib目录和include目录。&&& &&&& 本机目录使用如下:&&&& &&&& 库文件&&&& &&&& E:ORACLEORA92PRECOMPLIB&&&& &&&& 头文件&&&& &&&& E:ORACLEORA92PRECOMPPUBLIC&&& &&&& && 4.选中项目 -& 属性 -& 配置属性 -& 链结器 -& 输入 -& 附加依赖项 添加ProC的链结文件orasql9.lib&&& &&& && 5.编译运行&& &&&& 输入错误密码提示:&&&&&ERROR&& ORA-01017: invalid username/ logon denied&&&&& 连接成功提示:&&&&[OK Connected!]&&&&&&&&六、总结
&&& 本文只是使用了数据库连接的简单例子,具有实际参考意义的例子可参看:&&& 《ProC动态SQL示例(第1,2,3种方法)》&&& http://blog.csdn.net/liwei_cmg/archive//759963.aspx&&& &&& 另外,这方面的教程也很多可以上网搜索一下。在E:oracleora92precompdemoproc也有很多具体实例,十分值得参考,在下文将介绍ProC在Unix/Linux环境下的配置使用。
&相关阅读:
·干货:K-DB为什么能全面兼容Oracle
&&·浪潮布局K1生态:发布可快速迁移数据库
&&·OOW:或将“云端”开战?甲骨文 PK 亚马逊
&&·甲骨文财报分析:利润下降、云服务增长
&&·变化何在?Server 2016 TP3 10537截图被爆
给文章打分 5分为满分(共0人参与)
频道热词:&&&&&&
精彩内容推荐
服务器知识学堂热点
排行 文章标题
TOP10周热门服务器排行榜
商家报价:
商家报价:
商家报价:
16用户点评
商家报价:
商家报价:
商家报价:
商家报价:
商家报价:
商家报价:
商家报价:
商家报价:¥13999-¥18999
上市时间: 2017年07月
产品数: 6
商家报价:¥49988
上市时间: 2017年05月
产品数: 4
商家报价:¥12900-¥21500
上市时间: 2015年01月
产品数: 2
商家报价:¥187000
上市时间: 2015年07月
产品数: 2
商家报价:¥55797-¥78372
上市时间: 2017年09月
产品数: 6
商家报价:¥4500-¥6589
上市时间: 2016年03月
产品数: 3
商家报价:¥96300
上市时间: 2011年12月
产品数: 3
上市时间: 2009年06月
产品数: 6
商家报价:¥14990-¥15990
上市时间: 2014年01月
产品数: 2
企业人物访谈博客分类:
永久链接: /working-case/oracle-of-competence-login-problems-sysdba/
最近的时间,在搞数据库的安全加固问题,关于数据库中关于sysdba权限的登录,通过最近的一些实践和测试,在这里记录一下:
数据库用sysdba登录的验证有两种方式,一种是通过os认证,一种是通过密码文件验证;登录方式有两种,一种是在数据库主机直接登录(用os认证的方式),一种是通过网络远程登录;需要设置的参数有两个,一个是SQLNET.AUTHENTICATION_SERVICES,一个是 REMOTE_LOGIN_PASSWORDFILE。
os认证:如果启用了os认证,以sysdba登录,那么我们只要用oracle软件的安装用户就能登录:sqlplus “/ as sysdba”。如果我们要禁用os认证,只利用密码文件登录,我们首先要有一个密码文件:
D:\oracle\ora92\database&orapwd file=PWDoralocal.ora password=mypassword entries=10;
D:\oracle\ora92\database&
然后我们要把$ORACLE_HOME/network/admin/sqlnet.ora中设置:
SQLNET.AUTHENTICATION_SERVICES= none
注意一下,密码文件只在数据库启动的时候加载进去,一旦加载进去,密码文件就脱离了oracle管理,所以我们用orapwd新建密码文件后,里面指定的密码要在数据重启后才能生效:
D:\oracle\ora92\database&sqlplus "sys/mypassword as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri May 16 21:59:42 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
### 这里我们通过改SQLNET.AUTHENTICATION_SERVICES= (NTS)用os认证登录数据库:
sys@ORALOCAL(192.168.50.29)&
Database closed.
Database dismounted.
ORACLE instance shut down.
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)& startup
ORACLE instance started.
Total System Global Area&
bytes
Fixed Size&&&&&&&&&&&&&&&&&& 453492 bytes
Variable Size&&&&&&&&&&&&
bytes
Database Buffers&&&&&&&&&&
bytes
Redo Buffers&&&&&&&&&&&&&&&& 667648 bytes
Database mounted.
Database opened.
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)& exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
D:\oracle\ora92\database&
D:\oracle\ora92\database&
D:\oracle\ora92\database&
### 我们把SQLNET.AUTHENTICATION_SERVICES= (NTS)改回去。
D:\oracle\ora92\database&sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri May 16 22:03:59 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
D:\oracle\ora92\database&
D:\oracle\ora92\database&
D:\oracle\ora92\database&
D:\oracle\ora92\database&sqlplus "sys/mypassword as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri May 16 22:04:07 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.50.29)& exit
在这里,我们看到这个新改的密码要数据库重启后加载才生效。同时我们看到,用os认证是无法登录的,但是通过网络(用@sid)是可以登录。
D:\oracle\ora92\database&sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 00:58:32 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
D:\oracle\ora92\database&
D:\oracle\ora92\database&sqlplus "sys/mypassword as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 00:59:15 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)&
sys@ORALOCAL(192.168.50.29)& exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
D:\oracle\ora92\database&sqlplus "sys/mypassword@oralocal as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 00:59:38 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.50.29)&
至此,我们已经实现不用os认证(sqlplus “/ as sysdba”的方式登录不了)。那么我们怎么限制网络方面利用sysdba远程登录呢?我们可以设置初始化文件中的REMOTE_LOGIN_PASSWORDFILE=none。
注意,当REMOTE_LOGIN_PASSWORDFILE=none时,这个参数生效需要重启数据库,并且,一旦启用这个参数,将使用操作系统认证,不使用口令文件。因此如果REMOTE_LOGIN_PASSWORDFILE=none且 SQLNET.AUTHENTICATION_SERVICES= none这个时候数据库是无法登录的。
D:\oracle\ora92\database&sqlplus "sys/change_on_install as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 01:28:58 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.50.29)& show parameter remote_login
NAME&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& TYPE&&&&&&& VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile&&&&&&&&&&& string&&&&& EXCLUSIVE
sys@ORALOCAL(192.168.50.29)& alter system set remote_login_passwordfile=none scope=
System altered.
Elapsed: 00:00:00.01
sys@ORALOCAL(192.168.50.29)&
Database closed.
Database dismounted.
ORACLE instance shut down.
sys@ORALOCAL(192.168.50.29)& startup
ORA-01031: insufficient privileges
sys@ORALOCAL(192.168.50.29)&exit
C:\Documents and Settings\Administrator&sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 08:26:43 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\Administrator&sqlplus "sys/change_on_install as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 08:26:53 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\Administrator&
C:\Documents and Settings\Administrator&sqlplus "sys/change_on_install@oralocal as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 08:27:03 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\Administrator&
这里我们看到由于启用了REMOTE_LOGIN_PASSWORDFILE=none,使用os认证,不用密码文件认证,必须将 SQLNET.AUTHENTICATION_SERVICES= none取消,不然是无法登录。我们改成SQLNET.AUTHENTICATION_SERVICES= (NTS)后再次测试。
### 非oracle软件安装软件用户:###
C:\Documents and Settings\hejianmin&sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 20:15:13 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\hejianmin&
C:\Documents and Settings\hejianmin&sqlplus "sys/change_on_install as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 20:15:30 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\hejianmin&
C:\Documents and Settings\hejianmin&sqlplus "sys/change_on_install@oralocal as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 20:15:42 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\hejianmin&
### oracle 软件安装用户 ####
C:\Documents and Settings\Administrator&sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 5月 17 20:19:13 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.0.29)& exit
从Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中断开
C:\Documents and Settings\Administrator&sqlplus "sys/change_on_install as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 5月 17 20:19:33 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.0.29)& exit
从Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中断开
C:\Documents and Settings\Administrator&sqlplus "sys/change_on_install@oralocal as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 5月 17 20:19:45 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.0.29)& exit
从Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production中断开
C:\Documents and Settings\Administrator&sqlplus "11/22 as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 5月 17 20:19:58 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.0.29)&
在这里我们看到由于用了os认证,在oracle安装用户下,无论用什么方式都能登录。非oracle用户无论用什么用户都无法登录。
如果REMOTE_LOGIN_PASSWORDFILE=exclusive且SQLNET.AUTHENTICATION_SERVICES= none时:
C:\Documents and Settings\Administrator&sqlplus "sys/change_on_install as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 20:30:57 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
sys@ORALOCAL(192.168.0.29)& exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
C:\Documents and Settings\Administrator&
C:\Documents and Settings\Administrator&sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Sat May 17 20:31:04 2008
Copyright (c) , Oracle Corporation.& All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
Enter user-name:
ERROR:
ORA-01017: invalid username/ logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Documents and Settings\Administrator&
C:\Documents and Settings\Administrator&
总结:
(1)REMOTE_LOGIN_PASSWORDFILE=none且SQLNET.AUTHENTICATION_SERVICES= none:
oracle安装用户本地sqlplus “/ as sysdba”无法登录
非oracle安装用户本机sqlplus “sys/change_on_install as sysdba”无法登录
非oracle安装用户远程sqlplus “/ as sysdba_on_install@sid as sysdba”无法登录
(2)REMOTE_LOGIN_PASSWORDFILE=exclusive且SQLNET.AUTHENTICATION_SERVICES= none:
oracle安装用户本地sqlplus “/ as sysdba”无法登录
非oracle安装用户本机sqlplus “sys/change_on_install as sysdba”能登录
非oracle安装用户远程sqlplus “/ as sysdba_on_install@sid as sysdba”能登录
(3)REMOTE_LOGIN_PASSWORDFILE=none且SQLNET.AUTHENTICATION_SERVICES= (NTS):
oracle安装用户本地sqlplus “/ as sysdba”能登录
非oracle安装用户本机sqlplus “sys/change_on_install as sysdba”无法登录
非oracle安装用户远程sqlplus “/ as sysdba_on_install@sid as sysdba”无法登录
(4)REMOTE_LOGIN_PASSWORDFILE=exclusive且SQLNET.AUTHENTICATION_SERVICES= (NTS):
oracle安装用户本地sqlplus “/ as sysdba”能登录
非oracle安装用户本机sqlplus “sys/change_on_install as sysdba”能登录
非oracle安装用户远程sqlplus “/ as sysdba_on_install@sid as sysdba”能登录
yangyiqian
浏览: 74485 次
为什么呢?
是啊? 我在7.1下就装不上jbpm4.4,按你这着方法
原来exec后是子进程,怪不得我怎么看都不像是一个完全独立的进 ...
很实用 。。。能给个例子吗?Oracle 默认密码及修改密码_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
Oracle 默认密码及修改密码
&&对于不是自己安装的Oracle数据库,不知道用户名和密码时,初学者可以借荐
阅读已结束,下载文档到电脑
想免费下载更多文档?
定制HR最喜欢的简历
下载文档到电脑,方便使用
还剩4页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢We have updated our Privacy Policy and encourage you to read it by clicking .
The SAP Basis group is for the discussion of specific configuration and development issues that arise when utilizing the SAP Basis & System Administration.
Your account is ready.
You're now being signed in.
Email address
Between 5 and 30 characters. No spaces please
The Profile Name is already in use
Notify me of new activity in this group:
Keep me informed of the latest:
White Papers
Newsletter
By clicking "Join Now", you agree to Toolbox for Technology
, and have read and understand our privacy policy.
Hi, after upgrading Oracle DB from 10.2 to 11.2 my SAP application cannot start.
below is the trace file dev_w*. Please advise how to reolve. Thanks
Loading DB library 'E:\usr\sap\ED7\DVEBMGS00\exe\dboraslib.dll' ...
Library 'E:\usr\sap\ED7\DVEBMGS00\exe\dboraslib.dll' loaded
Version of 'E:\usr\sap\ED7\DVEBMGS00\exe\dboraslib.dll' is &700.08&, patchlevel (0.307)
Prepending E:\usr\sap\ED7\DVEBMGS00\exe to Path.
Oracle Client Version: '10.2.0.1.0', (dbsl 700 170611, UNICODE[2])
Application info callback registered.
Client NLS setting (by OCINlsGetInfo): con=0, 'AMERICAN_AMERICA.UTF16'
Logon as OPS$-user to get SAPSR3's password
Connecting as /@ED7 on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2])
Attaching to DB Server ED7 (con_hdl=0,svchp=0A18,srvhp=
C Thu Aug 30 19:28:19 2012
Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0A18, srvhp=2E48, usrhp=4B48)
OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
ORA-01017: invalid username/ logon denied
*** ERROR =& CONNECT failed with sql error '1017'
[dbsloci.c
Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password.
Connecting as SAPSR3/&pwd&@ED7 on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2])
Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/&pwd&, svchp=0A18, srvhp=2E48, usrhp=4B48)
C Thu Aug 30 19:29:19 2012
OCISessionBegin(OCI_DEFAULT) failed with SQL error 3135:
ORA-03135: connection lost contact
Detaching from DB Server (con_hdl=0,svchp=0A18,srvhp=
*** ERROR =& CONNECT failed with sql error '3135'
[dbsloci.c
***LOG BY2=& sql error 3135
performing CON [dbsh#3 @ 1208] [dbsh
***LOG BY0=& ORA-03135: connection lost contact [dbsh#3 @ 1208] [dbsh
***LOG BY2=& sql error 3135
performing CON [dblink#8 @ 433] [dblink
***LOG BY0=& ORA-03135: connection lost contact [dblink#8 @ 433] [dblink
***LOG R19=& ThInit, db_connect ( DB-Connect 000256) [thxxhead.c
in_ThErrHandle: 1
*** ERROR =& ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c
Popular White Paper On This Topic
19&Replies
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Please follow this note. &br />
Note 400241 - Problems with ops$ or sapr3 connect to Oracle &br />
Cheers &br />
RB" id="ctl00_m_m_i_ctl00_gr_ctl01_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913810" />
replied Aug 30, 2012
Please follow this note.
Note 400241 - Problems with ops$ or sapr3 connect to Oracle
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
i already gone through SAP note 400241 and tried the solution but none of them seems helpful." id="ctl00_m_m_i_ctl00_gr_ctl03_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913840" />
replied Aug 30, 2012
i already gone through SAP note 400241 and tried the solution but none of them seems helpful.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Try below command and you will be good. &br />
brconnect -f chpass -o &br />
sapsr3 -p &new_password& &br />
Regards &br />
Ravinder Pal Singh" id="ctl00_m_m_i_ctl00_gr_ctl05_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913843" />
replied Aug 30, 2012
Try below command and you will be good.
brconnect -f chpass -o
sapsr3 -p &new_password&
Ravinder Pal Singh
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Brconnect -u system/&password& -f chpass -o SAPSR3 -p &password& &br />
Then &r3trans -d& should come back with rc(0)." id="ctl00_m_m_i_ctl00_gr_ctl07_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913852" />
replied Aug 30, 2012
Issue this command to change the SAPSR3 password:
Brconnect -u system/&password& -f chpass -o SAPSR3 -p &password&
Then &r3trans -d& should come back with rc(0).
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Can you provide me the output of R3trans -d &br />
Cheers &br />
RB" id="ctl00_m_m_i_ctl00_gr_ctl09_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913861" />
replied Aug 30, 2012
Can you provide me the output of R3trans -d
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Thanks &br />
Syed" id="ctl00_m_m_i_ctl00_gr_ctl11_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913866" />
replied Aug 30, 2012
Check whether you have ops$sapserviceSid user at Db level or not if not create and grant access.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
brconnect -f chpass -o &br />
sapsr3 -p &new_password& &br />
Regards &br />
Ravinder Pal Singh" id="ctl00_m_m_i_ctl00_gr_ctl13_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913888" />
replied Aug 30, 2012
This will work. Dont use any username pssword.run with SIDADM. just replace &new_password& with the new password
brconnect -f chpass -o
sapsr3 -p &new_password&
Ravinder Pal Singh
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Below are the result trans.log after running R3trans -d: &br />
4 ETW000 R3trans version 6.14 (release 700 - 03.06.11 - 17:57:00). &br />
4 ETW000 unicode enabled version &br />
4 ETW000 =============================================== &br />
4 ETW000 date&time
: 30.08.2012 - 20:33:46 &br />
4 ETW000 control file: &no ctrlfile& &br />
4 ETW000 R3trans was called as follows: R3trans -x &br />
trace at level 2 opened for a given file pointer &br />
dev trc,00000]
Thu Aug 30 20:33:48 2012
0.000000 &br />
dev trc,00000]
db_con_init called
0.000000 &br />
dev trc,00000]
create_con (con_name=R/3)
0.000000 &br />
dev trc,00000]
Loading DB library &#39;dboraslib.dll&#39; ...
0.000000 &br />
dev trc,00000]
DlLoadLib success: LoadLibrary(&dboraslib.dll&), hdl 0, addr DB0000 &br />
328 &br />
dev trc,00000]
using &E:\usr\sap\ED7\SYS\exe\uc\NTAMD64\dboraslib.d ll&
0.005342 &br />
dev trc,00000]
Library &#39;dboraslib.dll&#39; loaded
0.005359 &br />
dev trc,00000]
function DbSlExpFuns loaded from library dboraslib.dll
0.005377 &br />
dev trc,00000]
Version of &#39;dboraslib.dll&#39; is &700.08&, patchlevel (0.307)
0.005710 &br />
dev trc,00000]
function dsql_db_init loaded from library dboraslib.dll
0.005726 &br />
dev trc,00000]
function dbdd_exp_funs loaded from library dboraslib.dll
0.005753 &br />
dev trc,00000]
New connection 0 created
0.005775 &br />
dev trc,00000]
000: name = R/3, con_id = -, state = DISCONNECTED, tx = NO , hc = NO , perm = YES, &br />
reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
0.005817 &br />
dev trc,00000]
db_con_connect (con_name=R/3)
0.005839 &br />
dev trc,00000]
find_con_by_name found the following connection for reuse:
0.005852 &br />
dev trc,00000]
000: name = R/3, con_id = , state = DISCONNECTED, tx = NO , hc = NO , perm = YES, &br />
reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
0.005888 &br />
dev trc,00000]
CLIENT_ORACLE_HOME is not set as environment variable or
0.006112 &br />
DIR_CLIENT_ORAHOME is not set as profile parameter. &br />
assuming using instant client with unspecified location. &br />
dev trc,00000]
--&oci_init1
0.006152 &br />
dev trc,00000]
Oracle Client Version: &#39;10.2.0.1.0&#39;, (dbsl 700 170611, UNICODE[2])
528 &br />
dev trc,00000]
Default connection: tnsname =&#39;ED7&#39;
0.014579 &br />
dev trc,00000]
--&oci_initialize(con=0, char=&#39;UTF16&#39;, nchar=&#39;AL16UTF16&#39;, uc_ln=2)
0.014604 &br />
dev trc,00000]
Application info callback registered.
0.014618 &br />
dev trc,00000]
(-) OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle) &br />
936 &br />
dev trc,00000]
OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=E540) &br />
0.017094 &br />
dev trc,00000]
OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=3D08) &br />
0.017127 &br />
dev trc,00000]
NLS env.: lang=41004E00
0.017235 &br />
dev trc,00000]
0.017254 &br />
dev trc,00000]
0.017269 &br />
dev trc,00000]
Client NLS setting (by OCINlsGetInfo): con=0, &#39;AMERICAN_AMERICA.UTF16&#39; &br />
0.017290 &br />
dev trc,00000]
charset=&#39;UTF16&#39;, ncharset=&#39;AL16UTF16&#39;, UNI_ASC=FALSE
0.017306 &br />
dev trc,00000]
Logon as OPS$-user to get SAPSR3&#39;s password
0.017329 &br />
dev trc,00000]
Connecting as /@ED7 on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2]) &br />
0.017353 &br />
dev trc,00000]
Allocating service context handle for con_hdl=0
0.017374 &br />
dev trc,00000]
Allocating server context handle
0.017393 &br />
dev trc,00000]
Attaching to DB Server ED7 (con_hdl=0,svchp=3BC8,srvhp= 630E8) &br />
0.017453 &br />
dev trc,00000]
Assigning server context 30E8 to service context 3BC8 &br />
7833 &br />
dev trc,00000]
Allocating user session handle
0.087877 &br />
dev trc,00000]
Starting user session: OCISessionBegin(con_hdl=0, usr=&#39;/&#39;,svchp=3BC8, srvhp=30E8, usrhp=ED58) &br />
0.087917 &br />
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR
1359 &br />
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
0.101480 &br />
dev trc,00000]
ORA-01017: invalid username/ logon denied
0.101506 &br />
dbsloci.,00000]
*** ERROR =& CONNECT failed with sql error &#39;1017&#39;
0.101536 &br />
dev trc,00000]
set_ocica() -& SQL error code 1017
0.101554 &br />
dev trc,00000]
--&oci_get_errmsg (con_hdl=0, rc=1017)
0.101569 &br />
dev trc,00000]
OCIErrorGet -& SQL error code: 1017
0.101636 &br />
dev trc,00000]
ORA-01017: invalid username/ logon denied
0.101659 &br />
dev trc,00000]
Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password. &br />
0.101692 &br />
dev trc,00000]
Connecting as SAPSR3/&pwd&@ED7 on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2]) &br />
0.101724 &br />
dev trc,00000]
Assigning username to user session: con_hdl=0, usrhp=ED58 &br />
0.101748 &br />
dev trc,00000]
Assigning password to user session: con_hdl=0, usrhp=ED58 &br />
0.101783 &br />
dev trc,00000]
Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/&pwd&, svchp=3BC8, srvhp=30E8, usrhp=ED58) &br />
0.101813 &br />
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR
954 &br />
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
0.109081 &br />
dev trc,00000]
ORA-01017: invalid username/ logon denied
0.109106 &br />
dbsloci.,00000]
*** ERROR =& CONNECT failed with sql error &#39;1017&#39;
0.109133 &br />
dev trc,00000]
set_ocica() -& SQL error code 1017
0.109147 &br />
dev trc,00000]
--&oci_get_errmsg (con_hdl=0, rc=1017)
0.109162 &br />
dev trc,00000]
OCIErrorGet -& SQL error code: 1017
0.109228 &br />
dev trc,00000]
ORA-01017: invalid username/ logon denied
0.109251 &br />
***LOG BY2=&sql error 1017
performing CON [dblink#8 @ 433]
0.109308 &br />
***LOG BY0=&ORA-01017: invalid username/ logon denied [dblink#8 @ 433] &br />
0.109330 &br />
2EETW169 no connect possible: &DBMS = ORACLE
--- dbs_ora_tnsname = &#39;ED7&#39;&" id="ctl00_m_m_i_ctl00_gr_ctl15_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913893" />
replied Aug 30, 2012
Below are the result trans.log after running R3trans -d:
4 ETW000 R3trans version 6.14 (release 700 - 03.06.11 - 17:57:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000 date&time
: 30.08.2012 - 20:33:46
4 ETW000 control file: &no ctrlfile&
4 ETW000 R3trans was called as follows: R3trans -x
trace at level 2 opened for a given file pointer
dev trc,00000]
Thu Aug 30 20:33:48 2012
dev trc,00000]
db_con_init called
dev trc,00000]
create_con (con_name=R/3)
dev trc,00000]
Loading DB library 'dboraslib.dll' ...
dev trc,00000]
DlLoadLib success: LoadLibrary(&dboraslib.dll&), hdl 0, addr DB0000
dev trc,00000]
using &E:\usr\sap\ED7\SYS\exe\uc\NTAMD64\dboraslib.d ll&
dev trc,00000]
Library 'dboraslib.dll' loaded
dev trc,00000]
function DbSlExpFuns loaded from library dboraslib.dll
dev trc,00000]
Version of 'dboraslib.dll' is &700.08&, patchlevel (0.307)
dev trc,00000]
function dsql_db_init loaded from library dboraslib.dll
dev trc,00000]
function dbdd_exp_funs loaded from library dboraslib.dll
dev trc,00000]
New connection 0 created
dev trc,00000]
000: name = R/3, con_id = -, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
dev trc,00000]
db_con_connect (con_name=R/3)
dev trc,00000]
find_con_by_name found the following connection for reuse:
dev trc,00000]
000: name = R/3, con_id = , state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
dev trc,00000]
CLIENT_ORACLE_HOME is not set as environment variable or
DIR_CLIENT_ORAHOME is not set as profile parameter.
assuming using instant client with unspecified location.
dev trc,00000]
--&oci_init1
dev trc,00000]
Oracle Client Version: '10.2.0.1.0', (dbsl 700 170611, UNICODE[2])
dev trc,00000]
Default connection: tnsname ='ED7'
dev trc,00000]
--&oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', uc_ln=2)
dev trc,00000]
Application info callback registered.
dev trc,00000]
(-) OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
dev trc,00000]
OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=E540)
dev trc,00000]
OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=3D08)
dev trc,00000]
NLS env.: lang=41004E00
dev trc,00000]
dev trc,00000]
dev trc,00000]
Client NLS setting (by OCINlsGetInfo): con=0, 'AMERICAN_AMERICA.UTF16'
dev trc,00000]
charset='UTF16', ncharset='AL16UTF16', UNI_ASC=FALSE
dev trc,00000]
Logon as OPS$-user to get SAPSR3's password
dev trc,00000]
Connecting as /@ED7 on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2])
dev trc,00000]
Allocating service context handle for con_hdl=0
dev trc,00000]
Allocating server context handle
dev trc,00000]
Attaching to DB Server ED7 (con_hdl=0,svchp=3BC8,srvhp= 630E8)
dev trc,00000]
Assigning server context 30E8 to service context 3BC8
dev trc,00000]
Allocating user session handle
dev trc,00000]
Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=3BC8, srvhp=30E8, usrhp=ED58)
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
dev trc,00000]
ORA-01017: invalid username/ logon denied
dbsloci.,00000]
*** ERROR =& CONNECT failed with sql error '1017'
dev trc,00000]
set_ocica() -& SQL error code 1017
dev trc,00000]
--&oci_get_errmsg (con_hdl=0, rc=1017)
dev trc,00000]
OCIErrorGet -& SQL error code: 1017
dev trc,00000]
ORA-01017: invalid username/ logon denied
dev trc,00000]
Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password.
dev trc,00000]
Connecting as SAPSR3/&pwd&@ED7 on connection 0 (nls 0) ... (dbsl 700 170611, UNICODE[2])
dev trc,00000]
Assigning username to user session: con_hdl=0, usrhp=ED58
dev trc,00000]
Assigning password to user session: con_hdl=0, usrhp=ED58
dev trc,00000]
Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/&pwd&, svchp=3BC8, srvhp=30E8, usrhp=ED58)
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR
dev trc,00000]
OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
dev trc,00000]
ORA-01017: invalid username/ logon denied
dbsloci.,00000]
*** ERROR =& CONNECT failed with sql error '1017'
dev trc,00000]
set_ocica() -& SQL error code 1017
dev trc,00000]
--&oci_get_errmsg (con_hdl=0, rc=1017)
dev trc,00000]
OCIErrorGet -& SQL error code: 1017
dev trc,00000]
ORA-01017: invalid username/ logon denied
***LOG BY2=&sql error 1017
performing CON [dblink#8 @ 433]
***LOG BY0=&ORA-01017: invalid username/ logon denied [dblink#8 @ 433]
2EETW169 no connect possible: &DBMS = ORACLE
--- dbs_ora_tnsname = 'ED7'&
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
ops$sapserviceSid
is exisiting." id="ctl00_m_m_i_ctl00_gr_ctl17_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913899" />
replied Aug 30, 2012
ops$sapserviceSid
is exisiting.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
replied Aug 30, 2012
Hi Ravinder, ive been changing the password using BR*tools. But not working.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Please provide me the output for these: &br />
select username, account_status from dba_ &br />
SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = &#39;SAPUSER&#39;; &br />
Also make sure the environment variables for the sidadm user has been changed. &br />
&a href=&/thread/427897& rel=&nofollow& target=&_blank&>/thread/427897&/a> &br />
Cheers &br />
RB" id="ctl00_m_m_i_ctl00_gr_ctl21_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4913944" />
replied Aug 30, 2012
Please provide me the output for these:
select username, account_status from dba_
SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
Also make sure the environment variables for the sidadm user has been changed.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
10.2.0.1.0 oracle &br />
Also check your environment variable
Oracle_Home" id="ctl00_m_m_i_ctl00_gr_ctl23_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4914192" />
replied Aug 30, 2012
As per log log still showing
10.2.0.1.0 oracle
Also check your environment variable
Oracle_Home
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
replied Aug 30, 2012
Check your environment variable first.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Please see below: &br />
SQL& select username, account_status from dba_ &br />
ACCOUNT_STATUS &br />
--- &br />
OPEN &br />
OPEN &br />
OPS$ORAED7
OPEN &br />
OPS$SAPSERVICEED7
OPEN &br />
OPS$ED7ADM
OPEN &br />
OPEN &br />
LOCKED &br />
ORACLE_OCM
EXPIRED & LOCKED &br />
EXPIRED & LOCKED &br />
EXPIRED & LOCKED &br />
EXPIRED & LOCKED &br />
11 rows selected. &br />
SQL& select OWNER from DBA_TABLES where TABLE_NAME=&#39;SAPUSER&#39;; &br />
OWNER &br />
--- &br />
OPS$ED7ADM &br />
SQL& &br />
--- &br />
All the environmental variables are set correctly." id="ctl00_m_m_i_ctl00_gr_ctl27_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4914950" />
replied Aug 30, 2012
Please see below:
SQL& select username, account_status from dba_
ACCOUNT_STATUS
OPS$ORAED7
OPS$SAPSERVICEED7
OPS$ED7ADM
ORACLE_OCM
EXPIRED & LOCKED
EXPIRED & LOCKED
EXPIRED & LOCKED
EXPIRED & LOCKED
11 rows selected.
SQL& select OWNER from DBA_TABLES where TABLE_NAME='SAPUSER';
OPS$ED7ADM
All the environmental variables are set correctly.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
I&#39;m not sure if the remote_os_authent=FALSE in Oracle parameter file caused this issue. &br />
Anybody know about this parameter? Based on note 1431798 it should be set to TRUE but do not set if using SSFS. What is SSFS?" id="ctl00_m_m_i_ctl00_gr_ctl29_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4915033" />
replied Aug 31, 2012
I'm not sure if the remote_os_authent=FALSE in Oracle parameter file caused this issue.
Anybody know about this parameter? Based on note 1431798 it should be set to TRUE but do not set if using SSFS. What is SSFS?
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Thanks, &br />
chetan anguralia" id="ctl00_m_m_i_ctl00_gr_ctl31_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4915065" />
replied Aug 31, 2012
If you are able to startup manually database. Check check tns_admin and oracle_home env variables. I hope you must have changed env pointing to new oracle_home before DBUA .
chetan anguralia
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Ops$ mechanish is no more in Oracle after 11.2.0.3" id="ctl00_m_m_i_ctl00_gr_ctl33_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4915096" />
replied Aug 31, 2012
Did you configure ssfs?
Ops$ mechanish is no more in Oracle after 11.2.0.3
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
replied Aug 31, 2012
I just applied the 11g.
How to configure ssfs or how to know if it was configured? By they way, I set remote_os_authent=TRUE and solved the issue.
Best Answer
Mark this reply as the best answer?(Choose carefully, this can't be changed)
Are you following the SAP provided Oracle database upgrade guide or not? &br />
Until 11G SAP connects to the Oracle database using the OPS$ Mechanism. The new method of connecting the database is called Secure Storage in File System (SSFS). &br />
Basically it is about storing the encrypted password for the SAP database user at the file system level and not in the database which used to be until 10G. &br />
If you want to know more about that and how to switch to the SSFS then please read this note: &br />
Note 1622837 - New connect method of AS ABAP to Oracle via SSFS &br />
There are some prerequisites for implementing it. The systems should be on 7.20 kernel release. &br />
As you said that you have fixed the issue by enabling the remote_os_authent=TRUE, it looks like the parameter was modified during the upgrade process. &br />
Anyway thanks for letting the group know that the issue has been resolved. &br />
Cheers, &br />
RB" id="ctl00_m_m_i_ctl00_gr_ctl37_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbodyId="4915157" />
replied Aug 31, 2012
Are you following the SAP provided Oracle database upgrade guide or not?
Until 11G SAP connects to the Oracle database using the OPS$ Mechanism. The new method of connecting the database is called Secure Storage in File System (SSFS).
Basically it is about storing the encrypted password for the SAP database user at the file system level and not in the database which used to be until 10G.
If you want to know more about that and how to switch to the SSFS then please read this note:
Note 1622837 - New connect method of AS ABAP to Oracle via SSFS
There are some prerequisites for implementing it. The systems should be on 7.20 kernel release.
As you said that you have fixed the issue by enabling the remote_os_authent=TRUE, it looks like the parameter was modified during the upgrade process.
Anyway thanks for letting the group know that the issue has been resolved.
This thread has been closed due to inactivity.
PCMag Digital Group

我要回帖

更多关于 oracle触发器invalid 的文章

 

随机推荐