Bug in Oracle-grid/sapctl setup .. manually it works

I want to protect the standalone enqueue server with Oracle cluster (11.2.0.2).
Somehow the connection between crs and sapctl does not work properly - funny enough, the manual invocation of crssapactions.pl is successful (see below) .
[root@rac11a ~]# crsctl status res -t
sap.QRC.ERS71.startsrv
      1        OFFLINE OFFLINE
sap.QRC.SCS51.javaenq
      1        OFFLINE OFFLINE
sap.QRC.SCS51.startsrv
      1        ONLINE  UNKNOWN      rac11a
sap.QRC.javavip
      1        ONLINE  ONLINE       rac11a
When I want to start the sapstartsrv with crs, an error occurs
[root@rac11a ~]# crsctl start res sap.QRC.SCS51.startsrv -n rac11a
CRS-2679: Attempting to clean 'sap.QRC.SCS51.startsrv' on 'rac11a'
CRS-2680: Clean of 'sap.QRC.SCS51.startsrv' on 'rac11a' failed
CRS-4000: Command Start failed, or completed with errors.
This is the log:
[tail oracle/LOCAL/GRID/11202/log/
rac11a/agent/crsd/sap_startsrv_type_qrcadm/sap_startsrv_type_qrcadm.log:
2012-02-18 11:34:48.166: [    AGFW][1169709376] Preparing CLEAN command for: sap.QRC.SCS51.startsrv 1 1
2012-02-18 11:34:48.166: [    AGFW][1169709376] sap.QRC.SCS51.startsrv 1 1 state changed from: UNKNOWN to: CLEANING
2012-02-18 11:34:48.168: [    AGFW][1148729664] Executing command: clean for resource: sap.QRC.SCS51.startsrv 1 1
2012-02-18 11:34:48.170: [    AGFW][1148729664] Entering script entry point...
2012-02-18 11:34:48.170: [sap.QRC.SCS51.startsrv][1148729664] [clean] Executing action script: /usr/sap/sapctl/bin/crssapactions.pl[clean]
2012-02-18 11:34:48.169: [CRSTIMER][1190689088] Timer Thread Starting.
2012-02-18 11:34:48.243: [    AGFW][1148729664] Command: clean for resource: sap.QRC.SCS51.startsrv 1 1 completed with invalid status: 206
2012-02-18 11:34:48.244: [    AGFW][1159219520] Executing command: check for resource: sap.QRC.SCS51.startsrv 1 1
2012-02-18 11:34:48.244: [    AGFW][1159219520] Entering script entry point...
2012-02-18 11:34:48.245: [sap.QRC.SCS51.startsrv][1159219520] [check] Executing action script: /usr/sap/sapctl/bin/crssapactions.pl[check]
2012-02-18 11:34:48.249: [    AGFW][1169709376] Agent sending reply for: RESOURCE_CLEAN[sap.QRC.SCS51.startsrv 1 1] ID 4100:3734
*2012-02-18 11:34:48.301: [    AGFW][1159219520] Received unknown resource status code: 206*
2012-02-18 11:34:48.301: [    AGFW][1159219520] check for resource: sap.QRC.SCS51.startsrv 1 1 completed with status: UNKNOWN
2012-02-18 11:34:48.303: [    AGFW][1169709376] sap.QRC.SCS51.startsrv 1 1 state changed from: CLEANING to: UNKNOWN
A manual invocation of crssapactions.pl (as I assume it's invoked by crs) works successfully (check,stop and start):
[root@rac11a ~]# export _CRS_CRS_HOME=/oracle/LOCAL/GRID/11202
[root@rac11a ~]# export _CRS_SAPCONTROL=/sapmnt/QRC/exe/sapcontrol
[root@rac11a ~]# export _CRS_SAPLIBPATH=/sapmnt/QRC/exe
[root@rac11a ~]# export _CRS_NAME=sap.QRC.SCS51.startsrv
[root@rac11a ~]# /usr/sap/sapctl/bin/crssapactions.pl check
Sat Feb 18 11:41:37 2012| CHHECK sapstarsrv SCS51 begin
Sat Feb 18 11:41:37 2012| Suchmuster: START_SCS51 QRC_SCS51
Sat Feb 18 11:41:37 2012| Executing /sapmnt/QRC/exe/cleanipc 51 remove
Sat Feb 18 11:41:37 2012| Deleting named pipe /tmp/.sapstream55113
Sat Feb 18 11:41:37 2012| Action exiting, RC=1
This is how the crs resource was defined:
crsctl add resource sap.QRC.SCS51.startsrv -type sap.startsrv.type
-attr "ACTION_SCRIPT=/usr/sap/sapctl/bin/crssapactions.pl,
PLACEMENT=restricted, SERVER_POOLS=SAP_SP_QRC, SAPLIBPATH=, SAPCONTROL=/usr/sap/QRC/SYS/exe/run/sapcontrol,
START_DEPENDENCIES='hard(sap.QRC.javavip) pullup(sap.QRC.javavip) attraction(sap.QRC.ERS71.javarep)',
CHECK_INTERVAL=60,RESTART_ATTEMPTS=0"
Where's the bug....?
Edited by: lholifeld on Feb 18, 2012 9:09 PM

Hi,
Have you resolved this issue, If yes please let me know the solution as we are facing the same issue after upgrading the sapctl from version 4.0 to 6.0.
Regards,
Koushal Solanki

Similar Messages

  • RAC - Oracle Grid Infrastructure configure failed

    Hi, am trying to install 2 node RAC on Oracle VMs. Before the installation during the -preinst check there were few issues which were resolved (ex user equivalence). After that during the installation process of the Grid it failed at step "Configure Oracle Grid Infrastructure for a cluster". After it failed at this step, subsequent steps too failed which I asked OUI to ignore and then I ran both the post installation scripts. And then ran post crsinst which failed. Pasting below the output of the root.sh script, post crsinst and other checks.
    [root@bsfrac01 grid]# sh root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/11.2/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2011-02-13 00:11:55: Parsing the host name
    2011-02-13 00:11:55: Checking for super user privileges
    2011-02-13 00:11:55: User has super user privileges
    Using configuration parameter file: /u01/app/11.2/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    root wallet
    root wallet cert
    root cert export
    peer wallet
    profile reader wallet
    pa wallet
    peer wallet keys
    pa wallet keys
    peer cert request
    pa cert request
    peer cert
    pa cert
    peer root cert TP
    profile reader root cert TP
    pa root cert TP
    peer pa cert TP
    pa peer cert TP
    profile reader pa cert TP
    profile reader peer cert TP
    peer user cert
    pa user cert
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-2672: Attempting to start 'ora.gipcd' on 'bsfrac01'
    CRS-2672: Attempting to start 'ora.mdnsd' on 'bsfrac01'
    CRS-2676: Start of 'ora.mdnsd' on 'bsfrac01' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'bsfrac01'
    CRS-2676: Start of 'ora.gpnpd' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'bsfrac01'
    CRS-2676: Start of 'ora.cssdmonitor' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'bsfrac01'
    CRS-2672: Attempting to start 'ora.diskmon' on 'bsfrac01'
    CRS-2676: Start of 'ora.diskmon' on 'bsfrac01' succeeded
    CRS-2676: Start of 'ora.cssd' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'bsfrac01'
    CRS-2676: Start of 'ora.ctssd' on 'bsfrac01' succeeded
    ASM created and started successfully.
    DiskGroup DATA1 created successfully.
    clscfg: -install mode specified
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    CRS-2672: Attempting to start 'ora.crsd' on 'bsfrac01'
    CRS-2676: Start of 'ora.crsd' on 'bsfrac01' succeeded
    CRS-4256: Updating the profile
    Successful addition of voting disk 0ea2052d8a714fd7bf46d9d5c785483e.
    Successfully replaced voting disk group with +DATA1.
    CRS-4256: Updating the profile
    CRS-4266: Voting file(s) successfully replaced
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 0ea2052d8a714fd7bf46d9d5c785483e (ORCL:DISK1) [DATA1]
    Located 1 voting disk(s).
    *Failed to rmtcopy "/tmp/filekRIMbG" to "/u01/app/11.2/grid/gpnp/manifest.txt" for nodes {bsfrac01,bsfrac02}, rc=256*
    *Failed to rmtcopy "/u01/app/11.2/grid/gpnp/bsfrac01/profiles/peer/profile.xml" to "/u01/app/11.2/grid/gpnp/profiles/peer/profile.xml" for nodes {bsfrac01,bsfrac02}, rc=256*
    rmtcopy aborted
    Failed to promote local gpnp setup to other cluster nodes
    CRS-2673: Attempting to stop 'ora.crsd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.crsd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.asm' on 'bsfrac01'
    CRS-2677: Stop of 'ora.asm' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.ctssd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.ctssd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'bsfrac01'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.cssd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.gpnpd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.gipcd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.mdnsd' on 'bsfrac01' succeeded
    Initial cluster configuration failed. See /u01/app/11.2/grid/cfgtoollogs/crsconfig/rootcrs_bsfrac01.log for details
    [root@bsfrac01 grid]#
    [oracle@bsfrac01 bin]$ ./cluvfy stage -post crsinst -n bsfrac01,bsfrac02 -verbose
    Performing post-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "bsfrac01"
    Destination Node Reachable?
    bsfrac01 yes
    bsfrac02 yes
    Result: Node reachability check passed from node "bsfrac01"
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    bsfrac01 passed
    bsfrac02 passed
    Result: User equivalence check passed for user "oracle"
    ERROR:
    PRKC-1094 : Failed to retrieve the active version of crs: {0}
    Checking time zone consistency...
    Time zone consistency check passed.
    ERROR:
    PRKC-1093 : Failed to retrieve the version of crs software on node "java.io.IOException: /u01/app/11.2.0/grid/bin/crsctl: not found
    " : {1}
    ERROR:
    Cluster manager integrity check failed
    PRVF-5434 : Cannot identify the current CRS software version
    UDev attributes check for OCR locations started...
    Result: UDev attributes check passed for OCR locations
    UDev attributes check for Voting Disk locations started...
    ERROR:
    PRVF-5197 : Failed to retrieve voting disk locationsPRKC-1092 : Failed to retrieve the location of votedisks: java.io.IOException: /u01/app/11.2.0/grid/bin/crsctl: not found
    Result: UDev attributes check failed for Voting Disk locations
    Check default user file creation mask
    Node Name Available Required Comment
    bsfrac01 0022 0022 passed
    bsfrac02 0022 0022 passed
    Result: Default user file creation mask check passed
    Checking cluster integrity...
    Node Name
    bsfrac01
    Cluster integrity check failed This check did not run on the following node(s):
    bsfrac02
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations
    ERROR:
    PRKC-1094 : Failed to retrieve the active version of crs: {0}
    ERROR:
    PRVF-5300 : Failed to retrieve active version for CRS on this node
    OCR integrity check failed
    Checking CRS integrity...
    ERROR:
    PRKC-1094 : Failed to retrieve the active version of crs: {0}
    ERROR:
    PRVF-5300 : Failed to retrieve active version for CRS on this node
    CRS integrity check failed
    OCR detected on ASM. Running ACFS Integrity checks...
    Starting check to see if ASM is running on all cluster nodes...
    PRVF-5137 : Failure while checking ASM status on node "bsfrac01"
    PRVF-5137 : Failure while checking ASM status on node "bsfrac02"
    Starting Disk Groups check to see if at least one Disk Group configured...
    PRVF-5112 : An Exception occurred while checking for Disk Groups
    PRVF-5114 : Disk Group check failed. No Disk Groups configured
    Task ACFS Integrity check failed
    Checking Oracle Cluster Voting Disk configuration...
    ERROR:
    PRKC-1093 : Failed to retrieve the version of crs software on node "java.io.IOException: /u01/app/11.2.0/grid/bin/crsctl: not found
    " : {1}
    ERROR:
    PRVF-5434 : Cannot identify the current CRS software version
    PRVF-5431 : Oracle Cluster Voting Disk configuration check failed
    Checking to make sure user "oracle" is not in "root" group
    Node Name Status Comment
    bsfrac01 does not exist passed
    bsfrac02 does not exist passed
    Result: User "oracle" is not part of "root" group. Check passed
    Post-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@bsfrac01 bin]$ /u01/app/11.2/grid/bin/ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 3
    Total space (kbytes) : 262120
    Used space (kbytes) : 408
    Available space (kbytes) : 261712
    ID : 1671840043
    Device/File Name : +DATA1
    Device/File integrity check succeeded
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Cluster registry integrity check succeeded
    Logical corruption check bypassed due to non-privileged user
    ASM looks to be up and running..
    [oracle@bsfrac01 bin]$ /usr/sbin/oracleasm listdisks
    DISK1
    DISK2
    DISK3
    DISK4
    DISK5
    DISK6
    [oracle@bsfrac01 bin]$ /usr/sbin/oracleasm status
    Checking if ASM is loaded: yes
    Checking if /dev/oracleasm is mounted: yes
    Please help.

    before installation have u configure the private interconnect on both the nodes to same network adapter..
    for example on node 1 if the private interconnect is on eth0 then on the node 2 it should use eth0 only...
    for private interconnect use the hostonly option on both the nodes in the network configuration page of the vmware or virtual box..
    and for public network it can be bridged
    more over if you are installing on the laptop its good to configure the SSH using the OUI.. rather than doing it manually.. as it saves time
    the private and the public networks should not have same range of ip address. like if public address are like 192.168.2.222/255.255.255.0 and private address have to be different like 10.10.1.2/255.0.0.0 (this is just an example)
    have to configured the NTP.
    any ways try installing the oracle rac on virtual box follow the steps given the below website they are pretty straight forward...
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php

  • Oracle grid and db installer fails upon launch - win7x64

    Hi. First let me say this is not my first time installing Oracle. I have installed oracle on Linux (just DB, ASM + DB) and Windows 7 x64 (just DB) successfully in the past. I've been working with Oracle for several years now. I'm a developer, not a DBA.
    I'm attempting a new development installation on my home computer, which is running Windows 7 64-bit. I've downloaded the 64 bit media for the database and grid infrastructure.
    My machine is a quad core i5 with 8GB ram. The storage is as follows:
    1 x 64GB SSD (C: drive with Windows installation, 20GB free)
    1 x 3TB spinning (D: drive, all program data, 2.8TB free)
    4 x 1TB spinning (unmounted, unformatted, for use with ASM)
    I have installed both the 32 bit and 64 bit current JDK.
    I am logged in as an Administrator.
    I have the oracle installation media in:
    D:\Temp\grid
    D:\Temp\database
    I have the ORACLE_BASE system environment variable set to:
    D:\Oracle (this directory exists, and is empty)
    Steps to produce problem:
    Start > All Programs > Accessories > Terminal (Right click, run as Adminstrator)
    Command Prompt input pasted below:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>D:
    D:\>cd \temp\grid
    D:\Temp\grid>setup
    D:\Temp\grid>
    Oracle installer quits immediatly
    I am left with an install actions log file in D:\Users\myuser\AppData\Local\Temp\OraInstall<currenttimestamp>\
    The log file contains:
    Using paramFile: D:\Temp\grid\install\oraparam.ini
    Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
    The number of files bootstrapped for the jre is 0.
    The number of files bootstrapped for the oui is 0.
    There are no errors in the Windows event viewer.
    Any steps as to what I can check would be great, I've never seen this behavior before. Thanks.

    Wow. I found the solution buried here: Re: Can't run Oracle 11g r2 setup.exe on win2008 r2 sp1 x64
    Apparently if the amount of free space is too great (you're kidding me, right Oracle?!) the installer will just die. Sounds like a bug that someone should look into fixing....
    So from the post I've mentioned above, I gather that you need less than 2 TB of free space. I navigated to my D drive and did the following:
    D:\Temp>fsutil file createnew imhuge.dat 1024000000000
    File D:\Temp\imhuge.dat is created
    Now, the OUI happily starts.

  • Oracle Grid Control: How to automatically refresh home page.

    Oracle Grid Control = 10.2.0.4.0
    OS = Linux
    Bit = 32
    The home page of Oracle Grid Control automatically refreshes after 5 minutes; how can I alter?? TIA.

    Oracle Grid Control web Page's will automatically refresh for every (60 seconds) and it can be done manually as well.
    Not sure but you can try looking for an option in Setup and Preferences at the Right Top Corner of the Grid Control Page.

  • ASMCA needs Oracle Grid Infrastructure to configure ASM - 11gR2 on SLES11

    Hi,
    I'm trying to install 11gR2 with ASM on a new SLES11 Server. So far i successfully installed the Database Software but struggle now when it comes to installing the Grid Infrastructure.
    Partitioning and stamping the disks as ASM disks worked fine, oracleasm listdisks would give me my disknames as output.
    So far so good - in the grid infrastructure installer i chose "install and configure grid infrastructure for a standalone server"
    The setup was working, i executed the root.sh script without any issues - but configuring ASMCA failed with the following error:
    INFO: Read: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.
    Unfortunately i couldn't find a lot about it on the internet - i'm very stuck here..
    Any ideas?
    Andrea

    i used raw devices in my first attempt - but read that it's not supported anymore - so i configured them as asm disks using the oracleasm tool.
    which worked.. so the disks can not be the problem
    i already read amans solution before posting here - but the problem in that thread was different - the guy installed the grid infrastructure software only and then tried to manually configure it, which failed.
    His solution was to delete his previous install and choose '+Install and Configure Grid Infrastructure for a standalone server+' in the installer.
    I already started my installation with Install and Configure Grid Infrastructure for a standalone server ... so that's no solution either :(

  • BUG in data grid and run script (V1 1467)

    Hi,
    I found a weird bug in data grid when displaying data defined as NUMBER(10,0).
    We have a table with a column defined as NUMBER(10,0). Whenever this column contains data >5000000000 the data in the row shows up as null (empty cell) in the data grid.
    I played around a bit and found that running a scrip like select * from testtab where a > 5000000000; with F5 it stops at the first number >5000000000. Running the script with F9 shows all rows correct.
    I'm running on WIN2000 using SQL Developer V1 (Build 1467).
    The error was not present in Build 1422.

    I tried the SQL you supplied (by the way, the table name helps in the INSERT statement) and then went to the DATA tab to view the data.
    Interesting results.
    Even though all of the insert statements executed successfully, only 2 of the rows had any data displaying in columns A and C. All rows had data in column B.
    Now for the real fun: by selecting one of the empty cells the "missing" data would appear. Try a commit (yeah, I know nothing has been updated, but SQL Developer doesn't know this) and check out the UPDATE statements that are generated in the log. The cells I selected are being updated with the "missing" data. Refresh the display and the data goes into hiding again.
    I don't even want to get into the dangers of a tool updating data when all you've done is to get focus on a field. I've already seen it wipe out the time portion of date/time stamps simply because the default setting for the date/time format does not include the time.
    Good start on a tool guys, but it's not quite ready for Prime Time.
    BTW...I'm using Oracle 9.i running SQL Developer on Windows 2000.

  • ASM installation failure from Oracle GRID under Windows 7 64 bit

    I am a rookie..I am running Oracle database 11gR2 running on a Windows 7 64 bit system.
    I am implementing ASM onto my system solely for learning purposes
    The implementation of ASM has changed between database releases 11gR1 and 11gR2 such that it is no longer configured locally but is now implemented from within Oracle GRID. Unfortunately, the book I am using to study my OCP from was written at the time of 11gR1 so I can no longer follow its instructions to create and configure ASM. Instead of using DBCA I now need to use ASMCA to configure ASM.
    As a preliminary requirement I successfully installed Oracle Grid and configured it to run on my standalone server.
    I created two partitions on my harddrive ...... drive G: and drive H: with intent of using them as my ASM disks. 45 Gig and 50 gig in size respectively formatted with the NTFS filesystem.
    I ran ASMCA in an attempt to create an ASM instance
    I specified these partition drives '\\.\G:' and '\\.\H:' in the disk discovery path which were successfully picked up.
    However when ASMCA executed the creation process after some time it failed with the following message:
    One or more diskgroup(s) creation failed as below:
    DiskGroup mydisks creation failed with the following message:
    ORA-15018: diskgroup cannot be created
    ORA-00600: internal error code, arguments: [17090], [], [], [], [], [], [], [], [], [], [], []
    Check C:\app\peter\cfgtoollogs\asmca\asmca-12101712AM0558.log for details.
    Which I did and found many things
    Thread-40] [ 2012-10-17 00:25:05.723 EST ] [UsmcaLogger.logInfo:141] Oradim Command : C:\app\11.2.0\grid\bin\oradim.exe -new -asmsid +ASM -startmode manual -srvcstart demand -spfile
    [Thread-40] [ 2012-10-17 00:25:05.723 EST ] [UsmcaLogger.logEntry:113] Entering oracle.sysman.assistants.usmca.util.UsmcaUtil Method : executeCommand
    [Thread-40] [ 2012-10-17 00:25:05.723 EST ] [UsmcaLogger.logInfo:141] Command: C:\app\11.2.0\grid\bin\oradim.exe -new -asmsid +ASM -startmode manual -srvcstart demand -spfile
    [Thread-40] [ 2012-10-17 00:25:07.254 EST ] [UsmcaLogger.logInfo:141] Instance created.
    Ok. As above the ASM instance appeared to have been successfully created so as part of my investigative process to confirm what the script actually did successfully execute I attempted to log into the ASM instance to see how far it would get. It fails with the following result
    C:\Windows\system32>set ORACLE_SID=+ASM
    C:\Windows\system32>sqlplus sys as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 17 10:16:36 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    I checked Windows Task Manager
    There is an OracleOHService and it is running
    LISTENER is running ie the local listener running on port 1521 that was originally created with a previous basic stand alone installation of the Oracle 11gR2 database . (ie before I installed Oracle GRID). No other listeners are running.
    Can t see any evidence of any ASM service on Windows Task manager started/stopped or otherwise. Neither can I see evidence of a CSS service.
    The log file that was generated is large I am not clear on what I should be looking for in order to find clues as to how I might manually resolve this problem and possibly 'salvage' the installation. Any advice would be appreciated.

    Hi,
    read the documentation:
    http://www.oracle.com/pls/db112/to_pdf?pathname=install.112/e24169.pdf
    and you will find multiple errors, you probably did.
    Especially the part on preparing storage.
    Regards
    Sebastian

  • New to Oracle grid control

    Hi,
    I'm a newbies in Oralce grid control. next month I will be start my new job which will involved in deploy and administer oracle grid control release 3.
    I try to performed some setup just to have an initial idea how the grid control works. I have an Oracle RAC database (10.2.0.3) running on RHEL 4, 2 nodes.
    Is grid control come together with the Oracle database software installation? or I have to download separately?
    How is the grid control installation should be in place? Installation on the same database server or separate server? If both are allow which is the common approach?
    Since my RAC database running in Linux, is it a must to have the grid control for Linux version? can I install into a windows server and managing all linux databases? Which should be the common approach?
    Appreciate of any feedback given.
    Many Thanks
    best regards,
    chong

    Gridcontrol is separate software,don't confuse it with standalone DBConsole,which is part of a database creation. The latter can serve this particular database only.
    If you have the resources, install gridcontrol separately. It needs some resources and may interfere with the monitored database(s).
    You can install gridcontrol (more exactly the management services) everywhere, on Windows,Linux,Solaris .... .
    What you need on the monitored machines is the correct agent for the platform. So you don't need gridcontrol for Linux, but you need the agent for Linux.
    Werner

  • Bug in Oracle JDBC Pooling Classes - Deadlock

    We are utilizing Oracle's connection caching (drivers 10.2.0.1) and have found a deadlock situation. I reviewed the code for the (drivers 10.2.0.3) and I see the same problem could happen.
    I searched and have not found this problem identified anywhere. Is this something I should post to Oracle in some way (i.e. Metalink?) or is there a better forum to get this resolved?
    We are utilizing an OCI driver with the following setup in the server.xml
    <ResourceParams name="cmf_toolbox">
    <parameter>
    <name>factory</name>
    <value>oracle.jdbc.pool.OracleDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </parameter>
    <parameter>
    <name>user</name>
    <value>hidden</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>hidden</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:oracle:oci:@PTB2</value>
    </parameter>
    <parameter>
    <name>connectionCachingEnabled</name>
    <value>true</value>
    </parameter>
    <parameter>
    <name>connectionCacheProperties</name>
    <value>(InitialLimit=5,MinLimit=15,MaxLimit=75,ConnectionWaitTimeout=30,InactivityTimeout=300,AbandonedConnectionTimeout=300,ValidateConnection=false)</value>
    </parameter>
    </ResourceParams>
    We get a deadlock situation between two threads and the exact steps are this:
    1) thread1 - The OracleImplicitConnectionClassThread class is executing the runAbandonedTimeout method which will lock the OracleImplicitConnectionCache class with a synchronized block. It will then go thru additional steps and finally try to call the LogicalConnection.close method which is already locked by thread2
    2) thread2 - This thread is doing a standard .close() on the Logical Connection and when it does this it obtains a lock on the LogicalConnection class. This thread then goes through additional steps till it gets to a point in the OracleImplicitConnectionCache class where it executes the reusePooledConnection method. This method is synchronized.
    Actual steps that cause deadlock:
    1) thread1 locks OracleImplicitConnectionClass in runAbandonedTimeout method
    2) thread2 locks LogicalConnection class in close function.
    3) thread1 tries to lock the LogicalConnection and is unable to do this, waits for lock
    4) thread2 tries to lock the OracleImplicitConnectionClass and waits for lock.
    ***DEADLOCK***
    Thread Dumps from two threads listed above
    thread1
    Thread Name : Thread-1 State : Deadlock/Waiting on monitor Owns Monitor Lock on 0x30267fe8 Waiting for Monitor Lock on 0x509190d8 Java Stack at oracle.jdbc.driver.LogicalConnection.close(LogicalConnection.java:214) - waiting to lock 0x509190d8> (a oracle.jdbc.driver.LogicalConnection) at oracle.jdbc.pool.OracleImplicitConnectionCache.closeCheckedOutConnection(OracleImplicitConnectionCache.java:1330) at oracle.jdbc.pool.OracleImplicitConnectionCacheThread.runAbandonedTimeout(OracleImplicitConnectionCacheThread.java:261) - locked 0x30267fe8> (a oracle.jdbc.pool.OracleImplicitConnectionCache) at oracle.jdbc.pool.OracleImplicitConnectionCacheThread.run(OracleImplicitConnectionCacheThread.java:81)
    thread2
    Thread Name : http-7320-Processor83 State : Deadlock/Waiting on monitor Owns Monitor Lock on 0x509190d8 Waiting for Monitor Lock on 0x30267fe8 Java Stack at oracle.jdbc.pool.OracleImplicitConnectionCache.reusePooledConnection(OracleImplicitConnectionCache.java:1608) - waiting to lock 0x30267fe8> (a oracle.jdbc.pool.OracleImplicitConnectionCache) at oracle.jdbc.pool.OracleConnectionCacheEventListener.connectionClosed(OracleConnectionCacheEventListener.java:71) - locked 0x34d514f8> (a oracle.jdbc.pool.OracleConnectionCacheEventListener) at oracle.jdbc.pool.OraclePooledConnection.callImplicitCacheListener(OraclePooledConnection.java:544) at oracle.jdbc.pool.OraclePooledConnection.logicalCloseForImplicitConnectionCache(OraclePooledConnection.java:459) at oracle.jdbc.pool.OraclePooledConnection.logicalClose(OraclePooledConnection.java:475) at oracle.jdbc.driver.LogicalConnection.closeInternal(LogicalConnection.java:243) at oracle.jdbc.driver.LogicalConnection.close(LogicalConnection.java:214) - locked 0x509190d8> (a oracle.jdbc.driver.LogicalConnection) at com.schoolspecialty.cmf.yantra.OrderDB.updateOrder(OrderDB.java:2022) at com.schoolspecialty.cmf.yantra.OrderFactoryImpl.saveOrder(OrderFactoryImpl.java:119) at com.schoolspecialty.cmf.yantra.OrderFactoryImpl.saveOrder(OrderFactoryImpl.java:67) at com.schoolspecialty.ecommerce.beans.ECommerceUtil.saveOrder(Unknown Source) at com.schoolspecialty.ecommerce.beans.ECommerceUtil.saveOrder(Unknown Source) at com.schoolspecialty.ecommerce.beans.UpdateCartAction.perform(Unknown Source) at com.schoolspecialty.mvc2.ActionServlet.doPost(ActionServlet.java:112) at com.schoolspecialty.ecommerce.servlets.ECServlet.doPostOrGet(Unknown Source) at com.schoolspecialty.ecommerce.servlets.ECServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.schoolspecialty.ecommerce.servlets.filters.EcommerceURLFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)

    We used a documented option to abandon connects in the case of an unforeseen error. The consequence of using this option was not a graceful degradation in performance but a complete lockup of the application. The scenario in which we created a moderate number of abandoned connections was a rare error scenario but a valid test.
    How could this not be a bug in the Oracle driver? Is dead-lock a desireable outcome of using an option? Is dead-lock ever an acceptable consequence of using a feature as documented?
    Turns out other Oracle options to recover from an unexpected error also incur a similar deadlock (TimeToLiveTimeout).
    I did a code review of the decompiled drivers and it clearly shows the issue, confirming the original report of this issue. Perhaps you have evidence to the contrary or better evidence to support your statement "not a bug in Oracle"?
    Perhaps you are one of the very few people who have not experience problems with Oracle drivers? I've been using Oracle since 7.3.4 and it seems that I have always been working around Oracle JDBC driver problems.
    We are using Tomcat with the OracleDataSourceFactory.

  • Monitoring Oracle Glassfish or Generic URL with Oracle Grid Control

    How are people monitoring Oracle Glassfish with Oracle Grid Control?
    I really just need to monitor the URL right now, is the only method to setup a system and monitor a generic web test with a beacon?

    I would think this is indeed the only way to monitor the URL.
    Perhaps you could try a solution in creating your own plug-in.
    Check http://www.oracle.com/technetwork/oem/extensions/index.html for this.
    Regards
    Rob
    http://oemgc.wordpress.com

  • Oracle grid & Oracle agent

    Hi,
    Could anybody tell me how could I check where is an issue in the Oracle Grid ?
    Oracle EM Grid Control is working (on one computer)
    Oracle Agent is working on another computer, but the Grid cannot see the agent working ( or the agent cannot register to the grid control )
    [oracle@PC1 agent]$ emctl status agent
    TZ set to Europe/Paris
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.4.1
    OMS Version : Unknown
    Protocol Version : 10.1.0.2.0
    Agent Home : /u01/oracle/10gOHome/PC1.localdomain_PRD1
    Agent binaries : /u01/oracle/10gOHome
    Agent Process ID : 13792
    Parent Process ID : 13789
    Agent URL : http://PC1.localdomain:3938/emd/main
    Started at : 2008-03-14 02:38:39
    Started by user : oracle
    Last Reload : 2008-03-14 02:38:39
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 45
    Size of XML files pending upload(MB) : 2.62
    Available disk space on upload filesystem : 87.60%
    Agent is Running and Ready
    Any ideas ?
    Thanks,
    Paul

    Thomas, all looks ok on that tests.
    Hans, do you think that the initial version of Oracle Grid Control needs to be patched because there are bugs in here ?
    After I restarted the agent OMS Version is "Unknown" (OMS Version : Unknown) ... but immediately after the agent installation was known ... why ? any ideas? Could anybody tell me which is the log file for the agent?
    Thanks,
    Paul

  • Oracle Grid Infrastructure

    Hi,
    I'm trying to convince our systems administrator about the need for us to use Oracle Grid Infrastructure with our 11gR2 database installation. I find that I'm not really sure what the main advantages are, could you help please?
    - What is the main advantage of Oracle Grid Infrastructure, what is it that will make me use it as opposed to conventional method of storage?
    Any documentation recommendation would help please. I have been on the 11gR2 course and I have Oracle documentation but I am unable to see (or maybe it is lack of understanding) what is the main thing that will make us use it over an installation that uses file system storage.
    thanks

    I actually meant to copy and paste the benefits of using ASM out of it which answers the question OP had of using GRID for storage, (I had actually typed "see this bit") and was using the link as the reference, nont sure why I didnt, I mustnt have pasted properly into the post before posting. GRID as we know offers the asm usage which is the storage part of it. I have that link in my notes for reference when looking for the arguments to use ASM. From that link
    •Provides automatic load balancing over all the available disks, thus reducing hot spots in the file system
    •Prevents fragmentation of disks, so you don't need to manually relocate data to tune I/O performance
    •Adding disks is straight forward - ASM automatically performs online disk reorganization when you add or remove storage
    •Uses redundancy features available in intelligent storage arrays
    •The storage system can store all types of database files
    •Using disk group makes configuration easier, as files are placed into disk groups
    •ASM provides stripping and mirroring (fine and coarse gain - see below)
    •ASM and non-ASM oracle files can coexist
    •ASM is free!!!!!!!!!!!!!

  • Oracle Grid Infrastructure: Active/passive Clusters

    Full blown RAC instances are still relatively rare. Maybe the high costs are one of the main reasons for this. Anyway, many SAP/Oracle installations don't really require a fault tolerant database. A simple automatic failover in an active/passive cluster would be sufficient.
    In the book "Oracle Database 11g RAC on Linux"  I found a very interessting comment on page 28:
    A little known fact is that using Oracle Grid Infrastructure makes it very simple to set up a cost effective active/passive cluster. Leveraging the Grid Infrastructure API and Oracleu2019s Automatic Storage Management as a cluster logical volume manager makes it easy to constantly monitor a single instance Oracle database. In case of a node failure, the database will automatically be relocated to the standby node. Depending on the fast_start_mttr_target initialization parameter and the size of the recovery set, the failover to the standby node can be very quick; however, users will be disconnected from the database as part of the failover process.
    Now I have two questions:
    1. If I want to create a proof of concept, where do I start? I already had a look at the Oracle 11g documentation, but in the documentation "cluster" equals "RAC".
    2. It is not sufficient to perform only a database failover. We need to handle the SAP system as well. Is it supported by SAP to put /usr/sap/SID and /sapmnt/SID into ASM 11.2 and present them e.g. as ASM cluster file systems?
    Regards,
    Mark

    Hello Stefan,
    we are both on one line. I would also prefer a simple active-passive cluster setup to a full blown RAC or even a RAC One Node. especially if the license fee for Clusterware is significantly lower than for RAC. However, Oracle staff makes it really clear that Oracle does not want customers to implement active-passive clusters based on Clusterware without RAC. They even say this active-passive cluster is no longer supported on 11.2. by Oracle! Of course it worked fine with 11.1 and there is no reason why it should be technically no longer possible with 11.2. WIth this adverse winds from Oracle blowing in our face, it doesn't make sense to implement such a active-passive cluster any more, however elegent it might have been technically.
    So let's see what the alternatives are and when RAC One Node will be available (and at what price!).
    Regards,
    Mark

  • How to move Oracle APPS 12 setup data to new APPS 12 production environment

    Dear All
    I need to know , how we can move Oracle APPS 12 setup data to new APPS 12 production environment?? What is the easy and secure way, we dont want to do the new installation of APPS 12 and re-setup the things....
    cheers

    Hi,
    Can you please explain more regarding to move setup from DEV to PROD instance.The steps are documented in the iSetup manual, so have you gone through the documentation?
    Also we would install PROD with multi tier nodes, and HA cluster. So in that case what would be the change to move the setups from DEV to PROD, as DEV is single node TEST APPS 12 installation.iSetup is helpful in moving the functional setup between the two instances. If you want to create an identical copy of your DEV instance to PROD instance (provided that both instances contain no data), then you can use "Rapid Clone" -- See (Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12).
    Regards,
    Hussein

  • Problem with installation of Oracle Grid Infrastructure failed on Oracle Linux 6.4 x86_64

    Hello!
    I try install Oracle Grid Infrastructure 11.2.0.1. OS - OEL 6.4 x86_64
    But running script  "/u01/app/oracle/product/11.2.0/grid/root.sh" failed:
    [root@localhost grid]# /u01/app/oracle/product/11.2.0/grid/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
        ORACLE_OWNER= grid
        ORACLE_HOME=  /u01/app/oracle/product/11.2.0/grid
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
       Copying dbhome to /usr/local/bin ...
       Copying oraenv to /usr/local/bin ...
       Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2013-07-03 01:27:08: Checking for super user privileges
    2013-07-03 01:27:08: User has super user privileges
    2013-07-03 01:27:08: Parsing the host name
    Using configuration parameter file: /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'grid', privgrp 'oinstall'..
    Operation successful.
    CRS-4664: Node localhost successfully pinned.
    Adding daemon to inittab
    CRS-4124: Oracle High Availability Services startup failed.
    CRS-4000: Command Start failed, or completed with errors.
    ohasd failed to start: Inappropriate ioctl for device
    ohasd failed to start: Inappropriate ioctl for device at /u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl line 296.
    /u01/app/oracle/product/11.2.0/grid/cfgtoollogs/crsconfig/roothas.log:
    2013-07-03 01:27:08: The configuration parameter file /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params is valid
    2013-07-03 01:27:08: Checking for super user privileges
    2013-07-03 01:27:08: User has super user privileges
    2013-07-03 01:27:08: ### Printing the configuration values from files:
    2013-07-03 01:27:08:    /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
    2013-07-03 01:27:08:    /u01/app/oracle/product/11.2.0/grid/crs/install/s_crsconfig_defs
    2013-07-03 01:27:08: ASM_DISCOVERY_STRING=
    2013-07-03 01:27:08: ASM_DISKS=ORCL:ASMDATA01,ORCL:ASMDATA02,ORCL:ASMDATA03,ORCL:ASMDATA04
    2013-07-03 01:27:08: ASM_DISK_GROUP=DATA
    2013-07-03 01:27:08: ASM_REDUNDANCY=NORMAL
    2013-07-03 01:27:08: ASM_SPFILE=
    2013-07-03 01:27:08: ASM_UPGRADE=false
    2013-07-03 01:27:08: CLSCFG_MISSCOUNT=
    2013-07-03 01:27:08: CLUSTER_GUID=
    2013-07-03 01:27:08: CLUSTER_NAME=
    2013-07-03 01:27:08: CRS_NODEVIPS=
    2013-07-03 01:27:08: CRS_STORAGE_OPTION=0
    2013-07-03 01:27:08: CSS_LEASEDURATION=400
    2013-07-03 01:27:08: DIRPREFIX=
    2013-07-03 01:27:08: DISABLE_OPROCD=0
    2013-07-03 01:27:08: EMBASEJAR_NAME=oemlt.jar
    2013-07-03 01:27:08: EWTJAR_NAME=ewt3.jar
    2013-07-03 01:27:08: EXTERNAL_ORACLE_BIN=/opt/oracle/bin
    2013-07-03 01:27:08: GNS_ADDR_LIST=
    2013-07-03 01:27:08: GNS_ALLOW_NET_LIST=
    2013-07-03 01:27:08: GNS_CONF=false
    2013-07-03 01:27:08: GNS_DENY_ITF_LIST=
    2013-07-03 01:27:08: GNS_DENY_NET_LIST=
    2013-07-03 01:27:08: GNS_DOMAIN_LIST=
    2013-07-03 01:27:08: GPNPCONFIGDIR=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: GPNPGCONFIGDIR=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: GPNP_PA=
    2013-07-03 01:27:08: HELPJAR_NAME=help4.jar
    2013-07-03 01:27:08: HOST_NAME_LIST=
    2013-07-03 01:27:08: ID=/etc/init.d
    2013-07-03 01:27:08: INIT=/sbin/init
    2013-07-03 01:27:08: IT=/etc/inittab
    2013-07-03 01:27:08: JEWTJAR_NAME=jewt4.jar
    2013-07-03 01:27:08: JLIBDIR=/u01/app/oracle/product/11.2.0/grid/jlib
    2013-07-03 01:27:08: JREDIR=/u01/app/oracle/product/11.2.0/grid/jdk/jre/
    2013-07-03 01:27:08: LANGUAGE_ID=AMERICAN_AMERICA.AL32UTF8
    2013-07-03 01:27:08: MSGFILE=/var/adm/messages
    2013-07-03 01:27:08: NETCFGJAR_NAME=netcfg.jar
    2013-07-03 01:27:08: NETWORKS=
    2013-07-03 01:27:08: NEW_HOST_NAME_LIST=
    2013-07-03 01:27:08: NEW_NODEVIPS=
    2013-07-03 01:27:08: NEW_NODE_NAME_LIST=
    2013-07-03 01:27:08: NEW_PRIVATE_NAME_LIST=
    2013-07-03 01:27:08: NODELIST=
    2013-07-03 01:27:08: NODE_NAME_LIST=
    2013-07-03 01:27:08: OCFS_CONFIG=
    2013-07-03 01:27:08: OCRCONFIG=/etc/oracle/ocr.loc
    2013-07-03 01:27:08: OCRCONFIGDIR=/etc/oracle
    2013-07-03 01:27:08: OCRID=
    2013-07-03 01:27:08: OCRLOC=ocr.loc
    2013-07-03 01:27:08: OCR_LOCATIONS=
    2013-07-03 01:27:08: OLASTGASPDIR=/etc/oracle/lastgasp
    2013-07-03 01:27:08: OLRCONFIG=/etc/oracle/olr.loc
    2013-07-03 01:27:08: OLRCONFIGDIR=/etc/oracle
    2013-07-03 01:27:08: OLRLOC=olr.loc
    2013-07-03 01:27:08: OPROCDCHECKDIR=/etc/oracle/oprocd/check
    2013-07-03 01:27:08: OPROCDDIR=/etc/oracle/oprocd
    2013-07-03 01:27:08: OPROCDFATALDIR=/etc/oracle/oprocd/fatal
    2013-07-03 01:27:08: OPROCDSTOPDIR=/etc/oracle/oprocd/stop
    2013-07-03 01:27:08: ORACLE_BASE=/u01/app/oracle
    2013-07-03 01:27:08: ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: ORACLE_OWNER=grid
    2013-07-03 01:27:08: ORA_ASM_GROUP=asmadmin
    2013-07-03 01:27:08: ORA_DBA_GROUP=oinstall
    2013-07-03 01:27:08: PRIVATE_NAME_LIST=
    2013-07-03 01:27:08: RCALLDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc3.d /etc/rc.d/rc4.d /etc/rc.d/rc5.d /etc/rc.d/rc6.d
    2013-07-03 01:27:08: RCKDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc4.d /etc/rc.d/rc6.d
    2013-07-03 01:27:08: RCSDIR=/etc/rc.d/rc3.d /etc/rc.d/rc5.d
    2013-07-03 01:27:08: RC_KILL=K19
    2013-07-03 01:27:08: RC_KILL_OLD=K96
    2013-07-03 01:27:08: RC_START=S96
    2013-07-03 01:27:08: SCAN_NAME=
    2013-07-03 01:27:08: SCAN_PORT=0
    2013-07-03 01:27:08: SCRBASE=/etc/oracle/scls_scr
    2013-07-03 01:27:08: SHAREJAR_NAME=share.jar
    2013-07-03 01:27:08: SILENT=false
    2013-07-03 01:27:08: SO_EXT=so
    2013-07-03 01:27:08: SRVCFGLOC=srvConfig.loc
    2013-07-03 01:27:08: SRVCONFIG=/var/opt/oracle/srvConfig.loc
    2013-07-03 01:27:08: SRVCONFIGDIR=/var/opt/oracle
    2013-07-03 01:27:08: VNDR_CLUSTER=false
    2013-07-03 01:27:08: VOTING_DISKS=
    2013-07-03 01:27:08: ### Printing other configuration values ###
    2013-07-03 01:27:08: CLSCFG_EXTRA_PARMS=
    2013-07-03 01:27:08: CRSDelete=0
    2013-07-03 01:27:08: HAPatch=0
    2013-07-03 01:27:08: HAS_GROUP=oinstall
    2013-07-03 01:27:08: HAS_USER=grid
    2013-07-03 01:27:08: HOST=localhost
    2013-07-03 01:27:08: IS_SIHA=1
    2013-07-03 01:27:08: OLR_DIRECTORY=/u01/app/oracle/product/11.2.0/grid/cdata/localhost
    2013-07-03 01:27:08: OLR_LOCATION=/u01/app/oracle/product/11.2.0/grid/cdata/localhost/localhost.olr
    2013-07-03 01:27:08: ORA_CRS_HOME=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: SUPERUSER=root
    2013-07-03 01:27:08: UPGRADE=
    2013-07-03 01:27:08: crscfg_trace=1
    2013-07-03 01:27:08: crscfg_trace_file=/u01/app/oracle/product/11.2.0/grid/cfgtoollogs/crsconfig/roothas.log
    2013-07-03 01:27:08: hahome=
    2013-07-03 01:27:08: hosts=
    2013-07-03 01:27:08: osdfile=/u01/app/oracle/product/11.2.0/grid/crs/install/s_crsconfig_defs
    2013-07-03 01:27:08: parameters_valid=1
    2013-07-03 01:27:08: paramfile=/u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
    2013-07-03 01:27:08: platform_family=unix
    2013-07-03 01:27:08: srvctl_trc_suff=0
    2013-07-03 01:27:08: user_is_superuser=1
    2013-07-03 01:27:08: ### Printing of configuration values complete ###
    2013-07-03 01:27:08: Oracle CRS stack is not configured yet
    2013-07-03 01:27:08: CRS is not yet configured. Hence, will proceed to configure CRS
    2013-07-03 01:27:10: OLR location = /u01/app/oracle/product/11.2.0/grid/cdata/localhost/localhost.olr
    2013-07-03 01:27:10: Oracle CRS Home = /u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:10: Validating /etc/oracle/olr.loc file for OLR location /u01/app/oracle/product/11.2.0/grid/cdata/localhost/localhost.olr
    2013-07-03 01:27:10: /etc/oracle/olr.loc already exists. Backing up /etc/oracle/olr.loc to /etc/oracle/olr.loc.orig
    2013-07-03 01:27:10: Opening file OCRCONFIG
    2013-07-03 01:27:10: Opening file OCRCONFIG
    2013-07-03 01:27:10: create Local Only OCR...
    2013-07-03 01:27:10: create Local Only OCR on Linux...
    2013-07-03 01:27:10: OCR locations = /u01/app/oracle/product/11.2.0/grid/cdata/localhost/local.ocr
    2013-07-03 01:27:10: Validating OCR locations in /etc/oracle/ocr.loc
    2013-07-03 01:27:10: Checking for existence of /etc/oracle/ocr.loc
    2013-07-03 01:27:10: Backing up /etc/oracle/ocr.loc to /etc/oracle/ocr.loc.orig
    2013-07-03 01:27:10: Setting ocr location /u01/app/oracle/product/11.2.0/grid/cdata/localhost/local.ocr
    2013-07-03 01:27:10: Creating or upgrading Oracle Local Registry (OLR)
    2013-07-03 01:27:10: Running as user grid: /u01/app/oracle/product/11.2.0/grid/bin/ocrconfig -local -upgrade
    2013-07-03 01:27:10:   Invoking "/u01/app/oracle/product/11.2.0/grid/bin/ocrconfig -local -upgrade" as user "grid"
    2013-07-03 01:27:11: OLR successfully created or upgraded
    2013-07-03 01:27:11: /u01/app/oracle/product/11.2.0/grid/bin/clscfg -localadd
    2013-07-03 01:27:11: Running as user grid: /u01/app/oracle/product/11.2.0/grid/bin/clscfg -localadd
    2013-07-03 01:27:11:   Invoking "/u01/app/oracle/product/11.2.0/grid/bin/clscfg -localadd" as user "grid"
    2013-07-03 01:27:11: Keys created in the OLR successfully
    2013-07-03 01:27:12: Creating local-only OCR (/u01/app/oracle/product/11.2.0/grid/bin/crsctl pin css -n localhost) ... succeeded
    2013-07-03 01:27:12: Registering ohasd
    2013-07-03 01:27:12: init file = /u01/app/oracle/product/11.2.0/grid/crs/init/init.ohasd
    2013-07-03 01:27:12: Copying file /u01/app/oracle/product/11.2.0/grid/crs/init/init.ohasd to /etc/init.d directory
    2013-07-03 01:27:12: Setting init.ohasd permission in /etc/init.d directory
    2013-07-03 01:27:12: init file = /u01/app/oracle/product/11.2.0/grid/crs/init/ohasd
    2013-07-03 01:27:12: Copying file /u01/app/oracle/product/11.2.0/grid/crs/init/ohasd to /etc/init.d directory
    2013-07-03 01:27:12: Setting ohasd permission in /etc/init.d directory
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc3.d/S96ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc3.d/S96ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc3.d/S96ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc3.d/S96ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc5.d/S96ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc5.d/S96ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc5.d/S96ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc5.d/S96ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc0.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc0.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc0.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc0.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc1.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc1.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc1.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc1.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc2.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc2.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc2.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc2.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc4.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc4.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc4.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc4.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc6.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc6.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc6.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc6.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: The file ohasd has been successfully linked to the RC directories
    2013-07-03 01:27:12: Starting ohasd
    2013-07-03 01:27:12: itab entries=
    2013-07-03 01:27:18: Created backup /etc/inittab.no_crs
    2013-07-03 01:27:18: Appending to /etc/inittab.tmp:
    2013-07-03 01:27:18: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
    2013-07-03 01:27:18: Done updating /etc/inittab.tmp
    2013-07-03 01:27:18: Saved /etc/inittab.crs
    2013-07-03 01:27:18: Installed new /etc/inittab
    2013-07-03 01:29:18: ohasd failed to start: Inappropriate ioctl for device
    2013-07-03 01:29:18: ###### Begin DIE Stack Trace ######
    2013-07-03 01:29:18:     Package         File                 Line Calling 
    2013-07-03 01:29:18:     --------------- -------------------- ---- ----------
    2013-07-03 01:29:18:  1: main            roothas.pl            166 crsconfig_lib::dietrap
    2013-07-03 01:29:18:  2: main            roothas.pl            296 main::__ANON__
    2013-07-03 01:29:18: ####### End DIE Stack Trace #######
    selinux and firewall is disabled.

    Hi,
    Refer the below metalink note :- OHASD Failed to Start: Inappropriate ioctl for device [ID 1069182.1]
    Thanks

Maybe you are looking for

  • How can I change my e-mail on my Apple account

    I currently found out that my Apple account e-mail is on my old e-mail account that is no longer active, but I log in to my Apple account using my current e-mail. How can I change this becoause when I went to set up my icloud it sent an e-mail to my

  • Re: Error in changing my payment method to a new c...

    I am trying to update my payment method.  It is telling me I have too many stored credit cards.  I only have a stored PayPal account.  I want to pay with a credit card to reacitvate my skype number.  It will not allow me to.

  • Netbeans5.5: attempt to compile a single file causes package compilation

    Hi, i have two different (Java Class Library) projects- say A and B. None of them is finished. However, i want to run a test on A (TestA.java). I have instructed project A to include B.jar (Right Click-> Propertied, etc), since TestA.java includes fi

  • FireWire dropping--machine locking/rebooting after installing Clusterware!

    I installed Clusterware 10.2.3 on 64-bit CentOS4.5 running on 2 AMD64 machines. Installation went fine and everything started/worked. But about after 2-3 hours (only Clusterware installed, no other Oracle software), things started going pretty bad --

  • Unable to export some photos to iPhone, or iPad.

    When I try to export an album I created (let say a birthday party) to my iPhone, only some of the photos show up in my iPhone or iPad even though there are 70 photos only 13 show. Can someone help please?