Solved

Oracle 10g server installed on XP, sometimes down and sometime up ..

Posted on 2007-11-17
2
685 Views
Last Modified: 2013-12-19
I installed the 10g v2 server on a laptop, just to learn the concepts related to Oracle systems.
I know it's too big a task to run for tha labtop, however it seem "working". I mean from the interprice manager I saw everthing is up and was able to use iSQLPlus as well as SQL*PLUS in both remote and local clients.

But it seems not stable or some configuration to be done or there should be a sequence of booting the service/listener processes. The sympton is: half of the time sthe system shows up in the EM as "Database instance is down" and "the Agent cannot connect to the instance, because it "currently" does not know the SID "  Here is the exact copy from EM
 
 Agent Connection to Instance
 
 
 
 
Status  Failed
 
Details  ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
 
 However the listern on port 1521 is up:
 Listener
 
 
Status  Up
 
Host  SCIMAT11
 
Port  1521
 
Name  LISTENER
 
Oracle Home  C:\oracle\product\10.2.0\db_1
 
Location  C:\oracle\product\10.2.0\db_1\network\admin

I don't really have an clear idea of which service is responsible for which listerners and agents, but I do see there are serveral Oracle named services started automatically in Windows XP.  Is the Agent, the TNS Listener,actually listening on the port 1521? I would really appreciated some expert give me a quick drawing about the server/listerner/Agent architecture of Oracle and the sequence/logic they should boot up and their dependences, even if you can provide a quick answer to my problem.

Thanks in advance.

Ze
 
 
 
 

 
0
Comment
Question by:zzhang2006
2 Comments
 
LVL 8

Accepted Solution

by:
LindaC earned 500 total points
ID: 20305879
First you don't need the agent.  The agent is used for monitoring purposes bases you have an Enterprise Manager grid control created.  So disable this service so that it won't start when you reboot your computer.

Also if you have your host name in the listener.ora, do this:

Go to your host file located in C:\WINDOWS\system32\drivers\etc   and add the following entry.

127.0.0.1     SCIMAT11

Also go to start- control panel-system -advance - environment variable and add the following in the user variables:

New avariable name - ORACLE_HOME
Variable value - your ORACLE_HOME path.  Mine is C:\oracle\product\10.2.0\client_1


Remove your sqlnet.ora (make a bakup first doing a copy /paste)

Be sure you have your remote databases listed in your tnsnames.ora

Another thing.  It does not matter if you start the database or the listener first.


0
 
LVL 1

Author Closing Comment

by:zzhang2006
ID: 31409730
Thanks Linda!
I got it working!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle RAC 12c 8 72
How to connect SQL Server from my Oracle database? 11 94
ODBC in excel 2016 in Windows 10 via VBA 16 64
error in my cursor 5 25
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question