Failed to oracle 11g   databade

Hi,I can't get the "OK" when I used the "tnsping" command,and I got the failed information as follows,so I need your help ,thanks a lot!
C:\>tnsping orcl.am.mot.com
TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUL-
010 12:59:30
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
D:\app\DPXC67\product\11.1.0\db_1\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name

tnsping orcl.am.mot.com
TNS-03505: Failed to resolve name
I think the error message is pretty clear.
See the D:\app\DPXC67\product\11.1.0\db_1\network\admin\sqlnet.ora file which source is used for resolution (It is configured by NAMES.DIRECTORY_PATH variable and the value is typically TNSNAMES). If so then you are probably missing entry in your tnsname.ora file which is located (by default) in $ORACLE_HOME/network/admin directory, so in your case it would be: D:\app\DPXC67\product\11.1.0\db_1\network\admin\sqlnet.ora
For more information refer to documentation:
http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/tnsnames.htm#NETRF007

Similar Messages

  • Importing a dump fails on Oracle 11g

    Hi
    I am trying to import a dump which was created from Oracle 10g version 10.2.0.3 TO Oracle 11g Release 11.1.0.6.0
    Issue 1)
    The command i am using is
    imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world file=dmpersist.dmp full=y ignore=y
    This command works fine on Oralce 10g(if i try to import the file to Oracle 10g) but fails on Oralce 11g with following error
    "Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by SYS, not by you
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses UTF8 character set (possible charset conversion)
    . importing SYS's objects into DMUSER_02
    . importing DMPERSIST's objects into DMPERSIST
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist"
    Issue 2)
    If i use following command
    imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world file=dmpersist.dmp fromuser=SYS touser=dmuser_02 ignore=y
    I get error
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses UTF8 character set (possible charset conversion)
    Import terminated successfully without warnings.
    Any info/pointers/help
    from
    nayeem

    Issue 1)
    The command i am using is
    imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world
    file=dmpersist.dmp full=y ignore=y
    . importing DMPERSIST's objects into DMPERSIST
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist"Make sure user DMPERSIST exists. Oracle will not create user for you because it looks like this dump file is not from full expor but a schema level export.
    >
    Issue 2)
    If i use following command
    imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world
    file=dmpersist.dmp fromuser=SYS touser=dmuser_02
    ignore=y
    I get error
    import done in US7ASCII character set and UTF8
    NCHAR character set
    import server uses UTF8 character set (possible
    charset conversion)
    Import terminated successfully without warnings.
    No issue here. The message looks totally normal.

  • Pro*C program fails in Oracle 11g enviroment.

    Hi,
    Right now we have oracle 10g environment in production and Pro*C program compilation and execution works fine.
    We are upgrading Oracle 10g to Oracle 11g.
    When I test the Pro*C program compilation and execution in Oracle 11g environment, the compilation works fine, but the execution fails with following error messgae,
    ld.so.1: test_proc_pgm: fatal: libclntsh.so.11.1: open failed: No such file or directory
    I have verified the LD_LIBRARY_PATH in unix machine where we call the test_proc_pgm, LD_LIBRARY_PATH contains the following libraries..
    u02/oracle/product/11.2.0.3/lib:/lib:
    Please advise.
    Thanks and Regards

    This forum is about general programming in C, C++ and Fortran, and about details of using the Solaris Studio suite of compilers and programming tools.
    Questions about Oracle database programming are more likely to get an answer in a database programming forum. A list of forums is here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • OCI calls failing for Oracle 11g 11.1.0.7 (64 bit)

    Hi,
    I have a 32bit app which we build and compile in a 32 bit OS, we then deploy this in a 64 bit Windows 2008 R1 machine which has a 11g 64 bit DB;
    when the code make the OCI calls the app terminates.On debugging we found out that its failing to make OCI calls on the connect() method of a .cpp file.
    This connect code is a custom wrapper class created for OCI which only accepts a complete SQL statement mainly used for looking after rollback segments, etc.
    The code runs perfectly fine when we internally call the ORACMD of sqlplus and directly execute the sql from a script.
    It only fails when our code tries to connect to the DB and make OCI calls.
    I have also installed a 32 bit Oracle 11g Client 11.1.0.7 since I am using a 32 bit app.
    Is there any compatibility issues between these 2 versions or the dll's?
    Why is it failing while making OCI calls and is there any resolution?
    My machine and setup details:
    OS: Windows 2008 R1
    DB : Oracle 11g R1 11.1.0.7 (64 bit)
    Client: Oracle 11g R1 11.1.0.7 (32 bit)
    Our App: 32 bit
    ORACLE_HOME = // this is pointing to the 64 bit DB
    I tried pointing the oracle_home to the client still no go.
    Any suggestions on this will be appreciated.
    Regards
    Roy

    user13376823 wrote:
    how do i find that my database is using big file tablespace management or not ?
    SQL> select TABLESPACE_NAME,BIGFILE from dba_tablespaces;
    TABLESPACE_NAME                BIG
    SYSTEM                         NO
    UNDOTBS1                       NO
    SYSAUX                         NO
    USERS                          NO
    UNDOTBS2                       NO
    TEMP1                          NO
    TEMP3                          NO
    TEMP2                          NO
    8 rows selected.For tablespaces with smallfile datafile maximun datafile size is 32GB, where as bigfile datafile size is 8 exabytes.

  • Dbconsole start  failed on Oracle 11G

    After installing Oracle 11G and creating a new database, I have created new db console reporsitory, with the commands:
    set ORACLE_SID
    set ORACLE_HOME
    set SYS_PWD
    set PORT
    emca -repos create -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    emca -config dbcontrol db -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    At the end, the command fails:
    INFO: This operation is being logged at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log.
    Sep 22, 2008 10:26:41 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Sep 22, 2008 10:26:44 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Sep 22, 2008 10:27:13 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: Software library configured successfully.
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Deploying Provisioning archives ...
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Provisioning archives deployed successfully.
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /exec/products/oracle/v11.1.0/bin/emctl start dbconsole
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    Could not complete the configuration. Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    When I want to start dbconsole manually, I have the following error:
    emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://RD_x3650_22:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
    Logs are generated in directory /exec/products/oracle/v11.1.0/RD_x3650_22_HYDRA/sysman/log
    The logs give the following message:
    emdctl.trc:
    2008-09-23 00:19:32 Thread-3083821984 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Open wallet failed, ret = 28750
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: nmehlenv_openWallet failed
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Error initializing SSL
    2008-09-23 00:19:32 Thread-3083813792 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR main: nmectla_agentctl: Error connecting to https://RD_x3650_22:3872/emd/main. Returning status code 1
    emoms.trc:
    2008-09-22 23:07:08,275 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.ec.ui.intg.ExtendClusterIntegration
    2008-09-22 23:07:08,276 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
    2008-09-22 23:07:08,277 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
    emagent.log:
    2008-09-22 23:06:59 Thread-3083801408 EMAgent started successfully (00702)
    2008-09-22 23:14:56 Thread-3083817792 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-22 23:14:57 Thread-3083817792 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:58 Thread-3083817792 EMAgent started successfully (00702)
    2008-09-23 00:14:00 Thread-3083813696 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-23 00:14:01 Thread-3083813696 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:03 Thread-3083813696 EMAgent started successfully (00702)
    I've tried this:
    - set correctly TIMEZONE,
    - configure secure dbconsole (emctl secure dbconsole),
    - stop service nscd,
    - change the port number,
    - recreate the repository....
    But the problem still occurs...
    Has someone another idea?
    Thank You
    Anne

    emctl secure agent does not exist with Oracle 11G
    I tried:
    emctl secure dbconsoleOracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    [https://RD_x3650_22:5500/em/console/aboutApplication|https://rd_x3650_22:5500/em/console/aboutApplication]
    Please enter repository password:
    DBCONSOLE already stopped... Done.
    Agent is already stopped... Done.
    Securing dbconsole... Started.
    Securing dbconsole... Sucessful.
    But the dbconsole starting still have errors
    The command status gives:
    emctl status agent -secureOracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking the security status of the Agent at location set in /exec/products/oracle/v11.1.0/RD_x3650_22_HYDRA/sysman/config/emd.properties... Done.
    Agent is secure at HTTPS Port 3938.
    Checking the security status of the OMS at [http://RD_x3650_22:5500/em/upload/..|http://rd_x3650_22:5500/em/]. Done.
    OMS is running but has not been secured. No HTTPS Port available.
    And the command "emctl ssl off" does nots exist with Oracle 11G
    Anne

  • RMAN backup is getting failed after oracle 11g upgarde (11.2.0.2)

    Hi Basis Expert,
    We have done oracle 11g ugrade (11.2.0.2) in our Dev BI system.
    But after the upgrade the RMAN backup is failing. The backup use to work fine when we were on 10g (10.2.0.4).
    Has anyone face this issue earlier.
    Appreciate your help.
    Regards,
    Anil Shenoy

    Hello Anil,
    Syntax is -
    ln -s /path/to/original/ /path/to/linkName
    Output will be -
    linkName --> original
    In your case, 112_64 is the link name according to above SAP Note and 11202 is the original/physical path. So, the command should be -
    ln -s /oracle/<DBSID>/11202 /oracle/<DBSID>/112_64
    And the Result should be, 112_64 --> 11202 (in short)
    So, I think you should change the existing link, 11202->112_64
    Thanks

  • Environment variable path failed in oracle 11g installation

    hi all,
    i am reinstalling oracel 11g in my window 7 64 bit machine after i uninstalled it. however, i got an issue that is environment variable path failed in the installation process. this didn't happen when i firstly successfully installed oracle. how can i fix the issue? thanks in advance.
    regards,
    hong

    user571093 wrote:
    hi,
    the problem is i uninstalled oracle 11g in my windows 7 64 bit machine and then try to install it on my machine. during the prerequisite check stage, an error message popped up like this:
    environment variable: "PATH" failed
    This test checks whether the length of the environment variable "PATH" does not exceed the recommended length. (more details)
    Expected Value
     : 1023
    Actual Value
     : 1433
    so, what is the reason caused this problem and how to fix it. thanks in advance.
    hongI believe the error message is self-explanatory - assuming you you using a supported database and OS combination (which are unknown)
    environment variable: "PATH" failed+
    This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.+
    Expected Value+
    *: 1023*
    Actual Value+
    *: 1433*
    Your PATH variable exceeds the limit of 1023 characters
    HTH
    Srini

  • Deinstall Failed Oracle 11g 32-bit installation

    I haven't been able to de-install a failed/incomplete Oracle 11g 32-bit installation from Windows 7. I downloaded the deinstall utility for this configuration, but when I ran the bat file (the only executable file I found), it flashed an error and quit, before I could even read why it failed. What am I missing, please?

    user13515882 wrote:
    I haven't been able to de-install a failed/incomplete Oracle 11g 32-bit installation from Windows 7. I downloaded the deinstall utility for this configuration, but when I ran the bat file (the only executable file I found), it flashed an error and quit, before I could even read why it failed. What am I missing, please?open Command Window & execute the BAT file from there

  • Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

    I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
    Given below are the steps of installation and configuration.
    Installation till basic authentication:
    The installation has been done in a
    single server.
    Installed SQL Server 2012 (Developer version).
    Selected only the following features:
    Database Engine Services
    Analysis Services
    Reporting Services – SharePoint
    Reporting Services Add-in for SharePoint Products
    Management Tools – Basic
    - Management Tools - Complete
      2. Installed SQL Server 2012 SP1.
      3. Installed SQL Server 2012 SP2.
      4. Installed SharePoint Foundation 2013.
      5. Created web application (without Kerberos; we did not even create the SPNs).
          The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
    account.
      6. Created Site Collection.
      7. Verified that Reporting Services is not installed.
      8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
      9. Verified that Reporting Services is installed.
     10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
      11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
      12. Created a Site.
      13. Created a Data Connection library with “Report Data Source” content type.
      14. Created a Report Model library with “Report Builder Model” content type.
      15. Created a Report library with “Report Builder Report” content type.
      16. Uploaded an SMDL to the Report Model library.
      17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
      18. Able to create and save a report using Report Builder.
    Hence, basic authentication is working and SSRS is able to connect to Oracle database.
    Next we have to configure Kerberos settings between SharePoint and SQL Server.
    Implementation of Kerberos authentication
    In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config  and added the Authentication Types of RSWindowsNegotiate
    and RSWindowsKerberos.
     2.  Set up the following SPNs.
                   a) SQL Server Database Engine service (sqlDbSrv2):
                    setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
                    setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
                 In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
    b) Account: SharePoint Setup Admin account (spAdmin2)
         setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
                    setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
                    In the Delegation tab of the account, selected "Trust this user for delegation to any  service
    (Kerberos only)".
    c) Account: SQL Server Reporting Service account (sqlRepSrv2)
                       setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
                       setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
                       In the Delegation tab of the account, selected "Trust this user for delegation to any service
    (Kerberos only)".
      3. Configure the Web Application to use “Negotiate (Kerberos)”.
      4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
         The Event Viewer logged the login process for the SharePoint Administration account as
    Negotiate and not Kerberos.
      5. Implemented Kerberos for Oracle database and client.
         Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
      6. Turn on Windows Firewall.
      7. While testing the site's data connection using Kerberos settings, got the error
    “Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
          Note: The Data Connection for basic authentication still worked.
      8. Created a Claims to Windows Token Service account (spC2WTS2).
      9. Started the Claims to Windows Token Service.
     10. Registered the Claims to Windows Token Service account as a Managed Account.
     11. Changed the Claims To Windows Token Service to use the above managed account.
     12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
          Note: The Reporting Services service account is also a part of the WSS_WPG local group.
     13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
     14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
     15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
          When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
    added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
     16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
     17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
          Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
     18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
          For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
    any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
          Note: The Reporting Service account already had an HTTP SPN.
     19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
           For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
           The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
    authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
     20. Restarted the SharePoint server.
     21. Tested the data connection with the Kerberos settings again.
           Got the error
    “ORA-12638: Credential retrieval failed”.
    Can anyone tell me what is wrong with this setup?

    http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
    Problem4: ORA-12638: Credential retrieval failed
    Solution:  Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
    Do check 
    http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • TNS-03505:Failed to resolve name in oracle 11g.

    i install oracle 11g client in my pc.i want to connect to the server i also used and install Toad Tools. i have server ip address.192.168.1.162 and userid and password and port number-1521
    when i connect to the toad and its make error like that
    ORA-12541TNS- no listener.
    and this is my tnsnames.ora file ,
    # tnsnames.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ERP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = erp)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    mlmdb =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.162)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = mlmdb)
    and i want to connect mlmdb from server.
    and this is my listner.ora file
    # listener.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\IT\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\IT\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\IT
    and this is my sqlnet.ora file
    # sqlnet.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont 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, ONAMES, HOSTNAME)
    when i connect form the run--cmd--tnsping mlmdb
    its make error likes this
    TNS-03505 : failed to resolve name ,
    can anyone help me how can i find this solution
    thanks in advance.

    904803 wrote:
    i install oracle 11g client in my pc.i want to connect to the server i also used and install Toad Tools. i have server ip address.192.168.1.162 and userid and password and port number-1521
    when i connect to the toad and its make error like that
    ORA-12541TNS- no listener.
    and this is my tnsnames.ora file ,
    # tnsnames.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ERP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = erp)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    mlmdb =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.162)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = mlmdb)
    and i want to connect mlmdb from server.
    and this is my listner.ora file
    # listener.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\IT\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\IT\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\IT
    and this is my sqlnet.ora file
    # sqlnet.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont 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, ONAMES, HOSTNAME)
    when i connect form the run--cmd--tnsping mlmdb
    its make error likes this
    TNS-03505 : failed to resolve name ,
    can anyone help me how can i find this solution
    thanks in advance.looks like listener is not running on the database server you are trying to connect to *(ORA-12541TNS- no listener)*. even though you have configured both tnsnames and lisnterner.ora files, you have to start listener for clients to make connections to db. hope this helps. set your oracle home and then type as below. these commands are very simple and I don't think I need to explain them.
    cmd> lsnrctl status
    cmd> lsnrctl start
    cmd> lsnrctl stop

  • Dbconsole start failed Oracle 11G

    After installing Oracle 11G and creating a new database, I have created new db console reporsitory, with the commands:
    set ORACLE_SID
    set ORACLE_HOME
    set SYS_PWD
    set PORT
    emca -repos create -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    emca -config dbcontrol db -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    At the end, the command fails:
    INFO: This operation is being logged at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log.
    Sep 22, 2008 10:26:41 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Sep 22, 2008 10:26:44 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Sep 22, 2008 10:27:13 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: Software library configured successfully.
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Deploying Provisioning archives ...
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Provisioning archives deployed successfully.
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /exec/products/oracle/v11.1.0/bin/emctl start dbconsole
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    Could not complete the configuration. Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    When I want to start dbconsole manually, I have the following error:
    emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://RD_x3650_22:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
    Logs are generated in directory /exec/products/oracle/v11.1.0/RD_x3650_22_HYDRA/sysman/log
    The logs give the following message:
    emdctl.trc:
    2008-09-23 00:19:32 Thread-3083821984 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Open wallet failed, ret = 28750
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: nmehlenv_openWallet failed
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Error initializing SSL
    2008-09-23 00:19:32 Thread-3083813792 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR main: nmectla_agentctl: Error connecting to https://RD_x3650_22:3872/emd/main. Returning status code 1
    emoms.trc:
    2008-09-22 23:07:08,275 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.ec.ui.intg.ExtendClusterIntegration
    2008-09-22 23:07:08,276 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
    2008-09-22 23:07:08,277 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
    emagent.log:
    2008-09-22 23:06:59 Thread-3083801408 EMAgent started successfully (00702)
    2008-09-22 23:14:56 Thread-3083817792 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-22 23:14:57 Thread-3083817792 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:58 Thread-3083817792 EMAgent started successfully (00702)
    2008-09-23 00:14:00 Thread-3083813696 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-23 00:14:01 Thread-3083813696 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:03 Thread-3083813696 EMAgent started successfully (00702)
    I've tried this:
    - set correctly TIMEZONE,
    - configure secure dbconsole (emctl secure dbconsole),
    - stop service nscd,
    - change the port number,
    - recreate the repository....
    But the problem still occurs...
    Has someone another idea?
    Thank You
    Anne

    I found the problem.  Since I added NIST FIPS 140-2 in the database by add a file
    $ORACLE_HOME/ldap/admin/fips.ora
    SSLFIPS_140=TRUE
    This cause the Agent not start.  Do you have any suggesting?
    Thank You

  • OCIEnvNlsCreate() failed: OCI8+PHP+Linux+Oracle 11g

    Hi All,
    I've been struggling with this since 3 days. I'm getting the following error while using oci_connect:
    Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries
    My system configuration:
    PHP : 5.3.3
    OS: Red Hat Enterprise Linux Server release 6.1
    Oracle: 11g
    OCI8: 1.4.9
    My phpInfo() shows that OCI8 is configured with PHP. I did set the LD_LIBRARY_PATH to Instantclient in httpd conf file itself and gave permission 777 just to make sure it's not permission issue. I did not set any ORACLE_HOME because my Oracle database is on a different server.
    Please help!!

    Your post doesn't contain enough detail to identify a cause.
    See Unable load  library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1 It is an example of a post that has good detail.

  • Oracle 11g wallet open failed

    Hi All:
    I have being having issues with oracle wallet on oracle 11g Release 2.
    I have an application that cannot connect to the database due to the wallet. Wallet is now becoming a nightmare for developers of application connecting to oracle.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size 2260032 bytes
    Variable Size 1035994048 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 5517312 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-12578: TNS:wallet open failed
    Process ID: 5964
    Session ID: 5 Serial number: 3
    Regards,
    Jude

    user10257931 wrote:
    No its a company Mobile workstation Laptop with a client data i am trying to retrieve. The data was loaded through an application. The original owner of the laptop moved on to another region. A username and password with administrative privilege was created for me. I was able to connect to oracle but had issues with wallet when i connect to the application. The previous owner of the laptop could connect successfully using his local admin account. I started creating and deleting wallet until i had the issue. Ok... got your issue....
    Wallet key depends upon the hostname and ip configuration. so every time you move your laptop to other region it ip hostname changes.
    When you created wallet initially, it looked the ip and hostname address in wallet key....
    The solution would be to remove wallet from wallet manager...Or when creating wallet ensure to fix the ip hostname....
    Also see following mos note on this
    How To Prevent The Secure Password Store Wallet From Being Moved to Another Host [ID 1114599.1]
    Does that help?

  • Oracle 11g: cluvfy failed

    Hi expert,
    i'm trying to install Oracle 11g RAC.
    I don't know why I have an failed in the cluvfy step. Can someone help me?
    [oracle@rac1 bin]$ ./cluvfy stage -pre crsinst -n rac1,rac2 -verbose
    WARNING:
    Could not access or create trace file path "/mnt/OracleRAC/cvupack/bin/../cv/log". Trace information could not be collected
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "rac1"
      Destination Node                      Reachable?             
      rac2                                  yes                    
      rac1                                  yes                    
    Result: Node reachability check passed from node "rac1"
    Checking user equivalence...
    Check: User equivalence for user "oracle"
      Node Name                             Comment                
      rac2                                  passed                 
      rac1                                  failed                 
    Result: PRVF-4007 : User equivalence check failed for user "oracle"
    WARNING:
    User equivalence is not set for nodes:
         rac1
    Verification will proceed with nodes:
         rac2
    Checking node connectivity...
    Checking hosts config file...
      Node Name     Status                    Comment                
      rac2          passed                                           
    Verification of the hosts config file successful
    Interface information for node "rac2"
    Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  
    eth0   192.168.2.102   192.168.2.0     0.0.0.0         192.168.2.1     08:00:27:4A:67:8E 1500 
    eth1   192.168.0.102   192.168.0.0     0.0.0.0         192.168.2.1     08:00:27:27:C4:33 1500 
    Check: Node connectivity of subnet "192.168.2.0"
    Result: Node connectivity passed for subnet "192.168.2.0" with node(s) rac2
    Check: TCP connectivity of subnet "192.168.2.0"
      Source                          Destination                     Connected?     
      rac1:127.0.0.1                  rac2:192.168.2.102              failed         
    Result: TCP connectivity check failed for subnet "192.168.2.0"
    Check: Node connectivity of subnet "192.168.0.0"
    Result: Node connectivity passed for subnet "192.168.0.0" with node(s) rac2
    Check: TCP connectivity of subnet "192.168.0.0"
      Source                          Destination                     Connected?     
      rac1:127.0.0.1                  rac2:192.168.0.102              failed         
    Result: TCP connectivity check failed for subnet "192.168.0.0"
    Interfaces found on subnet "192.168.2.0" that are likely candidates for VIP are:
    rac2 eth0:192.168.2.102
    Interfaces found on subnet "192.168.0.0" that are likely candidates for a private interconnect are:
    rac2 eth1:192.168.0.102
    Result: Node connectivity check passed
    Check: Total memory
      Node Name     Available                 Required                  Comment  
      rac2          1.9642GB (2059580.0KB)    1.5GB (1572864.0KB)       passed   
    Result: Total memory check passed
    Check: Available memory
      Node Name     Available                 Required                  Comment  
      rac2          1.7729GB (1858984.0KB)    50MB (51200.0KB)          passed   
    Result: Available memory check passed
    Check: Swap space
      Node Name     Available                 Required                  Comment  
      rac2          3.9062GB (4095992.0KB)    2.9463GB (3089370.0KB)    passed   
    Result: Swap space check passed
    Check: Free disk space for "rac2:/tmp"
      Path              Node Name     Mount point   Available     Required      Comment    
      /tmp              rac2          /             1.0762GB      1GB           passed     
    Result: Free disk space check passed for "rac2:/tmp"
    Check: User existence for "oracle"
      Node Name     Status                    Comment                
      rac2          exists(1100)              passed                 
    Checking for multiple users with UID value 1100
    Result: Check for multiple users with UID value 1100 passed
    Result: User existence check passed for "oracle"
    Check: Group existence for "oinstall"
      Node Name     Status                    Comment                
      rac2          exists                    passed                 
    Result: Group existence check passed for "oinstall"
    Check: Group existence for "dba"
      Node Name     Status                    Comment                
      rac2          exists                    passed                 
    Result: Group existence check passed for "dba"
    Check: Membership of user "oracle" in group "oinstall" [as Primary]
      Node Name         User Exists   Group Exists  User in Group  Primary       Comment    
      rac2              yes           yes           yes           yes           passed     
    Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed
    Check: Membership of user "oracle" in group "dba"
      Node Name         User Exists   Group Exists  User in Group  Comment        
      rac2              yes           yes           yes           passed         
    Result: Membership check for user "oracle" in group "dba" passed
    Check: Run level
      Node Name     run level                 Required                  Comment  
      rac2          5                         3,5                       passed   
    Result: Run level check passed
    Check: Hard limits for "maximum open file descriptors"
      Node Name         Type          Available     Required      Comment        
      rac2              hard          65536         65536         passed         
    Result: Hard limits check passed for "maximum open file descriptors"
    Check: Soft limits for "maximum open file descriptors"
      Node Name         Type          Available     Required      Comment        
      rac2              soft          1024          1024          passed         
    Result: Soft limits check passed for "maximum open file descriptors"
    Check: Hard limits for "maximum user processes"
      Node Name         Type          Available     Required      Comment        
      rac2              hard          16384         16384         passed         
    Result: Hard limits check passed for "maximum user processes"
    Check: Soft limits for "maximum user processes"
      Node Name         Type          Available     Required      Comment        
      rac2              soft          2047          2047          passed         
    Result: Soft limits check passed for "maximum user processes"
    Check: System architecture
      Node Name     Available                 Required                  Comment  
      rac2          x86_64                    x86_64                    passed   
    Result: System architecture check passed
    Check: Kernel version
      Node Name     Available                 Required                  Comment  
      rac2          2.6.18-194.el5            2.6.18                    passed   
    Result: Kernel version check passed
    Check: Kernel parameter for "semmsl"
      Node Name     Configured                Required                  Comment  
      rac2          250                       250                       passed   
    Result: Kernel parameter check passed for "semmsl"
    Check: Kernel parameter for "semmns"
      Node Name     Configured                Required                  Comment  
      rac2          32000                     32000                     passed   
    Result: Kernel parameter check passed for "semmns"
    Check: Kernel parameter for "semopm"
      Node Name     Configured                Required                  Comment  
      rac2          100                       100                       passed   
    Result: Kernel parameter check passed for "semopm"
    Check: Kernel parameter for "semmni"
      Node Name     Configured                Required                  Comment  
      rac2          128                       128                       passed   
    Result: Kernel parameter check passed for "semmni"
    Check: Kernel parameter for "shmmax"
      Node Name     Configured                Required                  Comment  
      rac2          1054504960                536870912                 passed   
    Result: Kernel parameter check passed for "shmmax"
    Check: Kernel parameter for "shmmni"
      Node Name     Configured                Required                  Comment  
      rac2          4096                      4096                      passed   
    Result: Kernel parameter check passed for "shmmni"
    Check: Kernel parameter for "shmall"
      Node Name     Configured                Required                  Comment  
      rac2          2097152                   2097152                   passed   
    Result: Kernel parameter check passed for "shmall"
    Check: Kernel parameter for "file-max"
      Node Name     Configured                Required                  Comment  
      rac2          6815744                   6815744                   passed   
    Result: Kernel parameter check passed for "file-max"
    Check: Kernel parameter for "ip_local_port_range"
      Node Name     Configured                Required                  Comment  
      rac2          between 9000 & 65500      between 9000 & 65500      passed   
    Result: Kernel parameter check passed for "ip_local_port_range"
    Check: Kernel parameter for "rmem_default"
      Node Name     Configured                Required                  Comment  
      rac2          262144                    262144                    passed   
    Result: Kernel parameter check passed for "rmem_default"
    Check: Kernel parameter for "rmem_max"
      Node Name     Configured                Required                  Comment  
      rac2          4194304                   4194304                   passed   
    Result: Kernel parameter check passed for "rmem_max"
    Check: Kernel parameter for "wmem_default"
      Node Name     Configured                Required                  Comment  
      rac2          262144                    262144                    passed   
    Result: Kernel parameter check passed for "wmem_default"
    Check: Kernel parameter for "wmem_max"
      Node Name     Configured                Required                  Comment  
      rac2          1048586                   1048576                   passed   
    Result: Kernel parameter check passed for "wmem_max"
    Check: Kernel parameter for "aio-max-nr"
      Node Name     Configured                Required                  Comment  
      rac2          1048576                   1048576                   passed   
    Result: Kernel parameter check passed for "aio-max-nr"
    Check: Package existence for "make-3.81"
      Node Name     Available                 Required                  Comment  
      rac2          make-3.81-3.el5           make-3.81                 passed   
    Result: Package existence check passed for "make-3.81"
    Check: Package existence for "binutils-2.17.50.0.6"
      Node Name     Available                 Required                  Comment  
      rac2          binutils-2.17.50.0.6-14.el5  binutils-2.17.50.0.6      passed   
    Result: Package existence check passed for "binutils-2.17.50.0.6"
    Check: Package existence for "gcc-4.1.2"
      Node Name     Available                 Required                  Comment  
      rac2          gcc-4.1.2-48.el5          gcc-4.1.2                 passed   
    Result: Package existence check passed for "gcc-4.1.2"
    Check: Package existence for "libaio-0.3.106 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          libaio-0.3.106-5 (i386)   libaio-0.3.106 (i386)     passed   
    Result: Package existence check passed for "libaio-0.3.106 (i386)"
    Check: Package existence for "libaio-0.3.106 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          libaio-0.3.106-5 (x86_64)  libaio-0.3.106 (x86_64)   passed   
    Result: Package existence check passed for "libaio-0.3.106 (x86_64)"
    Check: Package existence for "glibc-2.5-24 (i686)"
      Node Name     Available                 Required                  Comment  
      rac2          glibc-2.5-49 (i686)       glibc-2.5-24 (i686)       passed   
    Result: Package existence check passed for "glibc-2.5-24 (i686)"
    Check: Package existence for "glibc-2.5-24 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          glibc-2.5-49 (x86_64)     glibc-2.5-24 (x86_64)     passed   
    Result: Package existence check passed for "glibc-2.5-24 (x86_64)"
    Check: Package existence for "compat-libstdc++-33-3.2.3 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          compat-libstdc++-33-3.2.3-61 (i386)  compat-libstdc++-33-3.2.3 (i386)  passed   
    Result: Package existence check passed for "compat-libstdc++-33-3.2.3 (i386)"
    Check: Package existence for "compat-libstdc++-33-3.2.3 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          compat-libstdc++-33-3.2.3-61 (x86_64)  compat-libstdc++-33-3.2.3 (x86_64)  passed   
    Result: Package existence check passed for "compat-libstdc++-33-3.2.3 (x86_64)"
    Check: Package existence for "elfutils-libelf-0.125 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          elfutils-libelf-0.137-3.el5 (x86_64)  elfutils-libelf-0.125 (x86_64)  passed   
    Result: Package existence check passed for "elfutils-libelf-0.125 (x86_64)"
    Check: Package existence for "elfutils-libelf-devel-0.125"
      Node Name     Available                 Required                  Comment  
      rac2          elfutils-libelf-devel-0.137-3.el5  elfutils-libelf-devel-0.125  passed   
    Result: Package existence check passed for "elfutils-libelf-devel-0.125"
    Check: Package existence for "glibc-common-2.5"
      Node Name     Available                 Required                  Comment  
      rac2          glibc-common-2.5-49       glibc-common-2.5          passed   
    Result: Package existence check passed for "glibc-common-2.5"
    Check: Package existence for "glibc-devel-2.5 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          glibc-devel-2.5-49 (i386)  glibc-devel-2.5 (i386)    passed   
    Result: Package existence check passed for "glibc-devel-2.5 (i386)"
    Check: Package existence for "glibc-devel-2.5 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          glibc-devel-2.5-49 (x86_64)  glibc-devel-2.5 (x86_64)  passed   
    Result: Package existence check passed for "glibc-devel-2.5 (x86_64)"
    Check: Package existence for "glibc-headers-2.5"
      Node Name     Available                 Required                  Comment  
      rac2          glibc-headers-2.5-49      glibc-headers-2.5         passed   
    Result: Package existence check passed for "glibc-headers-2.5"
    Check: Package existence for "gcc-c++-4.1.2"
      Node Name     Available                 Required                  Comment  
      rac2          gcc-c++-4.1.2-48.el5      gcc-c++-4.1.2             passed   
    Result: Package existence check passed for "gcc-c++-4.1.2"
    Check: Package existence for "libaio-devel-0.3.106 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          libaio-devel-0.3.106-5 (i386)  libaio-devel-0.3.106 (i386)  passed   
    Result: Package existence check passed for "libaio-devel-0.3.106 (i386)"
    Check: Package existence for "libaio-devel-0.3.106 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          libaio-devel-0.3.106-5 (x86_64)  libaio-devel-0.3.106 (x86_64)  passed   
    Result: Package existence check passed for "libaio-devel-0.3.106 (x86_64)"
    Check: Package existence for "libgcc-4.1.2 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          libgcc-4.1.2-48.el5 (i386)  libgcc-4.1.2 (i386)       passed   
    Result: Package existence check passed for "libgcc-4.1.2 (i386)"
    Check: Package existence for "libgcc-4.1.2 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          libgcc-4.1.2-48.el5 (x86_64)  libgcc-4.1.2 (x86_64)     passed   
    Result: Package existence check passed for "libgcc-4.1.2 (x86_64)"
    Check: Package existence for "libstdc++-4.1.2 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          libstdc++-4.1.2-48.el5 (i386)  libstdc++-4.1.2 (i386)    passed   
    Result: Package existence check passed for "libstdc++-4.1.2 (i386)"
    Check: Package existence for "libstdc++-4.1.2 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          libstdc++-4.1.2-48.el5 (x86_64)  libstdc++-4.1.2 (x86_64)  passed   
    Result: Package existence check passed for "libstdc++-4.1.2 (x86_64)"
    Check: Package existence for "libstdc++-devel-4.1.2 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          libstdc++-devel-4.1.2-48.el5 (x86_64)  libstdc++-devel-4.1.2 (x86_64)  passed   
    Result: Package existence check passed for "libstdc++-devel-4.1.2 (x86_64)"
    Check: Package existence for "sysstat-7.0.2"
      Node Name     Available                 Required                  Comment  
      rac2          sysstat-7.0.2-3.el5       sysstat-7.0.2             passed   
    Result: Package existence check passed for "sysstat-7.0.2"
    Check: Package existence for "unixODBC-2.2.11 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          unixODBC-2.2.11-7.1 (i386)  unixODBC-2.2.11 (i386)    passed   
    Result: Package existence check passed for "unixODBC-2.2.11 (i386)"
    Check: Package existence for "unixODBC-2.2.11 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          unixODBC-2.2.11-7.1 (x86_64)  unixODBC-2.2.11 (x86_64)  passed   
    Result: Package existence check passed for "unixODBC-2.2.11 (x86_64)"
    Check: Package existence for "unixODBC-devel-2.2.11 (i386)"
      Node Name     Available                 Required                  Comment  
      rac2          unixODBC-devel-2.2.11-7.1 (i386)  unixODBC-devel-2.2.11 (i386)  passed   
    Result: Package existence check passed for "unixODBC-devel-2.2.11 (i386)"
    Check: Package existence for "unixODBC-devel-2.2.11 (x86_64)"
      Node Name     Available                 Required                  Comment  
      rac2          unixODBC-devel-2.2.11-7.1 (x86_64)  unixODBC-devel-2.2.11 (x86_64)  passed   
    Result: Package existence check passed for "unixODBC-devel-2.2.11 (x86_64)"
    Check: Package existence for "ksh-20060214"
      Node Name     Available                 Required                  Comment  
      rac2          ksh-20100202-1.el5        ksh-20060214              passed   
    Result: Package existence check passed for "ksh-20060214"
    Checking for multiple users with UID value 0
    Result: Check for multiple users with UID value 0 passed
    Check: Current group ID
    Result: Current group ID check passed
    Checking Core file name pattern consistency...
    Core file name pattern consistency check passed.
    Checking to make sure user "oracle" is not in "root" group
      Node Name     Status                    Comment                
      rac2          does not exist            passed                 
    Result: User "oracle" is not part of "root" group. Check passed
    Check default user file creation mask
      Node Name     Available                 Required                  Comment  
      rac2          0022                      0022                      passed   
    Result: Default user file creation mask check passed
    Starting Clock synchronization checks using Network Time Protocol(NTP)...
    NTP Configuration file check started...
    Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes
    Result: Clock synchronization check using Network Time Protocol(NTP) passed
    Pre-check for cluster services setup was unsuccessful.
    Checks did not pass for the following node(s):
         rac1
    [oracle@rac1 bin]$ ssh rac2 "date;hostname"
    Wed Dec 15 19:59:58 CET 2010
    rac2.localdomain
    [oracle@rac1 bin]$ hostname
    rac1.localdomain
    [oracle@rac1 bin]$ uname -a
    Linux rac1.localdomain 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@rac1 bin]$ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1          rac1.localdomain rac1 localhost.localdomain localhost
    ::1          localhost6.localdomain6 localhost6
    #127.0.0.1       localhost.localdomain   localhost
    # Public
    192.168.2.101   rac1.localdomain        rac1
    192.168.2.102   rac2.localdomain        rac2
    # Private
    192.168.0.101   rac1-priv.localdomain   rac1-priv
    192.168.0.102   rac2-priv.localdomain   rac2-priv
    # Virtual
    192.168.2.111   rac1-vip.localdomain    rac1-vip
    192.168.2.112   rac2-vip.localdomain    rac2-vip
    # SCAN
    192.168.2.201   rac-scan.localdomain rac-scanthe same on RAC2.
    [oracle@rac1 ~]$ id oracle
    uid=1100(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(dba)
    [oracle@rac2 ~]$ id oracle
    uid=1100(oracle) gid=1000(oinstall) groups=1000(oinstall),1200(dba)I'm reading this tutorial
    >
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php
    >
    because i would like to install in a virtualbox environment.
    Cheers,
    Lain
    Edited by: Lain on 13-gen-2011 20.06

    Make sure you have ssh configured properly on both nodes.
    Do you have the Oracle Clusterware Installation 11g Release (whatever your platform is)?
    Read this section 2.12.3 Enabling SSH User Equivalency on Cluster Member Nodes
    Try this on rac1.
    ssh rac2 date
    Try this on rac2.
    ssh rac1 date
    If these don't return the date of the other host you haven't configured SSH properly.

  • Oracle 11g clusterware VIP failover failed

    I installed Oracle 11g Clusterware succesfully, without any errors as per link:
    http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnRHEL5UsingVMwareESXAndNFS.php
    After that,I did vip failover test
    I rebooted the node-2
    Before reboot,
    [root@advansrac1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....ac1.gsd application ONLINE ONLINE rac1
    ora....ac1.ons application ONLINE ONLINE rac1
    ora....ac1.vip application ONLINE ONLINE rac1
    ora....ac2.gsd application ONLINE ONLINE rac2
    ora....ac2.ons application ONLINE ONLINE rac2
    ora....ac2.vip application ONLINE ONLINE rac2
    After reboot,
    Name Type Target State Host
    ora....ac1.gsd application ONLINE ONLINE rac1
    ora....ac1.ons application ONLINE ONLINE rac1
    ora....ac1.vip application ONLINE ONLINE rac1
    ora....ac2.gsd application ONLINE ONLINE rac2
    ora....ac2.ons application ONLINE ONLINE rac2
    ora....ac2.vip application ONLINE UNKNOWN rac1
    [root@rac1 bin]# ./crs_stop ora.rac2.vip
    Attempting to stop `ora.rac2.vip` on member `advansrac1`
    Stop of `ora.rac2.vip` on member `advansrac1` succeeded.
    [root@rac1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....ac1.gsd application ONLINE ONLINE rac1
    ora....ac1.ons application ONLINE ONLINE rac1
    ora....ac1.vip application ONLINE ONLINE rac1
    ora....ac2.gsd application ONLINE ONLINE rac2
    ora....ac2.ons application ONLINE ONLINE rac2
    ora....ac2.vip application OFFLINE OFFLINE
    [root@rac1 bin]# ./crs_start ora.rac2.vip
    Attempting to start `ora.rac2.vip` on member `rac2`
    Start of `ora.rac2.vip` on member `rac2` succeeded.
    [root@rac1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....ac1.gsd application ONLINE ONLINE rac1
    ora....ac1.ons application ONLINE ONLINE rac1
    ora....ac1.vip application ONLINE ONLINE rac1
    ora....ac2.gsd application ONLINE ONLINE rac2
    ora....ac2.ons application ONLINE ONLINE rac2
    ora....ac2.vip application ONLINE ONLINE rac2
    I have only 1.5G on each node
    Here the issue is,
    1. Actual Result: # During failover why it is showing UNKNOWN state for ora.rac2.vip on member rac1
    Expected Result: # During failover,it have to be ONLINE state for ora.rac2.vip on member rac1
    2. I have to start ora.rac2.vip manually, when node-2 is up.I want VIP fail over have to happen automatically when node-2 is up to normal online state.
    Help me out from this issue

    VMware is unsupported but that is likely not your issue.
    1. Run cluster verify and report the results
    2. Did you create a failover service? How?
    3. Post your TNSNAMES.ORA

Maybe you are looking for