--今天在处理修改密码的时候出现了,如下的问题,经过搜索相关问题,已解决
--原因通常是由于手动建库导致没有执行过@$ORACLE_HOME/sqlplus/admin/pupbld.sql这个脚本导致。
--解决方法报错中也给出了,You may need to run PUPBLD.SQL as SYSTEM
--使用system用户登陆,执行脚本即可
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
--首先登陆数据库,修改用户的密码,然后进行测试connect,报错
[[email protected] ~]$ sqlplus / as sysdba
SQL> alter user qcarilog identified by xxxxxx;
User altered.
SQL> connect qcarilog/xxxxxxx
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Connected.
SQL> exit
--用system用户登陆,执行脚本
SQL> conn system/system
Connected.
SQL> @$ORACLE_HOME/sqlplus/admin/pupbld.sql
--再次尝试用该用户登陆,无报错,问题解决
[[email protected] ~]$ sqlplus / as sysdba
SQL> connect qcarilog/xxxxxx
Connected.