After installing the Oracle database in Linux, I tried to use dbstart to start the database but did not respond. In this case, I need to change the oracle configuration.
Su root
Vi/etc/oratab
*:/Opt/oracle/product/9.2.0.4: N
Ego:/opt/oracle/product/9.2.0.4: N
Change the corresponding database to Y.
*:/Opt/oracle/product/9.2.0.4: N
Ego:/opt/oracle/product/9.2.0.4: Y
Above is my configuration
> Dbstart
Can't find init file for Database "ego ".
Database "ego" NOT started.
The init file is not found. My database instance is ego.
This file is in the $ ORACLE_HOME/dbs/directory.
> Cd $ ORACLE_HOME/dbs
The solution is to establish a soft connection of initego. ora.
> Ln-s spfileego. ora initego. ora
In this way, you can
> Dbstart
SQL * Plus: Release 9.2.0.4.0-Production on Friday March 21 14:40:10 2008
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 236000356 bytes
Fixed Size 451684 bytes
Variable Size 201326592 bytes
Database Buffers 33554432 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0-Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0-Production
Database "ego" warm started.