ORA-01031: insufficient privileges处理一例
推荐 原创
©著作权归作者所有:来自51CTO博客作者zylhsy的原创作品,请联系作者获取转载授权,否则将追究法律责任
故障现象:
[oracle@L-DB-100-17 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on 星期六 1月 5 14:59:15 2002
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
处理:更新密码文件
[oracle@L-DB-100-17 ~]$ cd /u01/product/10.2.0/db_1/dbs/
[oracle@L-DB-100-17 dbs]$ ls -lt
total 370172
-rw-r----- 1 oracle dba 10493952 Jan 6 2013 ICMLSNDX_01.dbf
-rw-r----- 1 oracle dba 15736832 Jan 6 2013 ICMSFQ04_01.dbf
-rw-r----- 1 oracle dba 31465472 Jan 6 2013 ICMLFQ32_01.dbf
-rw-r----- 1 oracle dba 26222592 Jan 6 2013 ICMLNF32_01.dbf
-rw-r----- 1 oracle dba 26222592 Jan 6 2013 ICMVFQ04_01.dbf
-rw-r----- 1 oracle dba 2560 Dec 14 2012 spfilezjport.ora
-rw-rw---- 1 oracle dba 24 May 28 2012 lkZJPORTUTF8
-rw-rw---- 1 oracle dba 24 May 28 2012 lkZJPORTUT
-rw-rw---- 1 oracle dba 1544 May 28 2012 hc_zjportutf8.dat
-rw-r----- 1 oracle dba 1536 Jan 5 14:59 orapwzjportutf8
-rw-r----- 1 oracle dba 1536 Jan 5 14:58 orapwzjport
-rw-r----- 1 oracle dba 268443648 Aug 20 07:21 cuteinfo_data.dbf
-rw-r----- 1 oracle dba 2560 May 27 2001 spfilezjportutf8.ora
-rw-rw---- 1 oracle dba 1552 May 5 2001 hc_zjport.dat
-rw-rw---- 1 oracle dba 24 May 4 2001 lkZJPORT
-rw-rw-r-- 1 oracle dba 12920 May 3 2001 initdw.ora
-rw-r----- 1 oracle dba 8385 Sep 11 1998 init.ora
[oracle@L-DB-100-17 dbs]$ mv orapwzjport orapwzjport_old
[oracle@L-DB-100-17 dbs]$ mv orapwzjportutf8 orapwzjportutf8_old
[oracle@L-DB-100-17 dbs]$ ls -lt
total 370172
-rw-r----- 1 oracle dba 10493952 Jan 6 2013 ICMLSNDX_01.dbf
-rw-r----- 1 oracle dba 15736832 Jan 6 2013 ICMSFQ04_01.dbf
-rw-r----- 1 oracle dba 31465472 Jan 6 2013 ICMLFQ32_01.dbf
-rw-r----- 1 oracle dba 26222592 Jan 6 2013 ICMLNF32_01.dbf
-rw-r----- 1 oracle dba 26222592 Jan 6 2013 ICMVFQ04_01.dbf
-rw-r----- 1 oracle dba 2560 Dec 14 2012 spfilezjport.ora
-rw-rw---- 1 oracle dba 24 May 28 2012 lkZJPORTUTF8
-rw-rw---- 1 oracle dba 24 May 28 2012 lkZJPORTUT
-rw-rw---- 1 oracle dba 1544 May 28 2012 hc_zjportutf8.dat
-rw-r----- 1 oracle dba 1536 Jan 5 14:59 orapwzjportutf8_old
-rw-r----- 1 oracle dba 1536 Jan 5 14:58 orapwzjport_old
-rw-r----- 1 oracle dba 268443648 Aug 20 07:21 cuteinfo_data.dbf
-rw-r----- 1 oracle dba 2560 May 27 2001 spfilezjportutf8.ora
-rw-rw---- 1 oracle dba 1552 May 5 2001 hc_zjport.dat
-rw-rw---- 1 oracle dba 24 May 4 2001 lkZJPORT
-rw-rw-r-- 1 oracle dba 12920 May 3 2001 initdw.ora
-rw-r----- 1 oracle dba 8385 Sep 11 1998 init.ora
[oracle@L-DB-100-17 dbs]$ orapwd file=/u01/product/10.2.0/db_1/dbs/orapwzjport force=y password=xq5m7n
[oracle@L-DB-100-17 dbs]$ orapwd file=/u01/product/10.2.0/db_1/dbs/orapwzjportutf8 force=y password=xq5m7n
[oracle@L-DB-100-17 dbs]$ ls -lt
total 370180
-rw-r----- 1 oracle dba 10493952 Jan 6 2013 ICMLSNDX_01.dbf
-rw-r----- 1 oracle dba 15736832 Jan 6 2013 ICMSFQ04_01.dbf
-rw-r----- 1 oracle dba 31465472 Jan 6 2013 ICMLFQ32_01.dbf
-rw-r----- 1 oracle dba 26222592 Jan 6 2013 ICMLNF32_01.dbf
-rw-r----- 1 oracle dba 26222592 Jan 6 2013 ICMVFQ04_01.dbf
-rw-r----- 1 oracle dba 2560 Dec 14 2012 spfilezjport.ora
-rw-rw---- 1 oracle dba 24 May 28 2012 lkZJPORTUTF8
-rw-rw---- 1 oracle dba 24 May 28 2012 lkZJPORTUT
-rw-rw---- 1 oracle dba 1544 May 28 2012 hc_zjportutf8.dat
-rw-r----- 1 oracle dba 1536 Jan 5 15:08 orapwzjportutf8
-rw-r----- 1 oracle dba 1536 Jan 5 15:08 orapwzjport
-rw-r----- 1 oracle dba 1536 Jan 5 14:59 orapwzjportutf8_old
-rw-r----- 1 oracle dba 1536 Jan 5 14:58 orapwzjport_old
-rw-r----- 1 oracle dba 268443648 Aug 20 07:21 cuteinfo_data.dbf
-rw-r----- 1 oracle dba 2560 May 27 2001 spfilezjportutf8.ora
-rw-rw---- 1 oracle dba 1552 May 5 2001 hc_zjport.dat
-rw-rw---- 1 oracle dba 24 May 4 2001 lkZJPORT
-rw-rw-r-- 1 oracle dba 12920 May 3 2001 initdw.ora
-rw-r----- 1 oracle dba 8385 Sep 11 1998 init.ora
[oracle@L-DB-100-17 dbs]$ sqlplus sys/oracle as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on 星期六 1月 5 15:09:27 2002
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 1224736768 bytes
Fixed Size 2083560 bytes
Variable Size 436208920 bytes
Database Buffers 771751936 bytes
Redo Buffers 14692352 bytes
Database mounted.
Database opened.
SQL> exit
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
建立视图报 ORA-01031: insufficient privileges
建立视图报 ORA-01031: insufficient privileges
oracle sed ide sql 问题分析 -
ORA-01031:insufficient privileges,ORA-01925: maximum of 30 enabled roles exce
ORA-01031,ORA-01925,ORA-00068
ORA-01031 ORA-01925 ORA-00068 -
oracle 存储过程使用create table报错ORA-01031: insufficient privileges问题处理
在使用存储过程进行建表时,提示没有权限 :ORA-01031: insufficient privileges 如下图所示存储过程代
oracle 存过 create table报错 sql User 建表 -
ora-01031:insufficient privileges解决方法sql 解决方法 根目录