启动数据库时出现的错误,无法用internal登陆
我的数据库服务已经起来了,以下是我启动数据库的过程
C:\>set ORACLE_SID=m201
C:\>sqlplus/nolog
SQL*Plus: Release 8.1.6.0.0 - Production on Thu May 30 10:21:55 2002
(c) Copyright 1999 Oracle Corporation. All rights reserved.
SQL> connect internal/oracle
ERROR:
ORA-01031: insufficient privileges
为什么会报错啊,请大家帮忙
问题点数:50、回复次数:22Top
1 楼bzszp(SongZip)回复于 2002-05-30 10:34:20 得分 0
c:\svrmgrl
connect internal/oracle
这样试试
Top
2 楼qxksos(冰焰)回复于 2002-05-30 11:01:22 得分 0
C:\>svrmgrl
Oracle Server Manager Release 3.1.6.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Personal Oracle8i Release 8.1.6.1.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
SVRMGR> connect internal/oracle
ORA-01031: insufficient privilegesTop
3 楼bzszp(SongZip)回复于 2002-05-30 11:09:09 得分 30
你用SYSTEM/MANAGER登陆试试。Top
4 楼biti_rainy(biti_rainy)回复于 2002-05-30 11:10:22 得分 20
除了楼上的建议:
确信oracle_sid正确
然后sqlnet.ora文件中 SQLNET.AUTHENTICATION_SERVICES= (NTS)
有注释请去掉
Top
5 楼qxksos(冰焰)回复于 2002-05-30 11:28:36 得分 0
to bzszp(蝎子)
SQL> connect system/manager
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Top
6 楼qxksos(冰焰)回复于 2002-05-30 11:34:41 得分 0
to biti_rainy(biti_rainy)
oracle_sid没有错
我在sqlnet.ora文件中 没有发现SQLNET.AUTHENTICATION_SERVICES= (NTS)
只发现了sqlnet.authentication_services=(beq, oss)
去掉注释后依然报错Top
7 楼PRIVATEXFQ(菜鸟)回复于 2002-05-30 17:02:13 得分 0
如果你装的是win200从控制面板中的管理工具中找到服务,打开服务找到 "OracleOrHome81TNSListener"和"oracleserver&数据库名"项然后启动他们.Top
8 楼qxksos(冰焰)回复于 2002-05-30 17:37:59 得分 0
to PRIVATEXFQ(伯乐)
你所说的"OracleOrHome81TNSListener"和"oracleserver&数据库名"都已经启动了
Top
9 楼qxksos(冰焰)回复于 2002-05-30 17:38:26 得分 0
to PRIVATEXFQ(伯乐)
你所说的"OracleOrHome81TNSListener"和"oracleserver&数据库名"都已经启动了
Top
10 楼qxksos(冰焰)回复于 2002-05-30 17:38:31 得分 0
to PRIVATEXFQ(伯乐)
你所说的"OracleOrHome81TNSListener"和"oracleserver&数据库名"都已经启动了
Top
11 楼bluecetacean(剑鱼)回复于 2002-05-30 20:58:11 得分 0
ORA-01031 insufficient privileges
Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if attempting to install
a database without the necessary operating system privileges. When Trusted
Oracle is configure in DBMS MAC, this error may occur if the user was granted
the necessary privilege at a higher label than the current login.
Action: Ask the database administrator to perform the operation or grant the
required privileges. For Trusted Oracle users getting this error although granted
the appropriate privilege at a higher label, ask the database administrator to
regrant the privilege at the appropriate label.Top
12 楼biti_rainy(biti_rainy)回复于 2002-05-31 16:28:45 得分 0
只发现了sqlnet.authentication_services=(beq, oss)
改为
sqlnet.authentication_services=(NTS)
SQL> connect system/manager
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
数据库没有成功启动
Top
13 楼ykliu1(river)回复于 2002-05-31 16:45:13 得分 0
首先确定INTERNAL帐号的口令是否正确,因为即使数据库未启动,
通过SQL*PLUS也应能够用INTERNAL登陆。(如果修改了SYS的口令,INTERNAL的口令同时被修改)。实在不行可以用ORAPWD命令修改INTERNAL的口令。
ORA-01033: ORACLE initialization or shutdown in progress
应该是在启动数据库时出错,而NT/2000等系统很难直接查看错误出在哪里?
你可以将服务启动改成手工,重起系统后用INTERNAL登陆SQL*PLUS或SVRMGRL并依次执行STARTUP MOUNT;ALTER DATABASE OPEN;等命令来检查数据库启动过程。
如果数据库能够成功地MOUNT,OPEN那么数据库就成功启动了。如果客户端仍然不能连接就应该检查LISTENER了。检查相应的服务是否已经启动或用LSNRCTL手工启动。
Top
14 楼ykliu1(river)回复于 2002-05-31 16:47:39 得分 0
记住千万记住相信NT/2000中服务启动并不完全等于数据库已经正常启动完毕Top
15 楼qxksos(冰焰)回复于 2002-05-31 16:58:33 得分 0
to ykliu1(river)
是啊,服务启动了,但数据库并没启动,所以我要用interal用户登陆来启动数据库,但却报错了。
有哪位高手能帮帮忙呀,分数不够的话我再加Top
16 楼RoyceRn(royce huang)回复于 2002-05-31 17:19:49 得分 0
Hi friend, please follow the steps to try, donot hurry
1. svrmgrl
connect internel as sysdba
2. if cannot, go to $ORACLE_HOME/admin/'sid'/pfile, open init,
check 'remote_login_passwordfile = exclusive', the the value is not exclusive, change it to exclusive, then run
orapwd file='password file' password='password for sys' entries=10
then try to restart database again
I think it should resolve your problem
Have fun on FIFA.Top
17 楼qxksos(冰焰)回复于 2002-06-03 10:50:44 得分 0
还是不行啊
SQL> connect internal/future@QXKm201 as sysdba
ERROR:
ORA-01031: insufficient privilegesTop
18 楼old_gunchinese(中国老枪)回复于 2002-06-03 11:40:24 得分 0
基本上,你的数据库控制文件应该出错了。数据库已经加载,实例没有起来。应该是系统字典出了问题。
把备分的控制文件copy回来,然后重起系统看看。Top
19 楼qxksos(冰焰)回复于 2002-06-03 14:24:15 得分 0
to old_gunchinese(中国老枪)
谢谢你!
但数据库控制文件是什么呀?在哪个目录下?Top
20 楼clamp_chen(燕归来)回复于 2002-06-05 12:43:00 得分 0
你用的操作系统是windows吗?
看一下当前登录用户是不是属于ORA_DBA这个组Top
21 楼qxksos(冰焰)回复于 2002-06-05 14:11:50 得分 0
我用的是win2000,我是想用internal登陆呀Top
22 楼clamp_chen(燕归来)回复于 2002-06-05 17:24:51 得分 0
我是说你目前所使用的windows用户
Top




