PSU for Oracle Restart 11.2.0.1 AIX 6.1

Hi Gurus,
I have applied the patch 9655006 to GI for standalone i,e Oracle Restart.The patch went through fine but changed the owner on the grid directory and permissions.The grid directory under /u01/app/11.2.0/grid should be owned by root, instead after patch its owned by grid now .
Let me breakdown the steps that i performed for patch aplication.
1)Unlocked the grid home as root using command "roothas.pl -unlock"
2)Applied PSU patch as grid user(grid) using command opatch apply .The patch was applied successfully.
3)tried locking the grid home again using comand "roothas.pl -patch"
the command failed with the error "u01/app/11.2.0/grid/bin/crsctl[158]: /u01/app/11.2.0/grid/bin/crsctl.bin: cannot execute".
4)Tried rolling back the patch with command "opatch rollback -id 9655006" failed with error Copy failed from '/u01/app/11.2.0/grid/.patch_storage/9655006_Jul_6_2010_12_27_31/files/bin/oradnssd' to '/u01/app/11.2.0/grid/bin/oradnssd'...
5)Gave execute privilege recursively in GI-home/ bin directory and the Oracle Restart Stack came up.
My concerned is how the privileges got changed and how safe/consistent is the environment now after patch?what would be the impact of this on my existing environment?
ls -ld /u01/app/11.2.0/grid
drwxr-xr-x 66 grid oinstall 4096 Aug 12 11:24 /u01/app/11.2.0/grid
Please any inputs would be really appreciated.
Thanks

Hi,
822424 wrote:
Hi Gurus,
I have applied the patch 9655006 to GI for standalone i,e Oracle Restart.The patch went through fine but changed the owner on the grid directory and permissions.The grid directory under /u01/app/11.2.0/grid should be owned by root, instead after patch its owned by grid now .
Let me breakdown the steps that i performed for patch aplication.
1)Unlocked the grid home as root using command "roothas.pl -unlock"
2)*Applied PSU patch as grid user(grid) using command opatch apply .The patch was applied successfully.*
3)tried locking the grid home again using comand "roothas.pl -patch"
the command failed with the error "u01/app/11.2.0/grid/bin/crsctl[158]: /u01/app/11.2.0/grid/bin/crsctl.bin: cannot execute".
4)Tried rolling back the patch with command "opatch rollback -id 9655006" failed with error Copy failed from '/u01/app/11.2.0/grid/.patch_storage/9655006_Jul_6_2010_12_27_31/files/bin/oradnssd' to '/u01/app/11.2.0/grid/bin/oradnssd'...
5)Gave execute privilege recursively in GI-home/ bin directory and the Oracle Restart Stack came up.
Did you read README of Patch?
OPatch Automation for GI
The utility (opatch) must be executed by an operating system (OS) user with root privileges (usually user root), and it must be executed on each node in the cluster.
Patching the Oracle Restart Home
Before patching the Oracle Restart home, keep the Oracle Restart stack up and running.
To patch the Oracle Restart home, as an administrative user (usually root user) execute a command in the following format:
#opatch auto <UNZIPPED_PATCH_LOCATION> -oh <path to Oracle Restart home>
So, opatch with root privileges unlock and relock the GRID_HOME automatically.
This patch must be applied using an administrative user (usually root user).
My concerned is how the privileges got changed and how safe/consistent is the environment now after patch?what would be the impact of this on my existing environment?Did you take backup of Grid Home before patch?
Backup of the Oracle home can be taken using any preferred method. You can use any tool such as zip, tar, and cpio to compress the Oracle home. It is highly recommended to take a backup of Oracle home binaries while applying patch set(s) or patches. You should also backup the Central Inventory where the Oracle home is installed, while taking backup of the Oracle Home.
If you have backup of Oracle Home then you can restore all files of GRID HOME (Oracle Restart) and apply patch using root user.
Regards,
Levi Pereira
Edited by: Levi Pereira on Aug 15, 2011 8:14 PM

Similar Messages

  • Grid Infrastructure installable for Oracle Restart only (No ASM)?

    Hello,
    Can Oracle Grid Infrastructure be installed for its Oracle Restart functionality only? i.e., No ASM,; this box uses local RAID 5 filesystems only.
    This is a standalone 32-bit RHEL 5 system with Oracle Database 10gR2 already installed that I intend to upgrade to 11gR2. Just experimenting with installing Grid Infrastructure for only its restart capability. There isn't anything out there I've found that addresses this other than the Oracle doc stating that the Infrastructure must be installed if I want to use ASM or Oracle Restart.
    I'm currently in the installer in a Software Only installation waiting for my SysAdmin to run the root.sh script, but in looking at this script, it looks like it might try to do things with CRS, voting files and the like, which do not exist.
    Thank you!
    -Jon

    Hi Erik,
    Can Oracle Grid Infrastructure be installed for its Oracle Restart functionality only? Yes ... you can do that installing Software Only
    I'm currently in the installer in a Software Only installation waiting for my SysAdmin to run the root.sh script, but in looking at this script, it looks like it might try to do things with CRS, voting files and the like, which do not exist.Don't worry about that ... at the end of the execution of the root.sh script will report a proceedings to configure only Oracle Restart.
    Only this resource "ora.evmd" will appear online.
    Regards,
    Levi Pereira

  • Oracle one off patches for Oracle 10.2.0.4 on AIX

    Are the AIX5L patches located at this web page below the same patches you should use for AIX 6.1?
    https://websmp107.sap-ag.de/swcenter-3pmain
    Database Patches -> Oracle -> Oracle 10.2.0.4 -> AIX5L (64-bit)

    Yes.

  • Oracle Restart

    I am going to upgrade from 10.2 to 11.2 in linux. I like to add the new feature Oracle restart but i am not going to configure ASM and files hold in file system. If i want to do so how i install Grid Infrastructure seperatly to support only for Oracle restart.

    hi
    The Oracle grid infrastructure for a standalone server is the Oracle software that provides system support for an Oracle database including volume management, file system, and automatic restart capabilities. If you plan to use Oracle Restart or Automatic Storage Management, you must install the grid infrastructure before installing your database.
    pls also check
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10840/oraclerestart.htm#LADBI999
    regards
    zekeriya

  • Prerequisites for Oracle 9i installation AIX 5L V5.3

    Hi,
    Can anybody give a clear idea on the prerequisites for Oracle 9i release 2 installation IBM AIX 5L V5.3
    Thanks
    Jibu

    Where did you get that information from?
    If you check the great cert matrix, you'll find that Oracle's support for 5L is rather wide. The general note/page says e.g.
    "Oracle products are certified for AIX5L on all servers that IBM supports with AIX5L. ...
    AIX5L certifications include AIX5L versions 5.2 and 5.3."
    And 9.2 is certified on "5L" (but note that current support ends July this year)

  • Directory Setup for RAC and Oracle Restart

    I have three database installations that I'd like some insight on the initial directory structure and permissions. The three installations are:
    1) Prod RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
    2) Test RAC - OEL 5U2, 11.2.0.2 Grid Infrastructure, 11.2.0.2 DB EE with RAC option
    3) Single Instance - OEL 5U2, 11.2.0.2 Grid Infrastructure Standalone (Oracle Restart), 11.2.0.2 DB EE
    The they all have two users GRID (for Grid Infrastructure Software Owner) and ORACLE (for Oracle Database Software Owner).
    We had a consultant install the databases. It's very weird since we have an inconsistency in directories and permission. I want to understand the inconsistency between RAC installations as well as Oracle Restart Install.
    SEE BELOW: The two RAC servers have different owners for /u01/app/11.2.0.2 directory. The Oracle Restart Installation - Single Instance has the same owner as Prod RAC but different than Test RAC. What the consultant said was that ORACLE_BASE would be /u01/app/oracle for both Grid Infrastructure and Database installations. This was to apply to TEST/PROD RAC (3 node, 3 instances, 1 instance/node) and Oracle Restart installation. The GRID_HOME would be /u01/app/11.2.0.2/grid and ORACLE_HOME would be /u01/app/11.2.0.2/db_1. It seems like the owners aren't setup correctly. Why? I don't want problems with patching or upgrading. If this setup is technically incorrect what is the best way to setup so there's no owner/permission issues. Is it necessary to have two separate ORACLE_BASE's like /u01/app/grid?
    PRODUCTION REAL APPLICATION CLUSTER (Displaying only one Node details)
    $ cd app
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 3 root oinstall 4096 Apr 21 2009 ..
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
    drwxrwxr-x 2 emagent oinstall 4096 Feb 26 2011 emagent
    drwxrwxr-x 9 oracle oinstall 4096 May 16 2011 oracle
    drwxrwx--- 7 grid oinstall 4096 Feb 26 2011 oraInventory
    $ cd 11.2.0.2
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 79 oracle oinstall 4096 Mar 29 2011 db_1
    drwxr-xr-x 69 root oinstall 4096 Feb 26 2011 grid
    $ cd ..
    $ cd oracle
    9 oracle oinstall 4096 May 16 2011 .
    drwxr-xr-x 6 root oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 4 oracle oinstall 4096 Feb 26 2011 admin
    drwxr-xr-x 3 oracle oinstall 4096 Feb 26 2011 cfgtoollogs
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
    drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
    drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqrac03
    drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle
    drwxr-xr-x 3 root root 4096 Mar 13 2011 oradiag_root
    TEST REAL APPLICATION CLUSTER (Displaying only one Node details)
    $ cd app
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ./
    drwxr-xr-x 3 root oinstall 4096 Jan 26 2009 ../
    drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 11.2.0.2/
    drwxrwxr-x 2 emagent oinstall 4096 Mar 1 2011 emagent/
    drwxrwxr-x 10 grid oinstall 4096 May 16 2011 oracle/
    drwxrwx--- 7 grid oinstall 4096 Jan 27 2011 oraInventory/
    $ cd 11.2.0.2
    drwxrwxr-x 4 root oinstall 4096 Jan 26 2011 ./
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
    drwxr-xr-x 80 oracle oinstall 4096 Mar 17 2011 db_1/
    drwxr-xr-x 70 root oinstall 4096 Jan 27 2011 grid/
    $ cd ..
    $ cd oracle
    drwxrwxr-x 10 grid oinstall 4096 May 16 2011 ./
    drwxr-xr-x 6 root oinstall 4096 Jan 26 2011 ../
    drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 admin/
    drwxr-xr-x 4 oracle oinstall 4096 Feb 2 2011 cfgtoollogs/
    drwxr-xr-x 2 grid oinstall 4096 Jan 26 2011 Clusterware/
    drwxrwxr-x 11 grid oinstall 4096 Jan 26 2011 diag/
    drwxr-xr-x 3 grid oinstall 4096 Jan 26 2011 hqract03/
    drwxr-xr-x 3 grid oinstall 4096 Mar 23 2011 oradiag_grid/
    drwxr----- 3 oracle oinstall 4096 May 16 2011 oradiag_oracle/
    drwxr-xr-x 3 root root 4096 Jan 27 2011 oradiag_root/
    SINGLE INSTANCE DATABASE (ORACLE RESTART)
    $ cd app
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 .
    drwxr-xr-x 3 root root 4096 Apr 16 2009 ..
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 11.2.0.2
    drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 oracle
    drwxrwx--- 6 grid oinstall 4096 Feb 26 2011 oraInventory
    $ cd 11.2.0.2
    drwxrwxr-x 4 grid oinstall 4096 Feb 26 2011 .
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
    drwxr-xr-x 76 oracle oinstall 4096 Apr 6 2011 db_1
    drwxr-x--- 69 root oinstall 4096 Feb 26 2011 grid
    $ cd ..
    $ cd oracle
    drwxrwxr-x 8 grid oinstall 4096 Feb 26 2011 .
    drwxrwxr-x 6 503 oinstall 4096 Feb 26 2011 ..
    drwxrwxr-x 5 grid oinstall 4096 Feb 26 2011 admin
    drwxrwxr-x 7 grid oinstall 4096 Feb 26 2011 cfgtoollogs
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 checkpoints
    drwxrwxr-x 2 grid oinstall 4096 Feb 26 2011 Clusterware
    drwxrwxr-x 11 grid oinstall 4096 Feb 26 2011 diag
    drwxrwxr-x 3 grid oinstall 4096 Feb 26 2011 hqods01
    Thanks so much.

    Hello
    I did only check prod, as that is the important one.
    i am afraid that setup is not clean. I won't use the work is wrong, but need to be normalized.
    grid oracle base need to be separate from oracle oracle base, and the grid oracle home, MUST be outside of oracle base/oracle home of the oracle user.
    In a multi user setup, the structure should be as follow.
    grid user, group oinstall, asm* groups
    oracle user, group oinstall, dba and db* groups
    The GRID install, have, grid home and oracle base
    the oracle base for grid should be, /u01/app/grid
    the grid home should be, /u01/app/11.2.0.3/grid
    the Oracle user have several homes, and oracle base
    the oracle base for oracle should be, /u01/oracle
    so, for permissions, when I create this, i do as root
    mkdir -p /u01/app/11.2.0.3/grid
    mkdir -p /u01/app/grid
    mkdir -p /u01/app/oracle
    mkdir -p /u01/app/oraInventory
    chown -R grid:oinstall /u01
    chown -R oracle:oinstall /u01/app/oracle
    then, you install grid .. you have so say oracle home is /u01/app/grid and oracle home is /u01/app/11.2.0.3/grid
    at the end, the root.sh as part of the install will take care of the permissions for oraInventory, and the rest for grid.
    when grid is installed, you can move to the oracle db install you use oracle base as /u01/app/oracle and oracle home as /u01/app/oracle/product/11.2.0.3/dbhome_1
    that will give you
    2 4 drwxr-xr-x 6 root oinstall 4096 Sep 21 03:20 /u01
    5996545 4 drwxr-xr-x 6 root oinstall 4096 Sep 18 22:58 /u01/app
    5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid
    5996547 4 drwxr-xr-x 3 root oinstall 4096 Sep 18 22:30 /u01/app/11.2.0.3
    5996548 4 drwxr-xr-x 69 root oinstall 4096 Sep 21 10:52 /u01/app/11.2.0.3/grid
    5996549 4 drwxrwx--- 5 grid oinstall 4096 Oct 30 22:08 /u01/app/oraInventory
    7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle
    7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
    7406842 4 drwxr-xr-x 6 oracle oinstall 4096 Oct 30 22:04 /u01/app/oracle/product/11.2.0.3
    7766052 4 drwxr-xr-x 77 oracle oinstall 4096 Nov 2 01:20 /u01/app/oracle/product/11.2.0.3/dbhome_1
    Each user have to use his own oracle_base, as each oracle_base will store files and folders created for logs, admin, diagnostic with different permissions and different usages, for a reason you have role separation.
    example of the content of each oracle base
    $ find /u01/app/oracle/ -maxdepth 1 -ls
    7406840 4 drwxr-xr-x 7 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/
    7406841 4 drwxr-xr-x 3 oracle oinstall 4096 Sep 18 22:58 /u01/app/oracle/product
    8749076 4 drwxrwxr-x 3 oracle asmadmin 4096 Sep 18 23:03 /u01/app/oracle/diag
    8749064 4 drwxr-x--- 6 oracle oinstall 4096 Oct 30 22:09 /u01/app/oracle/admin
    8716289 4 drwxr-xr-x 2 oracle oinstall 4096 Oct 30 22:18 /u01/app/oracle/checkpoints
    8749061 4 drwxr-x--- 5 oracle oinstall 4096 Sep 18 23:12 /u01/app/oracle/cfgtoollogs
    $ find /u01/app/grid/ -maxdepth 1 -ls
    5996546 4 drwxr-xr-x 8 grid oinstall 4096 Sep 18 22:50 /u01/app/grid/
    7307540 4 drwxrwxr-x 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/diag
    7307474 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/Clusterware
    7307265 4 drwxr-xr-x 2 grid oinstall 4096 Sep 18 22:33 /u01/app/grid/checkpoints
    7307532 4 drwxr-x--- 4 grid oinstall 4096 Sep 18 22:49 /u01/app/grid/cfgtoollogs
    7406796 4 drwxr-xr-x 3 root root 4096 Sep 18 22:50 /u01/app/grid/oradiag_root
    Take care,
    Alvaro.

  • When will Oracle 10g and 11g PSU for July (quarter) be available?

    I've searched Oracle site and result shows Critical Patch Updates (CPU) page only that has release dates: Critical Patch Updates and Security Alerts.
    Are the dates applicable to PSU as well?

    Typically the dates are applicable to PSUs as well - but not necessarily. Pl see Section 3 in this MOS Doc
    Patch Set Updates for Oracle Products [ID 854428.1]
    HTH
    Srini

  • Oracle restart for OEM Agent

    Hello ,
    Is there any command in Oracle restart to register OEM agent to Oracle restart such that the AGENT can be stopped/started as part of the Oracle restart process when ever the server is rebooted.
    Thanks
    Venkat

    Hi,
    Do you mean register the agent in the repository or start the agent when the server it is installed on starts up ?
    There's this : http://docs.oracle.com/cd/B19306_01/server.102/b15658/strt_stp.htm#BGBFHGAJ
    So have a script read the /etc/oratab, locate the agent home, and run it's startup from that.
    Should work, someone probably has a better idea but that one seems reasonable.

  • DBAShell - New Open Source Project for Oracle DBA's

    I'd like to have this project included in the Open Source Oracle tools list at: http://www.oracle.com/technology/community/opensource_projects.html
    I’'ve been an Oracle DBA for quite some time (since 7.0.13) and a developer for many years. One of the things I'’ve always wished for was an easier way to set up environment variables for different Oracle Home’s and a way to provide passwords to scripts without embedding them in plain-view.
    About 3 years ago, I started a set of functions and scripts at my company that did exactly just that and provided many more functions for things like checking database status, running scripts quietly unless errors are detected, running actions in parallel (like fast shutdowns at once, or multiple analyzes), restarting databases in a guaranteed fashion, aliases to common folder locations, etc..
    About a month ago, after putting all this time and effort into these scripts and using them in production all this time, I realized I wanted more out of the scripts like support for other databases and thought that it would be best if I gave it new life as an Open Source project.
    So that is how http://sourceforge.net/projects/dbashell/ was started. Now it’s in a second release (DBAShell 0.85) that is more modular and would allow other people to easily add support for other OS’s, other Shells, and other Databases.
    Here is a description of the project from the latest news item:
    DBAShell is a project based around Shell functions and scripts designed to make it easy for DBA's to use Databases in a command line environment. Currently supported is Oracle with ksh and bash on AIX, Solaris, Linux. The code base itself is 3 years old and has been in use in Production environments all of that time.
    Features include:
    * Automatic setting of all environment variables based on SID requested.
    * Manage PATH's and other path like variables for each ORACLE_HOME needed.
    * Run scripts with stored passwords (no more hard-coding of passwords!!)
    * Automatically set SID based on Script location (makes it easier to share scripts between SID's)
    * manage temporary script output and check for oracle errors in output
    * check database status and versions from scripts
    * stop/start databases in parallel (faster startup)
    * compile all database objects
    * analyze objects in parallel (Faster analyzes)
    * set aliases and variables for common SID areas, etc..
    * many helpful commands for common Oracle tasks
    Over a thousand people have already downloaded the prior release and more are downloading every hour.
    I'm seeking feedback from anybody that would be willing to take a look at the project, trying it out, give me any feedback you have on it, and perhaps even direct me to where I could best promote this project.
    I wrote a tutorial that shows at a glance some of the more useful features of DBAShell:
    http://sourceforge.net/docman/display_doc.php?docid=34041&group_id=170224
    Main site:
    http://sourceforge.net/projects/dbashell/
    Documentation: http://sourceforge.net/docman/display_doc.php?docid=33704&group_id=170224
    Download:
    http://prdownloads.sourceforge.net/dbashell/dbashell-0.85.tar.gz?download

    Always glad to have people thinking about the poor DBA's. Usually, the developers get most of the attention in open source.

  • DBAShell - Open Source project for Oracle DBA's

    I’ve been an Oracle DBA for quite some time (since 7.0.13) and a developer for many years. One of the things I’ve always wished for was an easier way to set up environment variables for different Oracle Home’s and a way to provide passwords to scripts without embedding them in plain-view.
    About 3 years ago, I started a set of functions and scripts at my company that did exactly just that and provided many more functions for things like checking database status, running scripts quietly unless errors are detected, running actions in parallel (like fast shutdowns at once, or multiple analyzes), restarting databases in a guaranteed fashion, aliases to common folder locations, etc..
    About a month ago, after putting all this time and effort into these scripts and using them in production all this time, I realized I wanted more out of the scripts like support for other databases and thought that it would be best if I gave it new life as an Open Source project.
    So that is how http://sourceforge.net/projects/dbashell/ was started. Now it’s in a second release (DBAShell 0.85) that is more modular and would allow other people to easily add support for other OS’s, other Shells, and other Databases.
    Here is a description of the project from the latest news item:
    DBAShell is a project based around Shell functions and scripts designed to make it easy for DBA's to use Databases in a command line environment. Currently supported is Oracle with ksh and bash on AIX, Solaris, Linux. The code base itself is 3 years old and has been in use in Production environments all of that time.
    Features include:
    * Automatic setting of all environment variables based on SID requested.
    * Manage PATH's and other path like variables for each ORACLE_HOME needed.
    * Run scripts with stored passwords (no more hard-coding of passwords!!)
    * Automatically set SID based on Script location (makes it easier to share scripts between SID's)
    * manage temporary script output and check for oracle errors in output
    * check database status and versions from scripts
    * stop/start databases in parallel (faster startup)
    * compile all database objects
    * analyze objects in parallel (Faster analyzes)
    * set aliases and variables for common SID areas, etc..
    * many helpful commands for common Oracle tasks
    Over a thousand people have already downloaded the prior release and more are downloading every hour.
    I'm seeking feedback from anybody that would be willing to take a look at the project, trying it out, give me any feedback you have on it, and perhaps even direct me to where I could best promote this project.
    I wrote a tutorial that shows at a glance some of the more useful features of DBAShell:
    http://sourceforge.net/docman/display_doc.php?docid=34041&group_id=170224
    Main site:
    http://sourceforge.net/projects/dbashell/
    Documentation: http://sourceforge.net/docman/display_doc.php?docid=33704&group_id=170224
    Download:
    http://prdownloads.sourceforge.net/dbashell/dbashell-0.85.tar.gz?download

    Always glad to have people thinking about the poor DBA's. Usually, the developers get most of the attention in open source.

  • Error creating a new Data Source for Oracle connection

    I'm trying to create a new data source connection to our
    Oracle 10gR2 server using ColdFusion Administrator 6.1 Standard on
    a Windows 2003 server.
    I created a System DSN ODBC connection for Oracle. I can use
    the ODBC connection when connecting an Access db to Oracle but when
    I try to use it w/ ColdFusion Admin it generates the following
    error message:
    Connection verification failed for data source: sitest2
    []java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket]internal error:
    Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    The root cause was that: java.sql.SQLException:
    [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error:
    Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    Any help or recommendations would be greatly appreciated.
    Tina

    The schema/user is system and the password is alpha-numeric, upper/lower case, no special char ...
    As a workaround I was able to add the password to the entry in the datasources.xml file and restarted BI Pub.
    The JDBC is working ... I can test the connection successfully ... just wont save the entry
    Edited by: tread on Oct 17, 2011 11:55 AM

  • Reg : I am getting an error while Using MicroSoft ODBC For Oracle Driver

    I am Using MicroSoft ODBC For Oracle Driver  for JDBC. Why i am using this driver is i could not able to get  the arabic content if i use the other driver  .I Right now i cannot change the NLS Lang because its a production server    also it has around 300 gb of data  and i can not take risk now by changing the NLS lang.. coming to the below error .i could able to access my data up to 4 Hours after that i am getting this error.If i restart my tomcat i can use my application  one more 4 hrs  .Please get back to me if u have any solution.Its very very helpful to me......+*
    [java.sql.SQLException] [ Microsoft ODBC for Oracle ]
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:3
    23)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at com.iton.eoffice.DatabaseBean.connecteOfficeMoEnq(DatabaseBean.java:4
    60)
    at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
    chMoEnq_jsp.java:434)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:384)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    20)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:206)
    at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
    ingFilter.java:63)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:228)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.j
    ava:347)
    at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBin
    derValve.java:209)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:212)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ss(Http11Protocol.java:634)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
    5)
    at java.lang.Thread.run(Thread.java:619)
    ------------1234-----------
    java.lang.NullPointerException
    at com.iton.eoffice.DatabaseBean.getSQLRows(DatabaseBean.java:764)
    at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
    chMoEnq_jsp.java:435)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:384)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    20)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:206)
    at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
    ingFilter.java:63)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by sreenivas navuluri:
    Oracle(tm)Client and networking components not found. These components are supplied by Oracle Corporation and part of Oracle Version 7.2 or greater Client software installation. You will be unable to use this driver until these components have been installed . This error occurs while selecting the Microsoft Odbc for Oracle driver from the ODBC in control panel. Pls suggest<HR></BLOCKQUOTE>
    null

  • During the installation of grid infra(cluster) for Oracle 11.2 RAC one.

    Good Day All, and thanks in advance…
    During the installation of grid infrastructure(cluster) for Oracle 11.2 RAC One Node on AIX6.1 ( PROD) , ASM used. I am getting below errors when executing ./root.sh
    Upon investigation ,I managed to get note: 1068212.1 from the support oracle site ( see below for details) . I might be hitting Unpublished bug 8670579. I also logged Severity 2 SR with Oracle support to get the bug/patch fix and no one has attended the call.
    This might be configuration issue or otherwise , if you have experienced the same issue please assist ? ( if you need more logfiles please feel free to request)….
    I ran the Cluster Verify Check – all passed.
    Many Thanks
    Ezekiel Filane
    /u01/app/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/11.2.0/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    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.
    2010-10-19 10:33:11: Parsing the host name
    2010-10-19 10:33:11: Checking for super user privileges
    2010-10-19 10:33:11: User has super user privileges
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    User grid has the required capabilities to run CSSD in realtime mode
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'system'..
    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 'csgipm'
    CRS-2672: Attempting to start 'ora.mdnsd' on 'csgipm'
    CRS-2676: Start of 'ora.gipcd' on 'csgipm' succeeded
    CRS-2676: Start of 'ora.mdnsd' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'csgipm'
    CRS-2676: Start of 'ora.gpnpd' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'csgipm'
    CRS-2676: Start of 'ora.cssdmonitor' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'csgipm'
    CRS-2672: Attempting to start 'ora.diskmon' on 'csgipm'
    CRS-2676: Start of 'ora.diskmon' on 'csgipm' succeeded
    CRS-2676: Start of 'ora.cssd' on 'csgipm' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'csgipm'
    Start action for daemon aborted
    CRS-2674: Start of 'ora.ctssd' on 'csgipm' failed
    CRS-2679: Attempting to clean 'ora.ctssd' on 'csgipm'
    CRS-2681: Clean of 'ora.ctssd' on 'csgipm' succeeded
    CRS-4000: Command Start failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl start resource ora.ctssd -init
    Start of resource "ora.ctssd -init" failed
    Clusterware exclusive mode start of resource ora.ctssd failed
    CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
    Stop of resource "ora.crsd -init" failed
    Failed to stop CRSD
    CRS-2500: Cannot stop resource 'ora.asm' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
    Stop of resource "ora.asm -init" failed
    Failed to stop ASM
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'csgipm'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'csgipm'
    CRS-2677: Stop of 'ora.cssd' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'csgipm'
    CRS-2677: Stop of 'ora.gpnpd' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'csgipm'
    CRS-2677: Stop of 'ora.gipcd' on 'csgipm' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'csgipm'
    CRS-2677: Stop of 'ora.mdnsd' on 'csgipm' succeeded
    Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_csgipm.log for details
    csgipm:/u01/app/11.2.0/grid#ps -ef | grep pmon
    root 6160492 3932160 0 10:54:13 pts/2 0:00 grep pmon
    more /u01/app/11.2.0/grid/log/csgipm/client/ocrconfig_5767204.log
    csgipm:/usr/sbin#more /u01/app/11.2.0/grid/log/csgipm/client/ocrconfig_5767204.log
    2010-10-19 10:33:14.435: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.435: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.435: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.435: [  OCRRAW][1]proprioini: all disks are not OCR/OLR formatted
    2010-10-19 10:33:14.435: [  OCRRAW][1]proprinit: Could not open raw device
    2010-10-19 10:33:14.442: [ default][1]a_init:7!: Backend init unsuccessful : [26]
    2010-10-19 10:33:14.461: [ OCRCONF][1]Exporting OCR data to [OCRUPGRADEFILE]
    2010-10-19 10:33:14.461: [  OCRAPI][1]a_init:7!: Backend init unsuccessful : [33]
    2010-10-19 10:33:14.461: [ OCRCONF][1]There was no previous version of OCR. error:[PROCL-33: Oracle Local Registry is not configured]
    2010-10-19 10:33:14.461: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.461: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.462: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.462: [  OCRRAW][1]proprioini: all disks are not OCR/OLR formatted
    2010-10-19 10:33:14.462: [  OCRRAW][1]proprinit: Could not open raw device
    2010-10-19 10:33:14.462: [ default][1]a_init:7!: Backend init unsuccessful : [26]
    2010-10-19 10:33:14.462: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.463: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.463: [  OCROSD][1]utread:3: Problem reading buffer 104ef000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.483: [  OCRRAW][1]ibctx: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.483: [  OCRRAW][1]proprinit:problem reading the bootblock or superbloc 22
    2010-10-19 10:33:14.483: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2010-10-19 10:33:14.483: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2010-10-19 10:33:14.483: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2010-10-19 10:33:14.484: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2010-10-19 10:33:14.484: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2010-10-19 10:33:14.484: [  OCROSD][1]utread:3: Problem reading buffer 104fe000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2010-10-19 10:33:14.484: [  OCRRAW][1]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2010-10-19 10:33:14.541: [  OCRAPI][1]a_init:6a: Backend init successful
    2010-10-19 10:33:14.646: [ OCRCONF][1]Initialized DATABASE keys
    2010-10-19 10:33:14.650: [ OCRCONF][1]Exiting [status=success]...

    Hi,
    We are also trying to install 11.2.0.2 Grid infrastructure for Oracle RAC One Node on AIX 6.1. We did a POC in our lab environment and after much struggle got that working. Now we are building 4 clusters in the production environment and the first cluster installation failed while running root.sh on node2. We already have a Sev1 ticket open with Oracle Support but have not heard anything.
    Here is root.sh output from node2. The two node names are p01dou416 and p01dou417.
    CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node p01dou416, number 1, and is terminating
    An active cluster was found during exclusive startup, restarting to join the cluster
    Failed to start Oracle Clusterware stack
    Failed to start Cluster Synchorinisation Service in clustered mode at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1020.
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
    [root@P01DOU417] /u01/app/11.2.0/grid #
    LOG output: /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/ rootcrs_p01dou417.log
    2010-11-13 17:22:14: Successfully started requested Oracle stack daemons
    2010-11-13 17:22:14: Starting CSS in clustered mode
    2010-11-13 17:22:14: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl start resource ora.cssd -init
    2010-11-13 17:32:28: Command output:
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'p01dou417'
    CRS-2672: Attempting to start 'ora.gipcd' on 'p01dou417'
    CRS-2676: Start of 'ora.cssdmonitor' on 'p01dou417' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'p01dou417' succeeded> CRS-2679: Attempting to clean 'ora.cssd' on 'p01dou417'
    CRS-2681: Clean of 'ora.cssd' on 'p01dou417' succeeded
    CRS-2673: Attempting to stop 'ora.diskmon' on 'p01dou417'
    CRS-2677: Stop of 'ora.diskmon' on 'p01dou417' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'p01dou417'
    CRS-2677: Stop of 'ora.gipcd' on 'p01dou417' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'p01dou417'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'p01dou417' succeeded
    CRS-5804: Communication error with agent process
    CRS-4000: Command Start failed, or completed with errors.
    End Command output2010-11-13 17:32:28: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl check css
    2010-11-13 17:32:28: Command output:
    CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
    End Command output2010-11-13 17:32:28: Checking the status of css
    2010-11-13 17:32:33: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl check css
    2010-11-13 17:32:33: Command output:
    CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
    End Command output2010-11-13 17:32:33: Checking the status of css
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.gipcd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2676: Start of 'ora.cssdmonitor' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2676: Start of 'ora.gipcd' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.cssd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2672: Attempting to start 'ora.diskmon' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2676: Start of 'ora.diskmon' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2674: Start of 'ora.cssd' on 'p01dou417' failed
    2010-11-13 17:32:38: CRS-2679: Attempting to clean 'ora.cssd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2681: Clean of 'ora.cssd' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2673: Attempting to stop 'ora.diskmon' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2677: Stop of 'ora.diskmon' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2673: Attempting to stop 'ora.gipcd' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2677: Stop of 'ora.gipcd' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'p01dou417'
    2010-11-13 17:32:38: CRS-2677: Stop of 'ora.cssdmonitor' on 'p01dou417' succeeded
    2010-11-13 17:32:38: CRS-5804: Communication error with agent process
    2010-11-13 17:32:38: CRS-4000: Command Start failed, or completed with errors.
    2010-11-13 17:32:38: Failed to start Oracle Clusterware stack
    2010-11-13 17:32:38: ###### Begin DIE Stack Trace ######
    2010-11-13 17:32:38: Package File Line Calling
    2010-11-13 17:32:38: --------------- -------------------- ---- ----------
    2010-11-13 17:32:38: 1: main rootcrs.pl 324 crsconfig_lib::dietrap
    2010-11-13 17:32:38: 2: crsconfig_lib crsconfig_lib.pm 1020 main::__ANON__
    2010-11-13 17:32:38: 3: crsconfig_lib crsconfig_lib.pm 997 crsconfig_lib::start_cluster
    2010-11-13 17:32:38: 4: main rootcrs.pl 697 crsconfig_lib::perform_start_cluster
    2010-11-13 17:32:38: ####### End DIE Stack Trace #######
    2010-11-13 17:32:38: 'ROOTCRS_STACK' checkpoint has failed
    Any help on this is appreciated.
    Edited by: user12019257 on Nov 17, 2010 1:26 PM

  • Oracle SQL template to create re-usable DDL/DML Scripts for Oracle database

    Hi,
    I have a requirement to put together a Oracle SQL template to create re-usable DDL/DML Scripts for Oracle databases.
    Only the Oracle DBA will be running the scripts so permissions is not an issue.
    The workflow for any DDL is as follows:-
    1) New Table
    a. Check if the table exists from the system/admin views.
    b. If table exists then give message "Table Exists"
    c. If table does not exist then execute DDL code
    2) Add Column
    a. Check if Column exists for a given table from system/admin views
    b. If column exists in the specified table,
    b1. backup table.
    b2. alter table to make changes to the column
    b3. verify data or execute dml script convert from backup to the new change.
    c. If Column does not exist
    c1. backup table
    c2. alter table to add column
    c3. execute dml to populate column with default value.
    The DML scripts are for populating base tables with data required for business operations.
    3) Add new row
    a. check if row exists by comparing old values of each column with new values to be added for the new record.
    b. If exists, give message row exists
    c. If not exists, add new record.
    4) Update existing record (We have createtime columns in these tables so changes can be tracked)
    a. check if row exists using primary key.
    b. If exists,
    b1. deactivate the record using the "active" column of the table
    b2. Add new record with the changes required.
    c. If does not exist, add new record with the changes required.
    Could you please help with some ideas which can get this done accurately?
    I have tried several ways, but I am not able to put together something that fulfills all requirements.
    Thank you,

    First let me address your question. (This is the easy part.)
    1. The existence of tables can be found in DBA_TABLES. Query it and and then use conditional logic and execute immediate to process the DDL.
    2. The existence of table columns is found in DBA_TAB_COLUMNS. Query it and then conditionally execute your DDL. You can copy the "before picture" of the table using that same dba view, or even better, use DBMS_METADATA.
    As for your DML scripts, they should be restartable, reversible, and re-run-able. They should "fail gracefully" on error, be written in such a way that they can run twice in a row without creating duplicate changes.
    3. Adding appropriate constraints can prevent invalid duplicate rows. Also, you can usually add to the where clause so that the DML does only what it needs to do without even relying on the constraint (but the constraint is there as a safeguard). Look up the MERGE statement to learn how to do an UPSERT (update/insert), which will let you conditionally "deactivate" (update) or insert a record. Anything that you cannot do in SQL can be done with simple procedural code.
    Now, to the heart of the matter...
    You think I did not understand your requirements?
    Please be respectful of people's comments. Many of us are professionals with decades of experience working with databases and Oracle technology. We volunteer our valuable time and knowledge here for free. It is extremely common for someone to post what they feel is an easy SQL or PL/SQL question without stating the real goal--the business objective. Experienced people will spot that the "wrong question" has been asked, and then cut to the chase.
    We have some good questions for you. Not questions we need answers from, but questions you need to ask yourself and your team. You need to reexamine this post and deduce what those questions are. But I'll give you some hints: Why do you need to do what you are asking? And will this construct you are asking for even solve the root cause of your problems?
    Then ponder the following quotations about asking the right question:
    Good questions outrank easy answers.
    — Paul Samuelson
    The only interesting answers are those which destroy the questions.
    — Susan Sontag
    The scientific mind does not so much provide the right answers as ask the right questions.
    — Claude Levi-Strauss
    You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.
    — Mahfouz Naguib
    One hears only those questions for which one is able to find answers.
    — Friedrich Nietzsche
    Be patient towards all that is unresolved in your heart and try to love the questions themselves.
    — Rainer Maria Rilke
    What people think of as the moment of discovery is really the discovery of the question.
    — Jonas Salk
    Judge a man by his questions rather than his answers.
    — Voltaire
    The ability to ask the right question is more than half the battle of finding the answer.
    — Thomas J. Watson

  • Oracle restart and ASM

    Hi,
    I have noticed following 'strange' behaviour of Oracle Restart and ASM.
    starting position:
    -bash-3.2 $ crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DATA.dg
                   ONLINE  ONLINE       oracle-restart
    ora.LISTENERASM.lsnr
                   ONLINE  ONLINE       oracle-restart
    ora.asm
                   ONLINE  ONLINE       oracle-restart           Started
    Cluster Resources
    ora.cssd
          1        ONLINE  ONLINE       oracle-restart
    ora.diskmon
          1        ONLINE  ONLINE       oracle-restartstep 1:
    -bash-3.2 $ srvctl stop asm
    -bash-3.2 $ srvctl stop diskgroup -g data
    -bash-3.2 $ srvctl disable diskgroup -g datastep 2:
    via sqlplus start ASM instance
    SQL> startup
    ASM instance started
    Total System Global Area  283930624 bytes
    Fixed Size                  2212656 bytes
    Variable Size             256552144 bytes
    ASM Cache                  25165824 bytes
    ASM diskgroups mounted
    ASM diskgroups volume enabled
    SQL> select * from v$asm_diskgroup;
    GROUP_NUMBER NAME                           SECTOR_SIZE BLOCK_SIZE
    ALLOCATION_UNIT_SIZE STATE       TYPE     TOTAL_MB    FREE_MB HOT_USED_MB
    COLD_USED_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB OFFLINE_DISKS
    COMPATIBILITY
    DATABASE_COMPATIBILITY                                       V
               1 DATA                                   512       4096
                 1048576 MOUNTED     EXTERN      10236      10177           0
              59                       0          10177             0
    GROUP_NUMBER NAME                           SECTOR_SIZE BLOCK_SIZE
    ALLOCATION_UNIT_SIZE STATE       TYPE     TOTAL_MB    FREE_MB HOT_USED_MB
    COLD_USED_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB OFFLINE_DISKS
    COMPATIBILITY
    DATABASE_COMPATIBILITY                                       V
    11.2.0.0.0
    10.1.0.0.0                                                   N
    -bash-3.2 $ crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DATA.dg
                   OFFLINE OFFLINE      oracle-restart          <== funny !!!
    ora.LISTENERASM.lsnr
                   ONLINE  ONLINE       oracle-restart
    ora.asm
                   ONLINE  ONLINE       oracle-restart           Started
    Cluster Resources
    ora.cssd
          1        ONLINE  ONLINE       oracle-restart
    ora.diskmon
          1        ONLINE  ONLINE       oracle-restartIs this behaviour a 'feature' or bug?
    Anyone had similar experience?
    thanks,
    goran

    Hi,
    asm resource is depending on diskgroup resource ... if diskgroup res. is not available, crsctl status shows offline, I would expect asm should be also shown as 'offline' (and brought offline) as they are dependent.
    What is the point of managing resources via srvctl when it doesn't take care of dependencies? For me it's wrong.ora.asm : is ASM Instance
    ora.*.dg : is Diskgroup
    ora.*.dg is dependent of ora.asm, not to the contrary.
    I can have more than one diskgroup and want only one diskgroup disabled, so I need the ASM Instance (ora.asm) online.
    Important:
    If you shut down the database with SQL*Plus, Oracle Restart does not interpret this as a database failure and does not attempt to restart the database.
    Similarly, if you shut down the Oracle ASM instance with SQL*Plus or ASMCMD, Oracle Restart does not attempt to restart it.
    An important difference between starting a component with SRVCTL and starting it with SQL*Plus (or another utility) is the following:
    When you start a component with SRVCTL, any components on which this component depends are automatically started first, and in the proper order.
    When you start a component with SQL*Plus (or another utility), other components in the dependency chain are not automatically started; you must ensure that any components on which this component depends are started.
    Oracle Restart also manages the weak dependency between database instances and the Oracle Net listener (the listener): When a database instance is started, Oracle Restart attempts to start the listener. If the listener startup fails, then the database is still started. If the listener later fails, Oracle Restart does not shut down and restart any database instances.
    It makes no sense Oracle Restart to shut down all environment (databases) because the listener down.
    Regards,
    Levi Pereira

Maybe you are looking for

  • Error while deploying a simple bpel process

    Hello All, I have installed jdeveloper 11.1.1.3.0 and created a simple bpel process using string concat function and when I tried to deploy the same BPEL to process to a SOA server, I am getting the below error. (The connection to remote weblogic ser

  • Errors in Forecasting

    Hi Experts Errors in forecasting helps us for decent accuracy. We have 6 errors which are MAD,MAPE, MPE, MSE, RMSE & ET. Can you explain importance of each error in forecasting? I found MAD and MAPE are used significantly to judge forecast.If we take

  • Program Monitor - slow response

    In the effect controls I can scale, rotate etc  by entering values or pulling sliders. However I am suffering from a very slow response doing scaling, rotating and translating in the program monitor- while Motion has been highlighted in the effect co

  • Subcontracting: Prob with batch pick in MIGO

    Hi All, I follow these steps for subcontracting : 1. Creating Subcon PO 2. Send components to Vendor thru MB1B (541) w.r.t PO#. here I do batch split, and multiple batches get picked up for the components. 3. next when i do MIGO w.r.t PO#, I want the

  • How can I save the jpg change the compression?

    how can I save the jpg change the compression fpr smaler files?