Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> tnsnames/tnsping problems
Hello,
This seems to be a FAQ on Usenet, yet it looks like there is no clear answer.
I am trying to do this:
tnsping <address>
I am trying to do this from the same machine where the Oracle database is running. Listener is running, and my database is running, too. The Unix 'ping' works fine, and TCP/IP in general.
I basically can't ping the <address> no matter how I specified it. Depending on how I specify it (i.e. with or without domain name) I get different errors, such as:
Here are relevant portions of relevant config files. If anyone can see anything wrong with them please tell me. Note: this is Oracle 8.1.5. (patched to .02) on Linux (Red Hat 6.1). The database I created is called 'NMDB'.
FILE: /ora01/app/oracle/admin/NMDB/pfile/initNMDB.ora
db_name = NMDB instance_name = NMDB db_domain = mydomain.com service_names = NMDB
FILE: /ora01/app/oracle/product/8.1.5/network/admin/listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME= NMDB)
(ORACLE_HOME= /ora01/app/oracle/product/8.1.5)
(SID_NAME = NMDB)
)
FILE: /ora01/app/oracle/product/8.1.5/network/admin/tnsnames.ora
DESCRIPTION =
(ADDRESS =
(PROTOCOL = tcp) (HOST = 192.168.254.11) (PORT = 1521) )
(CONNECT_DATA =
(SID = NMDB) )
FILE: /ora01/app/oracle/product/8.1.5/network/admin/sqlnet.ora
NAMES.DEFAULT_DOMAIN = mydomain.com
SQLNET.EXPIRE_TIME = 0
NAMES.DIRECTORY_PATH= (TNSNAMES)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
Any help would be much appreciated.
Thanks!
Otis
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Jan 26 2000 - 13:37:04 CST