Oracle DB Login Issues between Windows and Linux
Issue: Unable to connect to Oracle DB in OEL (Linux) from windows
1) Go to $cd $ORACLE_HOME/dbs
2) $mv /<ORACLE_HOME>/product/10.2.0/server/dbs/orapwtestdb /<ORACLE_HOME>/product/10.2.0/server/dbs/orapwtestdb_bkp
3) $orapwd file=orapw$ORACLE_SID password=<enter your password> force=y entries=10
4) $ls -ltr orapw*
5) $sqlplus / as sysdba
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
------------------------------ ----- ----- -----
SYS TRUE TRUE FALSE
... Now trying logging into database from windows...
1) Go to $cd $ORACLE_HOME/dbs
2) $mv /<ORACLE_HOME>/product/10.2.0/server/dbs/orapwtestdb /<ORACLE_HOME>/product/10.2.0/server/dbs/orapwtestdb_bkp
3) $orapwd file=orapw$ORACLE_SID password=<enter your password> force=y entries=10
4) $ls -ltr orapw*
5) $sqlplus / as sysdba
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
------------------------------ ----- ----- -----
SYS TRUE TRUE FALSE
... Now trying logging into database from windows...
Comments
Post a Comment