IT开放社区

ORA-01031: insufficient privileges

报错原因:在sqlplus中使用host命令然后exit返回,再此启动数据库会报此错;

SYS@PROD> host
[oracle@PROD ~]$ exit
exit 
SYS@PROD> !
[oracle@PROD ~]$ exit
exit 
SYS@PROD> startup
ORA-01031: insufficient privileges

解决办法原理:host后调用系统权限,exit回到sqlplus出现权限不足

SYS@PROD> exit
Disconnected 
[oracle@PROD ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 6 21:43:47 2017
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to an idle instance.
alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss'
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0 
SYS@PROD> startup
ORACLE instance started.
Total System Global Area  830930944 bytes
Fixed Size      2217912 bytes
Variable Size    503318600 bytes
Database Buffers   322961408 bytes
Redo Buffers      2433024 bytes
Database mounted.
Database opened.
SYS@PROD>

 

相关文章

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

网站分类
站点信息
  • 文章总数:119
  • 页面总数:2
  • 分类总数:3
  • 标签总数:12
  • 评论总数:2
  • 浏览总数:116129
友情链接

BlogPowerBy Z-BlogPHP 1.5 Zero ;Theme By 爱墙纸

Copyright © 2020-2030 ITkaifang.COM All Rights Reserved. 京ICP备13044647号.Email:dreamerqin@qq.com