Oracle Database 11 g installation problem: ORA - 12560:TNS: Protocol adapter error.

People,

Hello. Initially, my Windows XP host name is 'localhost' and IP 127.0.0.1.

I installed Oracle Database 11 g with Windows XP successfully and all customers in the database with the database instance running.

For some reason, I uninstalled all of the database server and remove the whole installation directory /oracle.

I have configured the address IP of Windows XP in 192.168.196.101 to ping other machines.

For my needs, I installed Oracle Database 11 g with Windows XP again. During step 7 of 8: Oracle Database Configuration Assistant, I got this error:

ORA - 12560:TNS: Protocol adapter error.

I click on the button "Password management", there is no line in this window (no user name, no account of the lock).

I have check the listener as below:

C:\ > lsnrctl
LSNRCTL > start
His output: earphone HEADSET name has already been started.
LSNRCTL > status
Its release:... Service DB1 has 1 instance. The instance BD1 ready state. The command completed successfully.

I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is:

Listen [0] = LISTENER address = (ADDRESS = (PROTOCOL = TCP (port = 1522))(HOST=localhost))

I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below

HOST = localhost port = 1522

I think that HOST = localhost and port = 1522 is the cause of the ORA-12560 error because Windows XP was configured in HOST = 192.168.196.101.

But I do not understand how to solve this problem.

Can any folk tell me how to solve this problem? must cancel the installation of 8 on step 7 and install it again?


Thank you.

> The problem is that I am installing Oracle Database 11 g with Windows XP

Why? above is NOT a supported combination.

What makes you think that it should work without error?

Tags: Database

Similar Questions

  • ORA-12560: TNS:protocol adapter error. Virtual MACHINE works on old MBP and Win7 but not on new MBP [mid 2015 retina], speed or network problem?

    We strive to use our VM on the new retina MBP (mid-2015) with MacOS X 10.11 (El Capitan) but we had a problem starting from Oracle. If we first converted our ESX VM but once on the Mac laptop Oracle (v12.1.0.1.0 on WIN2012R2) does not open the database, error;

    ORA-12560: TNS:protocol adapter error

    Does not change us any setting on the virtual machine itself so services work fine. Network has set the IP with host only. Tried with Fusion 7.1 & Fusion 8.0.2 new Mac with nothing doesn't. Also with the different versions of the VM tools. Tried to remove the NIC in Fusion and recreate, don't sucses.

    Funny enough the same virtual machine starts fine on PC (workstation 10.3.0 & Win7), MBP beginning 2011 (Fusion 7 & Mac 10.10) or ESX itself for Oracle opens the database!

    That's why we think in the direction of the new MBP specific? speed or network issue? Ring the bells?


    Help appreciated!

    Bottom line, this is a problem of Oracle who dislikes the MBP on a virtual machine.

    for reference;

    Virtual MACHINE works very well on all platforms, but not on the latest MacBook Pro (retina, 15 inch, mid-2015). So, when you try to use sqlplus you might get the error that there is no such thing as SID. Earphone works very well, but the DB process does not record with earphone or work correctly also. But the process is running and a SID tnsping returns an OK. This isn't a problem of configuration Oracle as the VM and DB works well from the moment where you run the virtual machine on a PC or an old MBP. Either way, Virtualbox has the same problem so not a problem of Fusion.

    I will record a deal with Oracle but I doubt that it is corrected.

  • ORA-12560: TNS:protocol adapter error (tried all the possible solutions)

    Hello

    H1. My details below:-

    Platform: windows 2003 Server
    The BD name: ORCL, B1prod, emrep

    My variable env as below:

    ORACLE_SID = orcl
    ORACLE_HOME = C:\OracleHomes\db10g
    SQLPATH C:\OracleHomes\db10g\dbs =
    NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252
    TNS & Listner file located: C:\OracleHomes\db10g\NETWORK\ADMIN

    The TNS file details
    # tnsnames.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    
    EMREP =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = emrep.itsolution1.local)
        )
      )
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.world)
        )
      )
    
    B1PROD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = b1prod.world)
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    The listner file details:

    # listener.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\OracleHomes\db10g)
          (PROGRAM = extproc)
        )
      )
    
    LOGGING_LISTENER = OFF
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          )
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = server01.itsolution1.local)(PORT = 1521))
          )
        )
      )
    
    TRACE_LEVEL_LISTENER = OFF
    On CMD tried-
     set Oracle_sid=orcl 
    H1. Problem: -.

    Im getting the error when connecting to sql plus below:
     ORA-12560: TNS:protocol adapter error
    I checked my listener service that is currently running.
    But when I'm typing: lsnrctl cmd invites through the error as below:
    C:\Documents and Settings\Administrator>lsnrctl
    'lsnrctl' is not recognized as an internal or external command,
    operable program or batch file. 
    I checked oracle_home/bin-lsnrctl exist. I can run lsnrctl.exe from there, but not cmd.

    FYI: I installed the Oracle Grid Control database

    Can anyone advice why I can't connect to sql plus?

    Please let me know if you need more clarification.

    Control Panel of your win Server > adm tools > services >OracleOraDb10g_home1TNSListener

    Is set to manual/automatic >
    He started or not >

    If this is not the case, start it.

  • ORA-12560 TNS Protocol adapting Error

    Hello everyone,

    When I connect forms oracle 11g R2 of the oracle 10g xe database this error (ORA-12560 TNS Protocol Adapter Error) occur why?

    Untitled.jpg

    As you use the database to 10G XE. go to \oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN


    Open the file tnsnames.ora and copy the configuration of XE and paste under the last # of your published file.

    then save, and try to connect.

    Hope this helps

    Hamid

    If someone useful or appropriate please mark accordingly.

  • ORA-12560: TNS:protocol adapter error rman

    Hi all

    I am running xp and the version of oracle 10.2... I created a dummy database with name comp using dbca... used FRA and took a backup if rman... I have the backup now in FRA...

    I droped the database to do a restore of test... but I can't even connect to rman or sqlplus? I was able to connect to rman, before taking a backup... but now I turn... couldn't understand why... any help would be appericiated.

    C:\oracle\sql>set ORACLE_SID=comp
    
    C:\oracle\sql>
    C:\oracle\sql>echo %ORACLE_SID%
    comp
    C:\oracle\sql>rman target /
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 09:54:16 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12560: TNS:protocol adapter error
    
    C:\oracle\sql>
    C:\oracle\sql>
    C:\oracle\sql>lsnrctl status
    
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUL-2011 09:54:20
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date                06-JUL-2011 09:53:53
    Uptime                    0 days 0 hr. 0 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1521)))
    Services Summary...
    Service "COMP" has 1 instance(s).
      Instance "COMP", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    C:\oracle\sql>

    user8363520 wrote:
    Hi all

    I am running xp and the version of oracle 10.2... I created a dummy database with name comp using dbca... used FRA and took a backup if rman... I have the backup now in FRA...

    I droped the database to do a restore of test... but I can't even connect to rman or sqlplus? I was able to connect to rman, before taking a backup... but now I turn... couldn't understand why... any help would be appericiated.

    If you have backup and that you have removed the database, then you can create this new.

    (1) create directories for the user, dumpdest audit and control, online newspaper, background, data files.
    (2) Create OracleServiceComp if it is does not exist using ORADIM utility (oradim-new - sid COMP - intpwd - pfile )
    (3) after the startup of the oracle services

    set ORACLE_SID=COMP
    rman target /
    /*if you do not have spfile also then you have to restore it from
    full/auto backup or startup database using pfile(create it manually)*/
    startup nomount ;
    restore controlfile from 'full or autobackup location';
    alter database mount;
    catalog start with 'backup location';
    restore database;
    recover database;
    alter database open resetlogs;
    
  • ORA-12560: TNS:protocol adapter error (10.2.0.1)

    Hello


    database:-10.2.0.1 (8.1.7.4 through DBUA upgrade)
    OS:-Windows 2000 Server

    In the Sql (10.2.0.1) editor when I give the command "conn / as sysdba ' I get the error below:


    SQL > conn / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error

    I can connect with the user SYS by using TOAD but cannot using the sql Editor

    and when I open sql (8.1.7.0) editor, must be connected to the SYS user.

    any solution?

    Regarding

    Hello

    If you got your answer please correct question mark and close thread...

    Here you can read the forums for that label...

    http://forums.Oracle.com/forums/Ann.jspa?annID=718

    Thanks and greetings
    VD

    Published by: vikrant dixit on July 13, 2009 04:35

  • SQLDEVELOER = > ORA-12505 / SQLPLUS = > ORA-12560: TNS:protocol adapter error

    Hi guys, I recently installed Oracle11g on my computer laptop windows 7. I get ORA-12560 error. I have installed and uninstalled times couple Oracle, I guess he can be disheveled windows services or some other parameters.

    Universal Oracle install created following listener.ora and tnsnames.ora.
    The tnsnames.ora seems incomplete for me.

    Any help to solve this problem is appreciated.

    ************listener.ora****************************************

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\orains\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\orains\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = abc - xyz - PC.gateway.2wire .net) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\orains

    tnsnames.ora* *.

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    **************************************************************************

    C:\Users\abc-XYZ > LSNRCTL STATUS

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on May 25, 2013 02:21
    : 34

    Copyright (c) 1991, 2010, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Prod
    ction
    Start date may 23, 2013 23:43:57
    Operating time 1 day 2 h 37 min 39 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\orains\product\11.2.0\dbhome_1\network\admin\listen
    ER.ora
    C:\orains\diag\tnslsnr\abc-XYZ-PC\listener\alert\ log listener
    log. XML
    Summary of endpoints listening...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=abc-xyz-PC) (PORT = 1521)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    The command completed successfully

    user1048437 wrote:
    Looks like you don't have a database.
    Sqlplus error means that you do not have a default set ORACLE_SID. The means of error sqldeveloper connection identifier you use Xe? ORCL? is not running.

    Go to control panel services and are looking for what is called OracleServicexxxx. If it is not there you don't have a database.
    If it's there, xxxx is that you must specify in your connection sqldeveloper.

    Jeff,

    I don't have anything with OracleServiceXXXX in my windows services.
    Why is it missing? Is this something I've done or (not) during installation?

    I guess that you have selected the option to create a database.

    I could use the database Configuration Wizard to create a database.

    This is the best option at this point.

    I have the suite starting with Oracle

    OracleOraDb11g_home1TNSListener
    OracleOraDb11g_home2TNSListener
    OracleOraDb11g_home3TNSListener
    OracleOraDb11g_home3ClrAgent
    OracleRemExecService
    OracleMTSRecoveryService
    Oracle_app_abc ~ product_112 ~ 1.0_dbhome_1ConfigurationManager

    I guess that OracleOraDb11g_home3TNSListener came with the most recent installation. How can I get rid of all previous headphones? I believe that I don't need them.

    Are still there the previous installations? You must run the net configuration assistant in each installation and remove the listener. If you can't that set them off. You can also check the SC utility that can be used to remove services.

  • ORA-12560: TNS:protocol adapter error

    Hello!

    I use Windows 7 x 64, Microsoft Visual Studio Express 2013 c# and Oracle 11 g Database Express Edition. I installed ODAC1120320_x64.zip. I can login to the database in SQL command line, but not in c#. I have fuite error: ORA-12560: error adapter TNS:protocol.

    In the code I write:

    using Oracle.DataAccess.Client;

    ...

    public static string connectionString = @"User Id = NATA; Password = < my_password >; »

    using (OracleConnection connection = new OracleConnection (connectionString))

    {

    Try

    {

    connection. Open(); There is a mistake here

    } ...

    I don't know how to identify the database of tha.

    Maybe Data Source? See http://docs.oracle.com/cd/E11882_01/win.112/e23174/featConnecting.htm#ODPNT163

  • : Error ora-12560 tns protocol adapt

    Hello world
    I created a database and active 'sys' and 'system' "scott/tiger" users...

    All of my users worked in "Enterprise Manager" and "Sqlplus" but it's several days that these users work in EM, but they do not work in "Sqlplus".

    The error is: ' * ora-12560 tns protocol adapting error. "

    I checked the 'services' and 'Start' my 'Listener '...

    What should I do?
    That's why like this?


    Thank you all

    Have you tried

    Set ORACLE_SID = EASYDW
    sqlplus sys/syspass as sysdba

    And what is the result?

  • ORA-12560 TNS protocol adapter 11g (11.1.0.6) error

    Hi all

    I have Oracle 11g installed on my machine and when I tried to connect to sql more I got the below error:

    Error ORA - 12560 TNS protocol adapt

    By setting the ORACLE_SID = orcl by navigating to the bin of the Installation of Oracle disappaears above error directory and I am able to connect from sql plus.

    My intention is to create a db backup for who I am trying to use the exp command... This time the same error appears.

    Also the solution to the ORACLE_SID is heavy... everytimt I want to use sql plus, I need to go and set the ORACLE_SID.

    Can someone please help me find a good solution for this?

    Any help would be appreciated friends...

    Thanks in advance!

    Kind regards.

    Alicia

    Alicia,

    Thanks for the info on the o/s. You have the only Pb on the box? You can set oracle_sid permanently on the operating system. This,
    Start-> Control Panel-> system-> advanced-> Environment Variables tab and add the following new entry under system variables:

    ORACLE_SID

    Restart, and then make sure that the variable oracle_Sid is set and the value is there.

    HTH
    Aman...

    Published by: Aman... on June 20, 2009 14:54
    added a bit more.

  • AMT-12560: error adapter TNS:protocol and 00530-TNS: Protocol adapter error

    I just installed oracle 11g on my windows xp professional box. What user and password I will use. Should what username and password I use to connect to sql plus?
    When I use 'Scott' 'Tiger' it gives me ORA-12560: TNS:protocol adapter error occurred errorwhen I try to start the service I get

    LSNRCTL > start
    From tnslsnr: Please wait...

    Cannot open the service < OracleOraDb11g_home1TNSListener >, error 1060.
    Failed to start the service, error 203.
    AMT-12560: TNS:protocol adapter error
    AMT-00530: Protocol adapter error

    I can access the database on the same machine. Also should I have an ORACLE_HOME for sql more work or it is not necessary?

    Do State lsnrctl and after its release? try to do this sqlplus "virtue sysdba" and make sure that you have entered right tns in tnsnames.ora as in the example I posted here earlier. "."

    Concerning
    OrionNet

  • AMT-12560: TNS:protocol error adapter 00530-TNS: Protocol adapter error

    Cannot start the listening service.
    Working with Oracle Database 11 g 2 on Windows 7.
    I just installed Oracle with the option "install the software only.
    You have already configured the instance, the database, the views of the dictionary, etc.
    Created tsnames.ora and sqlnet.ora, listener.ora as shown below.

    Before installing Oracle, I followed the instructions on Oracle
    documentation to install a loopback adapter.
    It is set up as the main Board as indicated on the
    instructions. The name is "gabylan" (before the computer
    called "P4". I created the 'hosts' file as noted, the oracle_hostname
    variable, etc as you will see below. I don't know if it is important to 'Uncomment '.
    the line on the file "hosts" for the entry "localhost", let him
    as it was initially.

    Services currently in the 'started ': State

    OracleServiceorcl
    ORCL Oracle Service recorder VSS
    OracleMTSRecoveryService
    OracleOraDb11g_home1ClrAgent
    OracleServiceorcl

    Here is a summary of the error message and information
    on installing my system to help diagnose my problem.
    ===============================================================================
    c:\Users\Public\myscripts > lsnrctl start

    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 13:48

    Copyright (c) 1991, 2010, Oracle. All rights reserved.

    From tnslsnr: Please wait...

    AMT-12560: TNS:protocol adapter error
    AMT-00530: Protocol adapter error
    -------------------------------------------------------------------------------
    c:\Users\Public\myscripts > lsnrctl status

    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 16:17:16

    Copyright (c) 1991, 2010, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=gabylan) (PORT = 1521)))
    AMT-12541: TNS:no listener
    AMT-12560: TNS:protocol adapter error
    AMT-00511: no listener
    32-bit Windows error: 61: unknown error

    ================================================================================
    My "hosts" file: (c:\windows\system32\drivers\etc\hosts)

    resolution of name localhost # is handled within DNS itself.
    # 127.0.0.1 localhost
    #: 1 localhost
    192.168.5.5 gabylan gabylan

    =================================================================================
    c:\Users\Public\myscripts > ipconfig/all

    Windows IP configuration

    Name of the host...: gabylan
    Primary Dns suffix...:
    Node... type: hybrid
    Active... IP routing: No.
    Active... proxy WINS: No.

    Ethernet connection to the network space 2 card:

    The connection-specific DNS suffix. :
    ... Description: Microsoft Loopback adapter
    Physical address.... : 02-00-4C-4F-4F-50
    DHCP active...: No.
    Autoconfiguration enabled...: Yes
    Address IPv6 local link...: fe80::b8f5:bbb0:cf8b:c735% 15 (Preferred)
    IPv4 address...: 192.168.5.5 (Preferred)
    ... Subnet mask: 255.255.255.0.
    ... Default gateway. :
    DHCPv6 IOOKING...: 335675468
    DHCPv6 DUID customer...: 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
    DNS servers: fec0:0:0:ffff:1 1%
    FEC0:0:0:FFFF:2 1%
    FEC0:0:0:FFFF:3 1%
    NetBIOS over TCP/IP...: enabled

    Ethernet connection to the Local network card:

    The connection-specific DNS suffix. :
    Description...: Realtek RTL8102E/RTL8103E family PCI-E Fast Ethernet NIC (NDIS 6.20)
    Physical address.... : 00-25-22-51-68-AB
    DHCP active...: Yes
    Autoconfiguration enabled...: Yes
    Address IPv6 local link...: fe80::7538:173c:c202:4985% 10 (Preferred)
    IPv4 address: 192.168.1.2 (Preferred)
    ... Subnet mask: 255.255.255.0.
    Lease obtained...: Tuesday, September 18, 2012 11:37:37
    End of the lease...: Wednesday, September 19, 2012 13:45:01
    ... Default gateway. : 192.168.1.1.
    DHCP server...: 192.168.1.1.
    DHCPv6 IOOKING...: 234890530
    DHCPv6 DUID customer...: 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
    DNS servers...: 192.168.1.1.
    NetBIOS over TCP/IP...: enabled

    =================================================================================
    sqlnet.ora # Network Configuration file:
    # c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora

    # This file is actually generated by netca. But if customers can opt for
    # install 'Software Only', this file does not exist and without the native
    authentication #, they will not be able to connect to the database on NT.

    # OTHER AUTHENTICATION OPTION IS: SQLNET. AUTHENTICATION_SERVICES = (NTS)

    SQLNET. AUTHENTICATION_SERVICES = (NONE)

    NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME, EZCONNECT)

    ADR_BASE = c:\app\oracle\

    ====================================================================================
    tnsnames.ora # Network Configuration file:
    # c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora

    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gabylan) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )

    ====================================================================================
    listener.ora # Network Configuration file:
    # c:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gabylan) (PORT = 1521))
    )
    )

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = c:\app\oracle\product\11.2.0\dbhome_1)
    (SID_NAME = orcl)
    )
    )

    ADR_BASE_LISTENER = c:\app\oracle
    =================================================================================
    c:\Users\Public\myscripts > ping gabylan

    Ping gabylan [192.168.5.5] with 32 bytes of data:
    Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
    Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
    Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128
    Reply from 192.168.5.5: bytes = 32 time < 1 ms TTL = 128

    Ping statistics for 192.168.5.5:
    Packets: Sent = 4, received = 4, lost = 0 (0% loss),
    Time approximate round trip in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, average = 0ms

    =================================================================================
    Some linked to on my system environment variables:

    COMPUTERNAME = GABYLAN
    FP_NO_HOST_CHECK = NO
    HOMEPATH = \Users\oracle
    LOGONSERVER = \\GABYLAN
    ORACLE_HOME=c:\app\oracle\product\11.2.0\dbhome_1
    ORACLE_HOSTNAME = gabylan
    ORACLE_SID = orcl
    ORACLE_UNQNAME = orcl
    SQLPATH c:\users\public\myscripts =
    USERDOMAIN = GABYLAN
    USERNAME = oracle
    USERPROFILE = C:\Users\oracle
    ==================================================================================
    Summary of V$ INSTANCE VIEW:

    INSTANCE
    HOST NAME NAME STARTUP_T STATUS DATABASE_STATUS ACTIVE_ST
    ------- --------- ---------------- --------------- ----------
    ORCL STARTED NORMAL ACTIVE GABYLAN

    =================================================================================

    Thank you
    Gabriel

    Large. Now do the same thing in a command line started with administrator privileges.

  • 12560 TNS protocol adapt linux error

    I m running two independent oracle 11g on red hat 5 in vmware workstation 7 who is sitting on the window xp where I m running 10g.
    I faced a lot of networking when you use tnsping. During my research, I found that SUlinux and the firewall was on which I turned off.
    My problem is solved.
    My question is whether it is doable in an industrial environment to disable the firewall and security of Linux.
    My second problem is:
    I did everything using orapwd on oracle 11 g on red hat. .
    but I m getting the same result

    Select * from v$ pwfile_users;

    no selected line


    My hottest look.

    Published by: user5166350 on February 19, 2012 20:40

    user5166350 wrote:
    I m running two independent oracle 11g on red hat 5 in vmware workstation 7 who is sitting on the window xp where I m running 10g.
    I faced a lot of networking when you use tnsping. During my research, I found that SUlinux and the firewall was on which I turned off.
    My problem is solved.
    My question is whether it is doable in an industrial environment to disable the firewall and security of Linux.

    When you say "linux security" are you referring to SELinux? You can turn it off, or set it to a less restrictive mode. Regarding the firewall, there is no need to turn it off, simply set it up properly.

    My second problem is:
    I did everything using orapwd on oracle 11 g on red hat. .
    but I m getting the same result

    Select * from v$ pwfile_users;

    no selected line

    My hottest look.

    We have no way of knowing exactly what "all using orapwd' means on your system. Ask us to explain something that we cannot see.

    Published by: user5166350 on February 19, 2012 20:40

  • Cannot create a database in Oracle 11 g. TNS Protocol card error.  . Missing ORA files.

    I want to start by saying: I went through several forum threads about errors in Protocol TNS, .ora files, installation guides and you name it.  I am new to Oracle 11 g, and I bought the book for a course of database, I don't take in college;  However, I'm not a newbie to technology and I have SQL experience.  My Oracle experience has been a disaster so far, and I am a tester of application by trade! I spent an entire week, just try to get the software installed correctly before finally creating this discussion on your forums.  So I'm sorry to disrupt your forums.  I know that you have 1,000 other subjects with a similar scope, but I have received no help from Oracle and none of the proposed solutions have previously solved my problem.  Let's get to it.

    My system: 6 core AMD, Windows 7 Ultimate SP1, 16 GB RAM, multiple disk drives, if you need anything else to say.

    I am trying to install software: Oracle 11 g SQL Database Standard Edition (it came with my book SQL Oracle 11 g and I need company for the moment)

    Environment: Windows 2008 Server Virtual Datacenter

    Client VM: VMWare

    Problem in short: when I try to install the software and create a database, everything is successful, until the database Configuration Wizard attempts to finalize the process.  All the prereq check Oracle directories are created and etc.  To the database Configuration Wizard, I always get the following error message:

    ORA-12560: TNS:protocol adapter error

    If I try to launch sqlplus and enter my credentials of the default Oracle, I get the same error (I am basically unable to get to the SQL > screen).  I noticed that I only have a sqlnet.ora file in my folder "OraHome_1/NETWORK/ADMIN", and I have not all listeners or tnsnames file in this directory. The sqlnet.ora file reads as follows:

    sqlnet.ora # Network Configuration file: C:\app\Administrator\product\11.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.

    # This file is actually generated by netca. But if customers can opt for
    # install 'Software Only', this file does not exist and without the native
    authentication #, they will not be able to connect to the database on NT.

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    I look at my running services and find that I 3 running Oracle services (at this point, I tried to uninstall/reinstall several times, none seems to be a COMPLETE uninstall, while some of these services were not there before...):

    Oracle ORCL VSS Writer Service (started)

    (Disabled) OracleJobSchedulerORCL # I will revive it with no other success

    OracleOraDb11g_home1TNSListener (on the way)

    I tried to launch another listener using the following cmd command, but I still received the TNS error trying to create a database or connect to sqlplus.

    lsnrctl start LISTENER

    I admit, I am quite sleepy at this point, and I'm not figure this tonight.  I'm not having my hand held through the process, but I could really use some help here.  I understand that my VM disk drive is probably fragmented at this point and I'll probably need to start over from a clean installation of OUR.  I also understand that I keep missing a crucial procedure during initial installation because it is quite obvious that this will not work without the listener or tnsname files.  I tried to interpret the samlples, but an example of the syntax would be really useful.  Also, what users to manually configure these standard files?  It seems that a lot of my trouble could have been avoided if the installation had been easier.  On the contrary, the flame of the fact that I'm more efficient with Microsoft, that the fact that I am new to Oracle.  I could just go to mysql, but I want to give a chance to Oracle.  I just need a nudge in the right direction to get database database server installed.

    I really appreciate any idea that anyone can provide.  I know that you have had other similar subjects historically, but none that I found helped me to this day.  I'm a major network, so I understand that TNS is an Oracle proprietary protocol.  I also understand that the listener is required to actively receive information about this port; I even took down my firewall temporarily to make sure it wasn't a problem.  I even understand that connection strings are needed to associate the database Oracle, Oracle with my Microsoft OS and etc.  What I don't understand, why this was so complicated. Help, please.  I'm just tired of banging my head into the wall on this one.

    Your friend.

    Mills J

    I don't really understand Windows, but I think that you must be connected to the machine as a local administrator and a member of a group ora_dba local, nothing to do with the areas he makes. It is a working example of an account that works:

    c:\users\john >

    c:\users\john>c:\Windows\System32\whoami.exe/User /groupes /fo list

    USER INFORMATION

    ----------------

    Username: jwvaio\john

    SID: S-1-5-21-3147636863-431841176-3387327930-1001

    GROUP INFORMATION

    -----------------

    Name of Group: all

    Type: Notorious group

    SID: S-1-1-0

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_ASMDBA

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1012

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ora_dba

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1014

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_OraDb12c_home1_SYSBACKUP

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1009

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_OraDb12c_home1_SYSDG

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1010

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_OraDb12c_home1_SYSKM

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1011

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_OraDb12c_home2_SYSBACKUP

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1018

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_OraDb12c_home2_SYSDG

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1019

    Attributes: Mandatory, default, active group

    Name of Group: jwvaio\ORA_OraDb12c_home2_SYSKM

    Type: Alias

    SID: S-1-5-21-3147636863-431841176-3387327930-1020

    Attributes: Mandatory, default, active group

    Group name: BUILTIN\Administrators

    Type: Alias

    SID: S-1-5-32-544

    Attributes: Mandatory, by default, the owner of the group, group Enabled

    Group name: BUILTIN\Users

    Type: Alias

    SID: S-1-5-32-545

    Attributes: Mandatory, default, active group

    Group name: NT NT\Interactif

    Type: Notorious group

    SID: S-1-5-4

    Attributes: Mandatory, default, active group

    Group name: logging CONSOLE

    Type: Notorious group

    SID: S-1-2-1

    Attributes: Mandatory, default, active group

    Group name: NT AUTHORITY\Authenticated users

    Type: Notorious group

    SID: S-1-5-11

    Attributes: Mandatory, default, active group

    Group name: NT AUTHORITY\Ce organization

    Type: Notorious group

    SID: S-1-5-15

    Attributes: Mandatory, default, active group

    Group name: LOCAL

    Type: Notorious group

    SID: S-1-2-0

    Attributes: Mandatory, default, active group

    Group name: NT AUTHORITY\NTLM authentication

    Type: Notorious group

    SID: S-1-5-64-10

    Attributes: Mandatory, default, active group

    Group name: Label\High mandatory mandatory level

    Type: Label

    SID: S-1-16-12288

    Attributes: Mandatory, default, active group

    c:\users\john >

    c:\users\john >

  • Map-12560 TNS protocol error

    Hello
    Your help will be valued most. Thanks in advance.
    I'm tryin to connect the client (win XP) for Oracle 10 g on red hat Linux.
    I can't do a ping successfully to the bu server when I do a tnsping I get the below error:
    C:\Windows\System32 > tnsping orcl
    AMT Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production: 30-AUG-2
    008 17:29:10
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Use settings files:
    C:\DevSuiteHome_1\network\admin\sqlnet.ora
    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = new - host.my - domain) (PORT = 1521))) (CONNECT_DATA = (SID = ORCL)))
    AMT-12560: TNS:protocol adapter error

    My interlocutor seems to work ok on the server
    [oracle10g@new-host ~] $ lsnrctl status

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on August 30, 2008 17:51:44

    Copyright (c) 1991, 2005, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = ORCL)))
    STATUS of the LISTENER
    ------------------------
    Alias earpiece
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Beginning of August 30, 2008 15:48:30
    Uptime 0 days 2 h 3 min 14 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /oraeng/app/oracle/product/10.2.0/network/admin/listener.ora file
    The listener log file /Oraeng/app/Oracle/product/10.2.0/network/log/listener.log
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = ORCL)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = new - host.my - domain)(PORT=1521)))
    Summary of services...
    Service "ORCL" has 2 occurrences.
    Instance "ORCL", status UNKNOWN, has 1 operation for this service...
    Instance "ORCL", State LOAN, has 1 operation for this service...
    Service 'ORCL_XPT' has 1 instance (s).
    Instance "ORCL", State LOAN, has 1 operation for this service...
    The command completed successfully

    I am also able to connect to the oracle server:
    [oracle10g@new-host ~] $ sqlplus scott/tiger@orcl
    SQL * more: Release 10.2.0.1.0 - Production on Sat 30 Aug 17:52:52 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With partitioning, OLAP and Data Mining options

    Pater,
    It seems to be a question on the side o firewall server that is blocking the connection. Can you check after disabling security on the Linux by this
    stop +/etc/init.d/iptables +.
    And then restart the connection/tnsping?
    Aman...

Maybe you are looking for