I've installed Oracle9i in Windows XP, and when I try to connect through SQL*Plus it gives me an error: "TNS:Could not resolve Service name." I connected using scott and tiger. I even tried through svrmgrl in the command prompt. There it gives me the error as "Message 4505 not found; No message file for product=RDBMS, Facility=MGR. ORA-12560:TNS:Protocol Adapter Error." Please help. I checked in the environment variables. There is no ORACLE HOME variable. And in the registry, the paths are fine. Basically there are two ORACLE_HOME directories in the registry. Is the one setting overriding the other?
After installing the Oracle software, did you create a database? If so, this indicates to me that the service is not running and/or your database is not available. Open the Services panel from Control Panel and verify that the database service is running. If it is running, then check the database alert log (located in the background_dump_dest location) to see whether the database opened successfully. If the service is running and the database mounted but did not open, you open the database manually from the command prompt as follows (replace ORCL with your SID):
connect / as sysdba
alter database open;
If the database did not mount, you could change the alter command above to 'startup;' instead. Finally, you will need to configure a listener to allow connectivity via SQL*Plus on your desktop. This can easily be accomplished by invoking the Net Configuration Assistant from the Start menu on your Windows XP machine.
You can modify the service to start both the instance and the database with the oradim command. To see a list of options that can be used with oradim, use the command:
Dig Deeper on Oracle database installation, upgrades and patches
Can I use /var/opt/oracle/oratab to specify listener information?
We would like to migrate our database from Oracle 8.1.7 to Oracle 10g. We would like to know the impact for our application developed using Delphi ...
I have been trying to install Oracle 8.1.7 on SUSE Linux 9.0 and got the error:
"Error in invoking target install of makefile /opt/oracle/...../*.mk."