ORA-01031:insufficient privileges的解决方法
2015-05-13 15:56
1261 查看
远程登录并启动oracle数据库
ORA-01031: insufficient privileges的解决方法
[oracle@localhost ~]$ sqlplus sys/password@ORCL as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 13 18:43:01 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved. ERROR:
ORA-01031: insufficient privileges
Enter user-name: sys Enter password: ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory Process ID: 0
Session ID: 0 Serial number: 0
解决方法:
1、创建密码文件
unix/linux(shell)下:
orapwd file=$ORACLE_HOME/dbs/orapw password=password_for_sys
windows(命令行模式)
orapwd file=%ORACLE_HOME%\database\PWDsid_name.ora password=password_for_sys
2、开启密码方式的用户认证
将以下内容添加到unix/linux中的initservice_name.ora或者windows中的init.ora中去
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
至此,客户端应该可以连接到远程关闭状态的数据库并启动
sqlplus sys/password_for_sys@tns_name_of_db
ORA-01031: insufficient privileges的解决方法
[oracle@localhost ~]$ sqlplus sys/password@ORCL as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 13 18:43:01 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved. ERROR:
ORA-01031: insufficient privileges
Enter user-name: sys Enter password: ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory Process ID: 0
Session ID: 0 Serial number: 0
解决方法:
1、创建密码文件
unix/linux(shell)下:
orapwd file=$ORACLE_HOME/dbs/orapw password=password_for_sys
windows(命令行模式)
orapwd file=%ORACLE_HOME%\database\PWDsid_name.ora password=password_for_sys
2、开启密码方式的用户认证
将以下内容添加到unix/linux中的initservice_name.ora或者windows中的init.ora中去
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
至此,客户端应该可以连接到远程关闭状态的数据库并启动
sqlplus sys/password_for_sys@tns_name_of_db
相关文章推荐
- ora-01031:insufficient privileges解决方法总结 .
- ora-01031:insufficient privileges解决方法总结
- ORA-01031: insufficient privileges的解决方法
- ora-01031:insufficient privileges解决方法
- ora-01031解决方法
- ora-01031:insufficient privileges解决方法
- 【Vegas原创】本地sys登录,ORA-01031: insufficient privileges的解决方法
- ORA-01031: insufficient privileges的解决方法
- ora-01031:insufficient privileges解决方法总结
- 【Vegas原创】本地sys登录,ORA-01031: insufficient privileges的解决方法
- ora-01031:insufficient privileges解决方法 - 转
- ora-01031:insufficient privileges解决方法总结
- ORA-01031: insufficient privileges 解决方法(linux)
- 【Vegas原创】本地sys登录,ORA-01031: insufficient privileges的解决方法
- ORA-01031:insufficient privileges解决方法
- 关于windows平台下的oracle ORA-01031的解决方法
- ora-01031:insufficient privileges解决方法总结
- ORA-01031: insufficient privileges错误解决方法之一
- sqlplus "/ as sysdba" 连不上,报ora-01031:insufficient privileges解决方法
- ORA-01031: insufficient privileges的解决方法