|
-
Jun 15th, 2012, 03:17 PM
#1
Thread Starter
Hyperactive Member
Installation of Oracle 10g
I have installed the Oracle 10g at the following location : -
C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN
But I was trying to ping Oracle Client from Command Prompt. See Below : -
c:\Oracle>tnsping SONIA
ERROR IS COMING no listener
MINE tnsnames.ora File : -
Code:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
SONIA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sonia)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = SONIA)
)
)
What this error means??? Help me in connecting to the ORACLE 10g.
I have studied on the net that for Oracle to connect three ora files need to be there. But in my ADMIN Folder two files are created by Oracle Configuration Tools names SqlNet.ORA , TNSNAMES.ORA. LISTENER.ORA file is not created.
-
Jun 19th, 2012, 11:00 AM
#2
Re: Installation of Oracle 10g
The listener.ora is present on the oracle server.
you have listed the contents of your client directory.
C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Jun 19th, 2012, 02:25 PM
#3
Re: Installation of Oracle 10g
Ask your dba to start the listener on the database server.
-
Jun 23rd, 2012, 11:11 AM
#4
Thread Starter
Hyperactive Member
Re: Installation of Oracle 10g
I have installed the oracle 11g database server. Now when I am tryygin to PING, See Below : -
Code:
C:\Oracle>tnsping SONIA
I get the following message.
Use HOSTNAME Adapter to resolve the alias.
Attempting tp contact <DESCRIPTION - <CONNECT_DATA_<SERVICE NAME ->><ADDRESS-<PROTOCOL=TCP><HOST=127.0.0.1><PORT=1521>
OK <20 msec>
I think so, oracle is working Now, If I am not wrong. But I am not getting where to write the QUERY to CREATE TABLE.
-
Jun 24th, 2012, 10:33 AM
#5
Re: Installation of Oracle 10g
 Originally Posted by sonia.sardana
I have installed the oracle 11g database server. Now when I am tryygin to PING, See Below : -
Code:
C:\Oracle>tnsping SONIA
I get the following message.
Use HOSTNAME Adapter to resolve the alias.
Attempting tp contact <DESCRIPTION - <CONNECT_DATA_<SERVICE NAME ->><ADDRESS-<PROTOCOL=TCP><HOST=127.0.0.1><PORT=1521>
OK <20 msec>
I think so, oracle is working Now, If I am not wrong. But I am not getting where to write the QUERY to CREATE TABLE.
Have you tried to fire up sqlplus? If you installed the oracle client, you should have also got sqlplus installed. How are you connecting using sqlplus?
You need to write your create table statements in sqlplus.
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
-
Jun 29th, 2012, 07:36 AM
#6
Thread Starter
Hyperactive Member
Re: Installation of Oracle 10g
I have installed SQL Plus .
In SQL Plus User Name :- SYS . What is the Default Password & Host String to get into the database?
-
Jun 29th, 2012, 08:17 AM
#7
Re: Installation of Oracle 10g
 Originally Posted by sonia.sardana
I have installed SQL Plus .
In SQL Plus User Name :- SYS . What is the Default Password & Host String to get into the database?
The host-string would depend on your entry in the tnsnames.ora file.
To give you an example, the entry in my tnsnames.ora looks like this.
PHP Code:
designdev=
(DESCRIPTION=
(ADDRESS= (PROTOCOL=TCP)(HOST=oracledb.unixmac.com)(PORT=1522))
(CONNECT_DATA= (SID=designdev)))
For this particular entry, I use designdev as my host.
Also from what I recall, there is no password setup for sys and system, when you do a fresh install. I could be wrong and things could have changed since Oracle 8i.
Last edited by abhijit; Jun 29th, 2012 at 08:20 AM.
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|