Solved

Oracle 10.2 database not responding

Posted on 2009-07-10
7
1,319 Views
Last Modified: 2013-12-19
Hi,

I have a 10.2 oracle database. The startup of this database works fine. Starting the listener works fine too (no errors).

When i run a Sqlplus session in local way (setting the ORACLE_SID env var before launching sqlplus) it works fine too.

But when i try "sqlplus system/password@SID" the server doesn't respond :
nothing ... no error codes.
When i try TOAD, it's the same thing ... no response
When i try Oracle Enterprise Manager the doesn't respond too.

Notice that Oracle is not "installed" on this dev machine but "copied-pasted" from another where everything works fine. I also export the registry entries for oracle from the working machine to the dev machine, but it does'nt work anymore.

any suggestions ?
0
Comment
Question by:cobol60
  • 4
  • 3
7 Comments
 
LVL 1

Author Comment

by:cobol60
ID: 24822323
I tried some things ... among them, i tried to shut the instance down and to connect to it with the clients : a normal error message appears saying that an error ORA-12518 occured
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24823473
Check and disable any firewalls on your machine.
0
 
LVL 1

Author Comment

by:cobol60
ID: 24823798
The problem is that i can't disable the firewall on the machine because of windows domain restriction ... i just can add exceptions ... do you know wich programs i must add to the exception ? I addes oracle.exe, tnslsnr.exe, sqlplus.exe, i also authorized the 1521 port wich is the port of my database ...
0
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.

 
LVL 1

Author Comment

by:cobol60
ID: 24824406
i tried on a notebook wich is not on the windows domain and could disabled the firewall. The same problem appears ...
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24824511
You said you cut-n-pasted from another server. This is unusual for Windows, I only do this on UNIX platforms. You should really install properly before bringing a database over, due to registry requirements.

Also, consider backing up all .ora files in $ORACLE_HOME\network\admin and rerunning netca to configure the listener and tnsnames.

If you did not actually install Oracle, this may not work either. You have installed it incorrectly, and I can tell you, on Windows, the Oracle listener is very picky about configuration. Even on a proper install, to re-create a listener requires deleting the service, removing a registry entry, rebooting, then rerunning the listener config / netca.

0
 
LVL 1

Accepted Solution

by:
cobol60 earned 0 total points
ID: 24824777
thank's mrjoltcola ... But it now works properly.

I didn't install oracle only a copy/paste from our network.

The problem was that the listener seems to only cummunicate with a windows' service. So you must install your db as a service with the tool oradim (oradim -new -sid SID) and that's all.

I have also some scripts because the dev machine will host potentially 50 db instances ... so we must shutdown instances properly.

thank's to this forum ... ;)
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24824925
>>the expert didn't find a solution for me ... saying no solution was available

I did not say that. I clearly said you should install properly. Please don't misquote me.


Yes, you ran oradim, this is what happens when you do the install normally or by running DBCA through the usual way. And as a side effect, it creates a listener for you. Note I said:

"Even on a proper install, to re-create a listener requires deleting the service, removing a registry entry, rebooting, then rerunning the listener config / netca."


Anyway thanks for the post back on your solution. I might have suggested you checking the services and rerunning oradim as well, but I don't agree with this method of installing Oracle, so I recommended the supported way.

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
clob to char in oracle 3 62
PL SQL Developer 7 54
Create file system directory from Oracle 10g 4 25
oracle date format checking 7 26
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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
This video shows how to recover a database from a user managed backup

837 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