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

Home -> Community -> Usenet -> c.d.o.server -> ORA-12154: TNS:could not resolve service name

ORA-12154: TNS:could not resolve service name

From: Frank Siegel <NorthernSnow_at_worldnet.att.net>
Date: Tue, 30 Mar 1999 12:56:34 -0500
Message-ID: <7dr39i$m16$1@bgtnsc02.worldnet.att.net>


Thanks so much in advance! I don't know what else to look for or do? Below, please find a lot of info.

Much Appreciated,
Frank Siegel
New Hampshire


--SQL/NET version 2
--ORACLE 7.4

SQL> select *
  2 from d_los.load_control_at_los_frank.world; from d_los.load_control_at_los_frank.world
                        *

ERROR at line 2:
ORA-12154: TNS:could not resolve service name

SQL> select *

     from d_los.load_control_at_los_frank
SQL> /
from d_los.load_control_at_los_frank

                        *

ERROR at line 2:
ORA-12154: TNS:could not resolve service name

SQL> connect d_los/password_at_los
Connected.

SQL>

  1  select substr(GRANTEE,1,10) Grantee,
  2         substr(OWNER,1,12) owner,
  3         substr(GRANTOR,1,12) grantor,
  4         substr(PRIVILEGE,1,15) privilege,
  5         substr(GRANTABLE,1,10)  grantable
  6 from user_tab_privs
  7* where table_name = 'LOAD_CONTROL'
SQL> / GRANTEE OWNER GRANTOR PRIVILEGE grantable
---------- ------------ ------------ --------------- ---
PUBLIC     D_LOS        D_LOS        ALTER                 NO
PUBLIC     D_LOS        D_LOS        DELETE              NO
PUBLIC     D_LOS        D_LOS        INDEX                  NO
PUBLIC     D_LOS        D_LOS        INSERT                NO
PUBLIC     D_LOS        D_LOS        SELECT              NO
PUBLIC     D_LOS        D_LOS        UPDATE              NO
PUBLIC     D_LOS        D_LOS        REFERENCES   NO

7 rows selected.

SQL>


SQL> connect d_warehouse/password_at_dataprod Connected.

SQL>

  1  select substr(OWNER,1,10) owner,
  2         substr(DB_LINK,1,20) db_link,
  3         substr(USERNAME,1,15) username,
  4         substr(HOST,1,10) host,
  5         CREATEd

  6 from dba_db_links
  7* where db_link = 'LOS_FRANK.WORLD'
SQL> / OWNER DB_LINK USERNAME HOST CREATED
---------- -------------------- --------------- ---------- ---------
PUBLIC LOS_FRANK.WORLD D_LOS LOS 30-MAR-99 LOS.world =
  (DESCRIPTION =
    (ADDRESS_LIST =
        (ADDRESS =
          (COMMUNITY = tcp.world)
          (PROTOCOL = TCP)
          (Host = 1111.11.111.111)
          (Port = 1521)
        )
        (ADDRESS =
          (COMMUNITY = tcp.world)
          (PROTOCOL = TCP)
          (Host = 111.11.111.111)
          (Port = 1526)
        )

    )
    (CONNECT_DATA = (SID = LOS)
    )
  ) Received on Tue Mar 30 1999 - 11:56:34 CST

Original text of this message

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