Solved

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

Posted on 2007-11-17
2
684 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now