免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 12006 | 回复: 15
打印 上一主题 下一主题

rman connected to target database (not started) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-04 14:06 |只看该作者 |倒序浏览
执行
$ rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Sun May 4 13:54:32 2008
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
connected to target database (not started)
------------------
但是我在本机使用sqlplus可以连接到数据库,而且目前应用也可以正常访问数据库。

请问我是那个配置文件没有设置正确?

论坛徽章:
0
2 [报告]
发表于 2008-05-04 16:44 |只看该作者
可以这么试试:
rman target user/pwd@xxx

如果不行帮你顶上去

论坛徽章:
0
3 [报告]
发表于 2008-05-04 20:02 |只看该作者
运行

  1. which rman
  2. which sqlplus
复制代码

看看rman和sqlplus是否在同一个目录中.

论坛徽章:
0
4 [报告]
发表于 2008-05-04 23:11 |只看该作者

回复 #2 shinewaysoft 的帖子

不行,我试过的。

论坛徽章:
0
5 [报告]
发表于 2008-05-05 08:32 |只看该作者

回复 #1 cqpxm 的帖子

你的数据库没有mount或者没有open.

论坛徽章:
0
6 [报告]
发表于 2008-05-05 23:53 |只看该作者

回复 #5 shangyilong 的帖子

数据库是open了的,应用都可以访问,远程sqlplus也可以连接。就是服务器本机使用conn / as sysdba居然提示数据库实例没有启动。而使用conn sys/password@实例名 as sysdba 又可以正常连接。


SQL> conn / as  sysdba
Connected to an idle instance.


SQL> conn sys/password@cqtmsztf as sysdba
Connected.

[ 本帖最后由 cqpxm 于 2008-5-6 00:07 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2008-05-06 10:46 |只看该作者
和我的问题一样!楼主解决没有?

论坛徽章:
0
8 [报告]
发表于 2008-05-06 11:00 |只看该作者
原帖由 cqpxm 于 2008-5-5 23:53 发表
数据库是open了的,应用都可以访问,远程sqlplus也可以连接。就是服务器本机使用conn / as sysdba居然提示数据库实例没有启动。而使用conn sys/password@实例名 as sysdba 又可以正常连接。


SQL> conn / a ...


Hei,
Do you see it is "Connected to an idle instance."
That means your Oracle is not start.
As sysdba,you could connect to your oracle at any time,also when it is not start.
You need reading more books about oracle.
Good luck.

论坛徽章:
0
9 [报告]
发表于 2008-05-06 14:11 |只看该作者

回复 #8 shangyilong 的帖子

please look:
SQL> conn / as  sysdba
Connected to an idle instance.


SQL> conn sys/password@cqtmsztf as sysdba
Connected.

cqtmsztf  is start!

论坛徽章:
0
10 [报告]
发表于 2008-05-06 15:24 |只看该作者

回复 #9 cqpxm 的帖子

In oracle,"connected" is not means "database start."
You must know the difference between the two concepts connected and  start .
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP