<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Oracle%2FDatabase%2FBroken_Oracle</id>
	<title>Oracle/Database/Broken Oracle - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Oracle%2FDatabase%2FBroken_Oracle"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Oracle/Database/Broken_Oracle&amp;action=history"/>
	<updated>2026-05-08T18:46:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Oracle/Database/Broken_Oracle&amp;diff=2008&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== Oracle Service Does Not Start Database ==  I am running Oracle 10.2.0.1  After reboot when I try to connect locally using sqlplus I get the following error:   ERROR:  ORA-0...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Oracle/Database/Broken_Oracle&amp;diff=2008&amp;oldid=prev"/>
		<updated>2015-04-15T16:54:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Oracle Service Does Not Start Database ==  I am running Oracle 10.2.0.1  After reboot when I try to connect locally using sqlplus I get the following error:   ERROR:  ORA-0...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Oracle Service Does Not Start Database ==&lt;br /&gt;
&lt;br /&gt;
I am running Oracle 10.2.0.1&lt;br /&gt;
&lt;br /&gt;
After reboot when I try to connect locally using sqlplus I get the following error:&lt;br /&gt;
&lt;br /&gt;
 ERROR:&lt;br /&gt;
 ORA-01034: ORACLE not available&lt;br /&gt;
 ORA-27101: shared memory realm does not exist&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 ERROR:&lt;br /&gt;
 ORA-12514: TNS:listener does not currently know of service requested in connect descriptor&lt;br /&gt;
&lt;br /&gt;
I get the following message when connecting as sysdba&lt;br /&gt;
&lt;br /&gt;
 C:\Documents and Settings\Administrator&amp;gt;sqlplus &amp;quot;/ as sysdba&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 2 17:39:43 2007&lt;br /&gt;
 &lt;br /&gt;
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;
 &lt;br /&gt;
 Connected to an idle instance.&lt;br /&gt;
&lt;br /&gt;
Idle instance?  I found another article &amp;quot;[[Oracle - Why won&amp;#039;t the mount and open happen automatically]]&amp;quot; that seemed to indicate what the problem was, but following their directions, using oradim [http://www.psoug.org/reference/oradim.html], did not solve the autostart problem, but did provide a way to manually start the DB.&lt;br /&gt;
&lt;br /&gt;
This article &amp;quot;AUTO-STARTING AN ORACLE DATABASE ON BOOTUP VIA INSTANCE MANAGER&amp;quot; [http://www.fors.com/orasupp/winnt/43449_1.HTM] gave directions on creating a batch file to auto start the DB.  This is a Windows Server box!  There should be a way to have the service autostart the DB.&lt;br /&gt;
&lt;br /&gt;
One [http://www.orafaq.com/forum/t/24843/0/ article] mentioned setting the ORACLE_HOME to fix this problem.  According to this [http://www.akadia.com/services/ora_w2k_install_9i.html article] I should set my ORACLE_HOME to C:\oracle\product\10.2.0 but this caused SQLPLUS to fail.  When I set ORACLE_HOME to C:\oracle\product\10.2.0\db_1 SQLPLUS worked, but it did not solve the autostart problem.  I am getting really tired of restarting this box.&lt;br /&gt;
&lt;br /&gt;
Oracle will not start up automatically [http://www.cryer.co.uk/brian/oracle/SYMownsua.htm] had some good information, but still no luck with the autostart.&lt;br /&gt;
&lt;br /&gt;
This [http://www.freelists.org/archives/oracle-l/08-2006/msg01141.html article] mentioned the -srvcstart parameter&lt;br /&gt;
&lt;br /&gt;
 Creating an Instance [http://download-west.oracle.com/docs/cd/B19306_01/win.102/b14304/create.htm#i1006533]&lt;br /&gt;
 -SRVCSTART system | demand indicates whether to start the Oracle Database service on computer restart.&lt;br /&gt;
&lt;br /&gt;
I modified the service with oradim and added the -srvcstart, rebooted, no love.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.orafaq.com/forum/t/23928/0/&lt;br /&gt;
&lt;br /&gt;
probably you should change&lt;br /&gt;
sqlnet.ora (located in $(ORA_HOME)networkadmin)&lt;br /&gt;
&lt;br /&gt;
parameter:&lt;br /&gt;
SQLNET.AUTHENTICATION_SERVICES = (NONE)&lt;br /&gt;
&lt;br /&gt;
Then restart the databases (or the server)&lt;br /&gt;
Worked for me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 C:\Documents and Settings\Administrator&amp;gt;sqlplus &amp;quot;/ as sysdba&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 2 18:11:17 2007&lt;br /&gt;
 &lt;br /&gt;
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;
 &lt;br /&gt;
 Connected to an idle instance.&lt;br /&gt;
 &lt;br /&gt;
 SQL&amp;gt; startup open&lt;br /&gt;
 ORACLE instance started.&lt;br /&gt;
 &lt;br /&gt;
 Total System Global Area  289406976 bytes&lt;br /&gt;
 Fixed Size                  1248600 bytes&lt;br /&gt;
 Variable Size              79692456 bytes&lt;br /&gt;
 Database Buffers          205520896 bytes&lt;br /&gt;
 Redo Buffers                2945024 bytes&lt;br /&gt;
 Database mounted.&lt;br /&gt;
 Database opened.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.digitalpoint.com/lists/75192.html&lt;br /&gt;
&lt;br /&gt;
OK, how are you trying to connect in order to startup the database ? The service from what you say appears to be started but the instance has not (note the ORADIM utility has a startup option to automatically start the instance with the service)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.orafaq.com/forum/t/23928/0/&lt;br /&gt;
&lt;br /&gt;
Open Services in Control Panel&lt;br /&gt;
Select TNSListener&lt;br /&gt;
Open properties&lt;br /&gt;
On the &amp;#039;Log On&amp;#039; tab, put your operating system login name and password.&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
Do the same for Oracleservice.&lt;br /&gt;
&lt;br /&gt;
Restart the services or computer and you&amp;#039;ll be up and running.&lt;br /&gt;
&lt;br /&gt;
Good luck.&lt;br /&gt;
&lt;br /&gt;
Calvie&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://forums.oracle.com/forums/thread.jspa;jsessionid=8d92200830debaf3d204e9f048a784f985812c941a9c.e34QbhuKaxmMai0MaNeMb3eKaN90?messageID=644610&amp;amp;#644610&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hi Ben,&lt;br /&gt;
&lt;br /&gt;
From the error message i could able to find that parameter files are missing. If u r missing ur spfile then no problem. Follow the steps,&lt;br /&gt;
&lt;br /&gt;
sqlplus /nolog&lt;br /&gt;
conn / as sysdba;&lt;br /&gt;
Connected to an idle instance.&lt;br /&gt;
rename init.***** to init.ora in d:\oracle\product\10.1.0\admin\db_name\pfile&lt;br /&gt;
then from sql prompt follow the steps&lt;br /&gt;
sql&amp;gt; startup pfile=&amp;#039;d:\oracle\product\10.1.0\admin\db_name\pfile\init.ora&amp;#039;&lt;br /&gt;
sql&amp;gt; create spfile from pfile=&amp;#039;d:\oracle\product\10.1.0\admin\db_name\pfile\init.ora&amp;#039;&lt;br /&gt;
&lt;br /&gt;
next time onwards u will not any problem. &lt;br /&gt;
&lt;br /&gt;
http://www.experts-exchange.com/Databases/Oracle/Q_21250658.html&lt;br /&gt;
&lt;br /&gt;
http://www.experts-exchange.com/Web/Application_Servers/Oracle_iAS/Q_20825680.html&lt;br /&gt;
&lt;br /&gt;
Postinstallation Database Creation on Windows [http://download-west.oracle.com/docs/cd/B19306_01/win.102/b14304/create.htm]&lt;br /&gt;
&lt;br /&gt;
Windows Service Not Starting Your Database? [http://www.dba-oracle.com/oracle9iAS_tips_windows_service.htm]&lt;br /&gt;
&lt;br /&gt;
This article has several good ideas how to solve this problem.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The last reason why I don&amp;#039;t use this autostart feature is that when I posted this problem to Oracle (oracleservice start problem), the first suggestion from Oracle support was : &amp;quot;don&amp;#039;t use the autostart feature of the Oracle service, set it to manual&amp;quot;.&amp;quot; [http://forums.dbasupport.com/forums/showthread.php?threadid=53918]&lt;br /&gt;
&lt;br /&gt;
Creating an Oracle 9i database from the command line only [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually9.html]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;What is the difference between a virus and Oracle?  The answer:  a virus is free&amp;quot;  - Allen Kaye Steele&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Hacking and Plinking&amp;quot; - Ken Holm&lt;br /&gt;
&lt;br /&gt;
(10:47:33) Kenneth: oracle is yucky&lt;br /&gt;
(10:47:39) Kenneth: I feel violated just by looking at it&lt;br /&gt;
(10:47:57) Lars Rasmussen: take a shower &amp;amp; cash the check - you&amp;#039;ll feel better.&lt;br /&gt;
(10:48:14) Lars Rasmussen: :)&lt;br /&gt;
&lt;br /&gt;
Manual Creation of database in windows with oracle 9i (Step-by-Step) [http://ceylonlinux.com/pdf/manual_creation_of_database_in_windows_with_oracle9i.pdf]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:OracleOra81bin&amp;gt;tnsping eam [http://www.orafaq.com/forum/t/35682/0/]&lt;br /&gt;
&lt;br /&gt;
Windows Oracle Service not starting? [http://www.oraclehome.co.uk/starting-oracle-windows-service.htm] Nothing new found here.&lt;br /&gt;
&lt;br /&gt;
Check &amp;amp; verify Oracle windows services. [http://www.dba-oracle.com/t_check_verify_windows_services.htm]  The suggestions here are similar to what was mentioned before.&lt;br /&gt;
&lt;br /&gt;
 1.  Check Task Manager for the ORACLE.EXE process.  If it is present, then the service started.&lt;br /&gt;
 &lt;br /&gt;
 2.  Check the Alert Log for the database.  If the problem is not with the database, there will be no indication in the log that the database even tried to start.&lt;br /&gt;
 &lt;br /&gt;
 3.  Check the oradim.log in the $ORACLE_HOME/database directory for errors.  Check the date on the log file as versions before 9i did not date/time stamp the entries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think I found the solution! &amp;quot;Thread: DB not open, with Windows Service&amp;quot; [http://forums.oracle.com/forums/thread.jspa?threadID=362177&amp;amp;start=15&amp;amp;tstart=0].  &amp;quot;everything was resolved when installing patch &amp;quot;p4547817_10202_WINNT&amp;quot; (See metalink)&amp;quot;  Unfortunately I do not have an account with MetaLink.&lt;br /&gt;
&lt;br /&gt;
At this point I am giving up on this.  I will just manually start the service with a batch script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Oracle F M E R Notes ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 lsnrctl status&lt;br /&gt;
 lsnrctl services &amp;lt;listner name&amp;gt;&lt;br /&gt;
   listener.log&lt;br /&gt;
 &lt;br /&gt;
 tnsping &amp;lt;address&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 sqlplus scott/tiger@cambridge&lt;br /&gt;
 sqlplus scott/tiger@localhost:1521:cambridge&lt;br /&gt;
   cambridge is the SID&lt;br /&gt;
 &lt;br /&gt;
 ORA-12545: connect failed because target host or object does not exist&lt;br /&gt;
 &lt;br /&gt;
 ORA-12514: TNS: listener does not currently know of service requested in connect descriptor.&lt;br /&gt;
 &lt;br /&gt;
 glossary&lt;br /&gt;
 tnsname: alias of database&lt;br /&gt;
 SID: oracle instance id&lt;br /&gt;
 service name: name pointing to instance(s), or other resources&lt;br /&gt;
 &lt;br /&gt;
 different tnsnames can point to a single oracle instance.  They are just aliases.&lt;br /&gt;
 &lt;br /&gt;
 lsnrctl&lt;br /&gt;
  show current_listener&lt;br /&gt;
 lsnrctl start/stop/status&lt;br /&gt;
 &lt;br /&gt;
 ADD windows user to ora_dba gorup under windows groups&lt;br /&gt;
&lt;br /&gt;
== Startup/Shutdown DB ==&lt;br /&gt;
&lt;br /&gt;
 Start database, then listener&lt;br /&gt;
 listener.ora&lt;br /&gt;
 tnsnames.ora&lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;/ as sysdba&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 Oracle OraDblOg_home1&lt;br /&gt;
 &lt;br /&gt;
 set ORACLE_SID=MYTEST&lt;br /&gt;
 sqlplus &amp;quot;/ as sysdba&amp;quot;&lt;br /&gt;
   SQL&amp;gt; startup&lt;br /&gt;
 &lt;br /&gt;
 * leave listener running *&lt;br /&gt;
 &lt;br /&gt;
 alter database backup controlfile to trace;&lt;br /&gt;
 SQL&amp;gt;&lt;br /&gt;
 show parameter dump&lt;br /&gt;
   user_dump_dest&lt;br /&gt;
 show parameter control&lt;br /&gt;
&lt;br /&gt;
== Create Database ==&lt;br /&gt;
&lt;br /&gt;
Database configuration assistant&lt;br /&gt;
# create database&lt;br /&gt;
# general purpose DB&lt;br /&gt;
# global &amp;amp; SID are same &amp;#039;MYTEST&amp;#039;;&lt;br /&gt;
# defaults&lt;br /&gt;
# use same passwords for sys,system,dbsnmp,sysman&lt;br /&gt;
# filesystem storage mechenism&lt;br /&gt;
# db file location from template defaults&lt;br /&gt;
# defaults&lt;br /&gt;
# defaults&lt;br /&gt;
# defaults (memory)&lt;br /&gt;
# defaults&lt;br /&gt;
# ok&lt;br /&gt;
&lt;br /&gt;
== additional notes ==&lt;br /&gt;
&lt;br /&gt;
error ORA-12560: TNS: protocol adapter error&lt;br /&gt;
&lt;br /&gt;
Error ORA-01054: ORACLE not available&lt;br /&gt;
Error ORA-27101: shared memory realm does not exist&lt;br /&gt;
&lt;br /&gt;
set oracle_sid=mytest&lt;br /&gt;
sqlplus /nolog&lt;br /&gt;
connect / as sysdba&lt;br /&gt;
&lt;br /&gt;
connect sys/pswd as sysdba&lt;br /&gt;
&lt;br /&gt;
ORA-01031: insufficient privileges&lt;br /&gt;
&lt;br /&gt;
sqlplus &amp;quot;sys/passwd&amp;quot; as sysdba&lt;br /&gt;
startup&lt;br /&gt;
&lt;br /&gt;
show user  #who am i&lt;br /&gt;
grant sysdba, sysoper to rene;&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
oracle&lt;br /&gt;
&lt;br /&gt;
[[Category:Oracle]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>