Solved

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

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

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

705 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

19 Experts available now in Live!

Get 1:1 Help Now