It decides which passwordfile to use based on your current value of ORACLE_SID. Since you're using NT/2000 you can try one of several things:
1) Comment out the remote_login_passwordfile=EXCLUSIVE entry from you init.ora then try again.
2) Make sure the ORACLE_SID string in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME(x) is set correctly. I assume it currently says your the SID for your existing instance.
3) Do "set ORACLE_SID=TSH1" at the command prompt before starting your DB creation. This only works for you current shell.
If you use the DBCA it will sort all this out for you. If you want to do it by hand then use the DBCA and save the scripts rather than picking the create-now option.
1. I tried to insert # sign between REMOTE_LOGIN_PASSWORDFILE, but I can't connect to the sqlplus:
SQL> connect sys/sys as sysdba
:ERROR
ORA-01017: invalid username/password; logon denied
BUT, when I remove the sign and write exclusive option that connect is succed;
2. I tried manually change regedit parameter ORACLE_SID onto new database SID (the database still not exist, but I built the SID by ORADIM command). But anyway, when the Create database finished, I got same message (all data files are created !)
Bookmarks