0

私は持っていoracle11g desktopます。私のプロジェクトでは、構成アシスタント ツールを使用して 3 つのデータベースを作成します。次に、そのうちの1つを削除すると、この後にエラーが発生します: ora-12560. 誤って両方のデータベースに同じパスワードが設定されています。たとえば、これらのデータベースの 1 つをシステム ユーザーに接続したい場合、パスワードが 1 つしかなく、データベースがどれに接続されているかを認識していない可能性があります。

すべてのサービス セットを開始しますoracle_sid=orcllsnrctl tnspingcheck tansname.ora& を実行my listener.ora し、ログオンしますsysdba@oracle_sid

しかし、私は再びこのエラーがあります

tnxを助けてください

4

2 に答える 2

1

データベースが起動していないようです。おそらくマシンを再起動しましたが、インスタンスは自動起動に設定されていません

C:\Documents and Settings\tkyte>sqlplus scott/tiger

SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:43:55 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
With the Partitioning, OLAP and Data Mining options

scott%ORA10GR1> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
With the Partitioning, OLAP and Data Mining options

C:\Documents and Settings\tkyte>net stop oracleserviceora10gr1
The OracleServiceORA10GR1 service is stopping.........
The OracleServiceORA10GR1 service was stopped successfully.


C:\Documents and Settings\tkyte>sqlplus scott/tiger

SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:44:35 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

C:\Documents and Settings\tkyte>net start oracleserviceora10gr1
The OracleServiceORA10GR1 service is starting..........
The OracleServiceORA10GR1 service was started successfully.


C:\Documents and Settings\tkyte>sqlplus scott/tiger

SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:45:12 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
With the Partitioning, OLAP and Data Mining options

scott%ORA10GR1>
于 2013-10-19T03:51:43.683 に答える