本地磁盘搜索*spfile*找不到相关文件记录无法将system账户添加到sysdba
SQL> conn sys/system@r3d as sysdba
Connected.
SQL> show user;
USER is "SYS"
SQL> grant sysdba to system;
grant sysdba to sky
*
ERROR at line 1:
ORA-01994: GRANT failed: cannot add users to public password file
SQL> select * from v$pwfile_users;no rows selected提示没有用spfile启动数据库
SQL> alter system set remote_login_passwordfile=EXCLUSIVE scope=spfile;
alter system set remote_login_passwordfile=EXCLUSIVE scope=spfile
*
ERROR at line 1:
ORA-32001: write to SPFILE requested but no SPFILE specified at startup
SQL> show parameter spfileNAME TYPE VALUE
------------------------------------ ----------- ----------
spfile string原始故障ORA-01031: insufficient privileges,然后引发出上述诸多问题