Oracle8i Start problem - TNS:Service Name Incorrect

Hi Folks
My installation of Oracle8i was working fine. I installed webDB today and that was worked fine too.
But before shutting down the machine I forgot to shutdown the database.
When I reboot and try to start the database as root thus: ./oracle8i start, I get the following error -
ORA-12162 TNS:Service name is incorrectly specified.
Looks like something is wrong with SID or TNSNAMES.
Could somebody suggest a solution please.
Thanks.

For information sake, if someone else comes across the same situation, here is the cause and solution:
When webDB2.2 is installed it seems to make an entry in the /etc/oratab file for the service name that is provided during installation. Cosequently my 'oratab' file went from:
ora8i:/../oracle/product/8.1.6:Y
To:
*:/../oracle/product/8.1.6:Y
ora8i:/../oracle/product/webdb22:N
Hence the problem when 'oratab' is invoked.
I don't know if webDB is supposed to make this kind of a change.
I replaced the '*' with 'ora8i' and everything works fine including webDB

Similar Messages

  • TNS Service Name selector for ODBC config on W2k shows trash w/ IC 10g

    Hello!
    I'm having some problems with the Instant Client 10g on a Windows 2000 Server SP4 machine. On this machine, I'm trying to setup a ODBC connection and fail, as the "TNS Service Name" list only contains "junk". Please see the screenshot at
    http://server3.pictiger.com/img/613385/computer-games-and-screenshots/w2k-oracle-odbc-tns-service-name-trash.php
    To get so far, I downloaded and unzipped the following files to C:\Oracle\instantclient_10_2:
    * instantclient-basic-win32-10.2.0.2-20060508.zip
    * instantclient-odbc-win32-10.2.0.2-20060508.zip
    * instantclient-sqlplus-win32-10.2.0.2-20060508.zip
    Next, I added some System environment variables:
    * ORACLE_HOME=C:\Oracle\instantclient_10_2
    * TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.ora
    To PATH, I added (at the end): C:\Oracle\instantclient_10_2. After having done so, I created the file C:\Oracle\instantclient_10_2\network\admin\tnsnames.ora, which contains exactly this (see http://vz6tml.pastebin.ca/211376):
    ORABDE.EUROPE.DELPHIAUTO.NET =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.233.30.8)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orabde.delphi)
        )That's the only file with "tnsname" in its name on the local harddrives of this server.
    After having done all of this, I ran odbc_install and had the server rebooted later in the night.
    This morning, ie. after reboot, I logged on to the system and started the "Data Sources (ODBC)" configuration of Windows 2000. I clicked on "Add" and selected "Oracle in instantclient10-2". Then I expanded the list of the available TNS Service Name entries and see only junk. On a different W2k server, I am able to setup a ODBC connection using the Oracle Instant Client 10g.
    What am I doing wrong, and how do I do it correctly?
    Thanks a lot,
    Alexander

    Hi!
    I found the error:
    TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.oraThat's wrong. The environment variable TNS_ADMIN has to point to the directory containing the tnsnames.ora file; it must not contain the complete path to the tnsnames.ora file.
    After changing TNS_ADMIN to C:\Oracle\instantclient_10_2\network\admin, all is fine.
    Thanks,
    Alexander

  • Resolving the Server Name from a TNS Service name

    A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
    Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
    Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
    Many Thanks

    Not that I'm aware of.
    If you were using an Oracle Names server to resolve tnsnames, rather than a tnsnames.ora file, this would be a lot easier. You'd just update the Oracle Names server and all the clients would start pointing at the right machine.
    Justin

  • TNS service name gives preference to connect instance which is in a mount

    OS:HPUX
    Oracle version: 11.1.0.7
    why TNS service name give preference to connect instance which is in a mount mode and dsiaply 'ORA-01033' as mentioned below.
    I wanted to connect only instance which are OPEN(not MOUNT) using connect string and want to know status of all instances using SQL query "select instance_name,status from gv$instance". How can I achive this?
    I have four node rac cluster and four instance, one instance on each node and status of instances are as shown below
    SQL> select instance_name,status from gv$instance;
    INSTANCE_NAME STATUS
    dtrac1 OPEN
    dtrac4 STARTED
    dtrac3 OPEN
    dtrac2 MOUNTED
    I have tried to connect using "dtrac" service name ( details of tnsnames gives below) from any node it gives priority to instance which is mount and shows following error messages
    SQL> conn system/vcs@dtrac
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
    Warning: You are no longer connected to ORACLE.
    SQL> conn system/vcs@dtrac
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
    SQL> conn system/vcs@dtrac
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
    SQL>
    when I changes dtrac2 instance to either NOMOUNT or OPEN state then connection properly goes to instances which are OPEN state.
    tnsname.ora file:
    ==================
    # tnsnames.ora Network Configuration File: /oracle/db11g/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DTRAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    DTRAC4 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac4)
    DTRAC3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac3)
    DTRAC2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac2)
    DTRAC1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac1)
    LISTENERS_DTRAC =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    LISTENER_DTRAC4 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    LISTENER_DTRAC3 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    LISTENER_DTRAC2 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    LISTENER_DTRAC1 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))

    Hi Bjoern
    Thanks again for your input.
    I have some commnet on your input.
    I have started instance in mount mode using sqlplus. But it doesn't make diffrence if I stated using srvctl since service get ready as we started instance either OPEN/MOUNT mode using srvctl or sqlplus.
    As you are saying diffrent way of configuration of service by mentioning preferred and available attributes for instances but its not useful to know instances which are open. Its useful for segregate work to specific nodes by creating diffrent services for diffrent application.
    'crs_stat -t' shows resources online even instance is either nomount/mount/open state. I want to exact state of instance so its not useful for me.
    Below example showing service get READY status even I start instanc with mount option using SRVCTL
    (oracle@slpal06)[~/db11g/network/admin] srvctl stop instance -d dtrac -i dtrac2
    (oracle@slpal06)[~/db11g/network/admin] lsnrctl stat
    LSNRCTL for HPUX: Version 11.1.0.7.0 - Production on 17-JUN-2009 18:10:03
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_SLPAL06
    Version TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
    Start Date 03-JUN-2009 20:38:19
    Uptime 13 days 21 hr. 31 min. 45 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/db11g/network/admin/listener.ora
    Listener Log File /oracle/db11g/diag/tnslsnr/slpal06/listener_slpal06/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.138.26)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.137.145)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "dtrac" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtracXDB" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtrac_XPT" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    The command completed successfully
    (oracle@slpal06)[~/db11g/network/admin] srvctl start instance -d dtrac -i dtrac2 -o mount (oracle@slpal06)[~/db11g/network/admin] lsnrctl stat
    LSNRCTL for HPUX: Version 11.1.0.7.0 - Production on 17-JUN-2009 18:11:19
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_SLPAL06
    Version TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
    Start Date 03-JUN-2009 20:38:19
    Uptime 13 days 21 hr. 33 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/db11g/network/admin/listener.ora
    Listener Log File /oracle/db11g/diag/tnslsnr/slpal06/listener_slpal06/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.138.26)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.137.145)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "dtrac" has 4 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac2", status READY, has 2 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtracXDB" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtrac_XPT" has 4 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac2", status READY, has 2 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    The command completed successfully
    (oracle@slpal06)[~/db11g/network/admin]

  • TNS Service Names

    I am unable to get the ODBC Driver version 8.1.6.4.0 to get a list of TNS Service names from a shared TNSNAMES.ORA file. If I type in the service name and test the connection the test is successfull so I know that the shared file is being used. Is there a way to get the TNS services from a shared tnsnames.ora file to be listed in the pulldown?

    Can future versions of the ODBC driver get the location of the TNS names file from the registry if the TNS_ADMIN value exists for the ORACLE HOME corresponding to the ODBC driver you are using?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Justin Cave ([email protected]):
    If I remember correctly, when I implemented the TNS name dropdown, I blindly grab the tnsnames.ora file in the local Oracle home. If the shared file isn't there, I wouldn't expect this to work.
    Justin<HR></BLOCKQUOTE>
    null

  • Resolving a Server Name from a TNS Service Name

    A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
    Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
    Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
    Many Thanks

    tring TNSPING <service>
    the outputline contents the HOSTname

  • 48 character limit on TNS Service Name

    In the Oracle ODBC Driver Configuration Dialogue Box there is a 48 character limit in the TNS Service name file. In my case, I need 56 characters if I use the //HOST:PORT/service_name format. The service_name is the format SID.host. The full TNS service name can get quite long since the host is repeated twice.
    For me a workable workarounds is to use the IP address in the HOST field (but not the service_name). I didn't test, but another workaround I presume is to use a TNS_NAMES.ora file, but that adds complexity to a tool that's supposed to be simple.
    Better yet, Oracle developers need to make the TNS service name field a bit longer (96 chars?).
    Now that it is working I am happy with the concept and usability of the Instant Client.
    Trenton

    Hi!
    I found the error:
    TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.oraThat's wrong. The environment variable TNS_ADMIN has to point to the directory containing the tnsnames.ora file; it must not contain the complete path to the tnsnames.ora file.
    After changing TNS_ADMIN to C:\Oracle\instantclient_10_2\network\admin, all is fine.
    Thanks,
    Alexander

  • TNS Service Name

    While I am configuring DNS for Oracle 10g at that time i come to the TNS Service Name
    but as i dnt know what TNS Service means ?? I wanted to know what does it stand for ?
    And also I am seeing three options to select named as below
    EXTPROC_CONNECTION_DATA
    ORACLR_CONNECTION_DATA
    XE
    I also wanted to know the purpose of each above attributes. So please Guide me..!! and know me what it means ?? Thanks in advance

    You can refer this http://www.ispirer.com/wiki/sqlways/users-guide/setting-up-database-connection/oracle/tns-service-name
    TNS service name is used to connect to a database remotely.
    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <HOSTNAME>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = prim)
    In the above example, PROD is the NET ORACLE SERVICE NAME(alias name). This is used while connecting to the database from the remote server.
    Host is the hostname where the database resides.
    SERVICE_NAME is the db_unique_name of the database that you are connecting.
    So when connecting to the database remotely, you use
    sqlplus username/<password>@<connection string>
    sqlplus username/<password>@<prod>

  • TNS Service Name is : OracleORACLE_HOMETNSListener and is failing to start

    I think one of my guys has been messing with the configuration of my Oracle 10g server and not being an expert in this I am somewhat bermused !!
    Can anyone tell me where the TNS Service is picking up its name from....as you can see it contains ORACLE_HOME instead of the name of the oracle instance.
    Please help me if you can
    Many Thanks in advance,
    Andy

    I have copied just some of the lines from the entries from yesterday (no entries for today) I hope this will give you enough information :
    24-NOV-2010 09:00:02 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=62821)) * establish * BOBJCMS * 0
    24-NOV-2010 09:00:06 * service_update * bobjcms * 0
    24-NOV-2010 09:00:43 * ping * 0
    24-NOV-2010 09:00:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:00:52 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=62908)) * establish * BOBJCMS * 0
    24-NOV-2010 09:02:19 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=services)(ARGUMENTS=64)(SERVICE=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521))))(VERSION=169870336)) * services * 0
    24-NOV-2010 09:02:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:04:43 * service_update * qci * 0
    24-NOV-2010 09:04:46 * service_update * bobjcms * 0
    24-NOV-2010 09:04:58 * service_update * qci * 0
    24-NOV-2010 09:05:20 * service_update * bobjcms * 0
    24-NOV-2010 09:05:31 * service_update * qci * 0
    24-NOV-2010 09:05:43 * ping * 0
    24-NOV-2010 09:05:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:05:52 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=63355)) * establish * BOBJCMS * 0
    24-NOV-2010 09:05:59 * service_update * bobjcms * 0
    24-NOV-2010 09:06:01 * service_died * bobjcms * 12547
    TNS-12547: TNS:lost contact
    24-NOV-2010 09:06:01 * service_died * qci * 12547
    TNS-12547: TNS:lost contact
    24-NOV-2010 09:06:03 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\bin\emagent.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=63673)) * establish * BOBJCMS * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    and these are from the sqlnet.log :
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=qci.euroking.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=BOBJ_CMS)(SERVER=DEDICATED)(CID=(PROGRAM=C:\oracle\product\10g\jdk\jre\bin\java.exe)(HOST=QCI)(USER=Administrator))))
    VERSION INFORMATION:
         TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 10.2.0.4.0 - Production
    Time: 25-NOV-2010 10:09:24
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0

  • TNS service name error

    Hi. I faced some problems when I try to create a linkage between 2 DB on 2 different machine. Initially there is a linkage between these DBs, which connect DB A to DB B.
    I can get DB B's data when I logon to DB A.
    Then I want to create another linkage which connect DB B to DB A but failed.
    The sql statement I used to create the linkage is:
    create public database link L_TEST
    connect to DB_B_USER
    using 'DB_B';
    but this error occured:
    ORA-12154: TNS:could not resolve service name
    Please advise. Thank you

    It could be a db_domain problem. Ensure that it is defined the same on both machines. If it is not (and you can't change it) change you db link to include the db_domain in the connect string i.e 'DB_B.world' vice 'DB_B'.

  • TNS Service starting error- Windows 7.0 Home premium- 64bit machine

    I bought a new DELL Inspiron machine, where windows 7.0 home premium was installed. It is now a 64 bit system.
    I installed Oracle 10g database. It goes well until end, but throws TNS Service could not be started as an error message at the end. However, it mentions that the error could be resolved by starting the service manually. I tried to do that, but I get TNS: Permission Denied error.
    I started installation process by login to adminstrator login. I tried starting the TNS service with admin login.
    Is the error message I am getting because of 64 bit machine? Is permission denied because of Home premium?
    Let me know and suggest your advices.
    Please suggest if there are any turn around for this issue. I am trying to solve this from past 15 days.

    My views is you didn't read my response.
    So here it is again
    Oracle doesn't run on Windows Home. Period. Windows Home doesn't have accounts.
    Oracle 10g doesn't run on Windows 7. Moreover it is desupported.
    11gR2 is about to be certified on Windows 7, but not on Windows Home.
    Sybrand Bakker
    Senior Oracle DBA

  • ODBC TNS Service drop down filled with garbage records.

    We have Oracle installed on our network. I am trying to install the Oracle ODBC drivers onto my Windows XP machine to create a connection to use in Crystal Reports XI.
    I do not have any oracle products installed on my machine so I downloaded the basic client and the client odbc zip files and installed them into a local directory and then ran the install odbc exe and added the windows PATH which installed the odbc source. When I add a new Windows ODBC Data Source on the configuration screen the list of TNS Service names is filled with dozens of garbage records. I would guess this is not correct so how do I resolve this? I assume this is suppose to be a list of connections to oracle databases read from a tnsnames.ora file but I could be wrong. I find no tnsnames.ora file on my computer but I assume there is this file in the oracle directories on the server somewhere. I am not sure where to go from here. Can anyone advise on how to get the connections I need and clean up the garbage? Thanks.
    Rick

    Hi,
    I am having the same issue, did you ever resolve this issue ?
    I do have a reg setting and enviroment variable for this setting that both point to the same place and I can actually use odbc to create connections but when I use the drop down list I just get garbage.
    Simular setup to your , xp sp3 , instant client , odbc client , sql client.
    I also have an nls_lang as well as adding the path of the isntall to the path var.

  • Fundamental Problem: ORA-12154: TNS:could not resolve service name

    Hello,
    I am faced with a fundamental problem:
    ORA-12154: TNS:could not resolve service name
    I can say with a high level of confidence that the TNSNAMES.ora configuration file is not the problem. My peer is using the exact same file with no issues. I am using the TOAD database utility to connect to the db host. Also, I have ORACLE_HOME defined and the file is located in /network/ADMIN.
    Any ideas?

    Hello,
    Make sure your toad looking into right tnsnames.ora; also try this from command line after adding following entry to your tnsnames.ora.
    sqlplus username/password@ECDEV
    ECDEV =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (PROTOCOL = TCP)
            (HOST = rscdd01)  --> you can try ipaddress of your server name as well
            (PORT = 1521)
        (SDU = 8192)
        (CONNECT_DATA =
          (SERVICE_NAME =ECDEV)
          (INSTANCE_NAME=ECDEV)
      )Edited by: OrionNet on Dec 23, 2008 2:22 PM

  • Tns error ora-12162 net service name is incorrectly specified

    Hello gurus ,
    I am trying to connect database using telnet from windows machine ,
    after login os , username ,password
    i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
    I have checked my tnsnames.ora file at the database system , i find all the entries are correct
    plzzz can anybody help me .. how to connect database via telnet

    user10608990 wrote:
    Hello gurus ,
    I am trying to connect database using telnet from windows machine ,
    after login os , username ,password
    i got $ prompt , after that i have given sqlplus command , then I have enter username,pwd correctly ,but I am unable to connect its giving error " Net service name is incorrectly specified ,
    I have checked my tnsnames.ora file at the database system , i find all the entries are correct
    plzzz can anybody help me .. how to connect database via telnet"I have enter username,pwd correctly "
    "i find all the entries are correct "
    And yet, it doesn't work!
    =============
    "I have checked my tnsnames.ora file at the database system "
    when you start sqlplus ... is that on the same machine that is running the db, or some other machine? Remember .. (and I'm really feeling like a broken record on this one) <b><i>TNSNAMES.ORA IS USED BY THE <U>CLIENT</U> PROCESS.</i></b>
    Show us the contents of your listener.ora file -- from the server machine
    Show us the contents of your tnsnames.ora and sqlnet.ora files -- from the client machine.

  • OSX SQLPLUS error:ORA-12162:TNS:net service name is incorrectly specified

    Dear oracle community,
    just stepped today into oracle world.
    Installed OracleXE on my remote UBUNTU server.
    From the server, sqlplus works perfectly.
    From my client (followed this tutorial http://www.danilovizzarro.it/?p=10 ), i can connect via the
    sqlplus connection string: #sqlplus hr/PASS@HOSTipADDRESS/XE .
    But when i try just sqlplus and enter username/password later on, i get
    ORA-12162:TNS:net service name is incorrectly specified .
    My config:
    OS - MAC OS X LEOPARD 10.5.5
    #echo $ORACLE_SID
    XE
    #echo $ORACLE_HOME
    /opt/oracle/instantclient_10_2/
    #echo $TNS_ADMIN
    /opt/oracle/tns/
    # cat /opt/oracle/tns/tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOSTipADDRESS)(PORT = 1521))
    (CONNECT_DATA =
    (SID = XE)
    Any ideas - is it that sqlplus doesn't locate my tnsnames.ora file, or, maybe, there's an error in it?
    thanks for any ideas, recipies, suggestions :)
    enjoy the day,
    james

    If I understand you correctly you only give userid and password,but no connect string. That would be a LOCAL connection,which will not work,because you issue the command on the client,not the database server. For local connections you have to specify a value for ORACLE_SID. If you do that on your client (doesn't make sense , because you don't have a database here), you should see a message like 'Oracle not available'. If ORACLE_SID is not defined you get ORA-12162,which is a little misleading.
    Werner

Maybe you are looking for