Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: connecting problems: "ORA-12154: Could not resolve servicenam

RE: connecting problems: "ORA-12154: Could not resolve servicenam

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Tue, 05 Jun 2001 06:51:30 -0700
Message-ID: <F001.0031BE27.20010605060531@fatcity.com>

Mikael,

Do you have tnsnames.ora set up on your unix host?  Any time you do '@' in your connect string it is connecting via a listener.  That's why you can (most likely) connect by setting your ORACLE_SID in your environment on the local host and typing sqlplus system/manager and not sqlplus system/manager_at_SIDNAME.

Put the correct entry in your tnsnames.ora in the $TNS_ADMIN directory ($ORACLE_HOME/network/admin) and it should work.

HTH
Lisa Koivu
Oracle Database Administrator
954-935-4117

The information in the electronic mail message is Cendant confidential and may be legally privileged, it is intended solely for the addressee(s) access to this internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.

The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. Cendant Corporation or Affiliates are not liable for any loss or damage arising in any way from this message or its attachments.

-----Original Message-----

From:   Mikael Granhed [SMTP:Mikael.Granhed_at_semcon.se]
Sent:   Tuesday, June 05, 2001 8:51 AM
To:     Multiple recipients of list ORACLE-L
Subject:        connecting problems: "ORA-12154: Could not resolve servicename"

Hi!

I have just installed Oracle8.06 on SUN/Solaris server. The installation of the database was successfull. But when I´m checking the connection with the listener with the command "sqlplus system/manager_at_mtipdb_tcp". I got the following error: "ORA-12154: Could not resolve servicename". 

I have also tried to connect to the server from a NT-client and that works fine.

It seems to be some problem with the internal connection on the server. Maybe it is a parameter that is not set correctly?

Does anybody know what the problem can be?

Thanks in advance!

Best regards
Mikael
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mikael Granhed
  INET: Mikael.Granhed_at_semcon.se

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from).  You may also send the HELP command for other information (like subscribing). Received on Tue Jun 05 2001 - 08:51:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US