Can not find the file init for the database instance

I have installed Oracle 10 g under Linux CentOS, run netca to create listener.ora and tnsnames.ora files, then I run dbca to create the myodb database and orcl instance.



Now when I run dbstart, in the boot log, that it is said that he could not find the file orcl example init. so that the database myodb, he says:

< em > / oracle/product/10.2.0/db_1/bin/dbstart: database instance "myodb' hot began.





< /em > my questions:



1. why it is said when I run dbstart both myodb & orcl are instances of database, I created myodb as the General database, while orcl corresponds to the instance, here it says:

instance of < em > data treatment "orcl": journal file /oracle/product/10.2.0/db_1/startup.log

Database instance "myodb' of treatment: save the /oracle/product/10.2.0/db_1/startup.log file



< /em > is the name of the General database is considered an instance itself and can be used alternatively with the instance of word?



2 when I created the database using dbca, I made the password for users of SYSTEM & SYS.



When I try to connect to sqlplus using the system/mypassword, here it says:



< strong > < em > ORA-01034: ORACLE is not available

ORA-27101: shared memory realm does not exist

Linux error: 2: no such file or directory < /em > < / strong >



3. the database myodb started but it is not mentioned in my tnsnames file or the listener, while one mentioned is orcl has not begun, how is it? I know I'm missing a dir for /orcl in/oracle/home/admin, something that we find for the myodb, where there is/oracle/home/admin/myodb/pfile/init file.



How can I fix this?



4. What is the use of the command sql, < strong > edit < facilities > system registry, told me in another thread to connect to an idle instance with sqlplus and run this command, here what I got:



< em > ERROR on line 1:

ORA-01034: ORACLE not available



< /em > 5 - can I just rely on the name of the General database and forget the thing of the Forum? I'm just confused about the difference and do not know how the orcl instance was created, it has not been created with dbca, because when I run dbca he says it's already there, create another instance, so I commented the sid parameter and now I amn't during its creation and how to retrieve its files if I need to re - create it again.



Note: it is located in the bash_profile as $ORACLE_SID = orcl, why it's the only game, while General MYODB database name is not set, can be there rather than on the instance or SID in the bash_profile?





Sorry for the many questions, this is the thing of the instance and their related discipline, I appreciate your help.



Thanks in advance.




If you have only 1 instance "orcl" then the oratab file should have only 1 entry - only for "orcl". Along, only one instance "myodb" {with the db_name "myodb"} must be started.
The database Instance is identified by the SID - IE the ORACLE_SID.

Normally, the SID and DB_NAME are the same - and they do like default value is the same when you run dbca. You have changed probably manually the db_name in dbca.

If the listener is running on port 1521 and is started before the database instance, the database instance automatically saves with the listener. If the listener is started after the database instance, and then the command 'ALTER SYSTEM REGISTER' in the database instance indicates PMON to register with the listener.
If you do not want to depend on the automatic check of the database with the listener instance, then you can include the information database (SID!) in the listener.ora. In addition, which would be caused if the listener is not on the default port 1521.

See my posting in this thread: oracle sid and database the name of for more notes.

A database can contain multiple schemas - each schema is a different database account. In other implementations of database (non-Oracle), what is called a "database", it is called a 'plan' in Oracle - but that is created as a database account. Database accounts are listed in DBA_USERS - if a user "owns" objects, it's a 'plan', otherwise, it is only a user. {Oracle also provides a CREATE SCHEMA command to create multiple objects in a single command.}

Hemant K Collette
http://hemantoracledba.blogspot.com

Published by: Hemant K grapple on November 6, 2008 09:31
corrected "orcl" to "myodb.

Tags: Database

Similar Questions

Maybe you are looking for