Solved

ORA-12158 problem

Posted on 1998-12-29
1
1,480 Views
Last Modified: 2008-02-20
I have installed Oracle8 client (8.0.4.0.0) on my NTWS 4.0SP3. The server is located on a NTS 4.0SP3.
The problem is that I cannot operate sqlplus in the proper service.
When I test the connection (For example: In the network assistant) I get the following message:

ORA-12158: TNS:could not initialize parameter subsystem

I copied the configuration (Net80/Admin) files from a working WS and got the same results. I also did all the instructions of the "Problem Determination" section, in the Net8 manual.
What can be the problem?
0
Comment
Question by:Gadi031698
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
mlonnrot earned 50 total points
ID: 1083502
ora-12158 usually means that the sqlnet/net8 client libs failed to locate the tnsnames.ora file. There can be several reasons for this - usually one or more environment variables are not set correctly, you have no privs to read the tnsnames.ora file etc. Check your manual for NT specific env vars, set them, and use tnsping.exe to test the net8 configuration instead of sqlplus.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

749 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