Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

1

主题
1#
发表于 2016-6-20 14:32:26 | 查看: 4421| 回复: 4
使用sqlplus登陆正常
D:\FTP>sqlplus users/password@192.168.0.133/orcl


SQL*Plus: Release 11.2.0.4.0 Production on Mon Jun 20 11:36:18 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options


SQL>


使用rman连接异常
D:\FTP>rman target users/password@192.168.0.133/orcl


Recovery Manager: Release 11.2.0.4.0 - Production on Mon Jun 20 11:35:53 2016


Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01017: invalid username/password; logon denied


目标数据库版本Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
本地数据库版本Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
本地操作系统windows server 2008
请问应该如何解决这个问题。
5#
发表于 2016-7-6 14:02:10
权限问题啊,给个DBA权限

回复 只看该作者 道具 举报

4#
发表于 2016-6-20 14:42:46
SQL> create user PVSIMTRUE identified by oracle;

User created.

SQL> grant connect,resource to PVSIMTRUE;

Grant succeeded.

SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@ocp d01]$ sqlplus  PVSIMTRUE/oracle@localhost:1521/DBDAO

SQL*Plus: Release 11.2.0.4.0 Production on Mon Jun 20 14:42:11 2016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@ocp d01]$
[oracle@ocp d01]$
[oracle@ocp d01]$
[oracle@ocp d01]$ rman target PVSIMTRUE/oracle@localhost:1521/DBDAO

Recovery Manager: Release 11.2.0.4.0 - Production on Mon Jun 20 14:42:22 2016

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01017: invalid username/password; logon denied


没权限不是很正常?

回复 只看该作者 道具 举报

3#
发表于 2016-6-20 14:40:31
C:\Users\sys-admin>sqlplus PVSIMTRUE/PVSIMTRUE98@192.168.0.133/orcl

SQL*Plus: Release 11.2.0.4.0 Production on 星期一 6月 20 14:37:55 2016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options

SQL>

C:\Users\sys-admin>rman target PVSIMTRUE/PVSIMTRUE98@192.168.0.133/orcl

恢复管理器: Release 11.2.0.4.0 - Production on 星期一 6月 20 14:38:50 2016

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: 内部恢复管理器程序包初始化失败
RMAN-04005: 目标数据库中存在错误:
ORA-01017: invalid username/password; logon denied

C:\Users\sys-admin>

回复 只看该作者 道具 举报

2#
发表于 2016-6-20 14:36:05
明确给出
users/password

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 01:40 , Processed in 0.048770 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569