Error trap on extraneous script parameters

I have a script that accepts named parameters at the command line, and I would like to error trap any extraneous parameters, rather than having a malformed shortcut cause an error. I tried just wrapping the Param section at the top of the script in a Try/Catch
but that doesn't work at all. Is there any mechanism to address this more gracefully, or do i just need to document proper argument syntax and let users see the error if they mess it up?
Note, I used Try/Catch with and without cmdletbinding, and with camdletbinding in and out of the Try. Some variations caused errors, and some caused all parameters to be ignored, even the ones that where correctly being passed.
Gordon

So, basically what I want to do is have two named parameters, one required and one optional, and then catch the error when someone includes a third, or gets a name wrong. It seems like there is no way to catch that, you are just going to get a standard
PowerShell error. Not the end of the world, but like not being able to natively run a powershell script with no console at all, a little annoying, if in fact it can't be done.
It sounds like this is what you want (as far as the 1 mandatory and 1 option params go):
Function Test {
[cmdletbinding()]
Param (
[parameter(Mandatory=$True)]
[string]$Param1,
[parameter()]
[string]$Param1
#CODE HERE
Unfortunately, you will not be able to get around the issue of someone attempting to use a 3rd parameter and having an error thrown. This will happen at runtime and can't be caught.
Boe Prox
Blog |
Twitter
PoshWSUS |
PoshPAIG | PoshChat |
PoshEventUI
PowerShell Deep Dives Book

Similar Messages

  • Web Browser "An error occured in the script on this page'

    Hi,
    I try to use a Web applic through std SBO Web Browser window. However I get this message:  "An error occured in the script on this page'.
    Why do I get this message? (I don't get it through other explorers)
    Is there a way to change browser parameters? Does SBO uses IE?
    BR,
    Vangelis

    The default is IE. Not everything that works on IE works through web application. Many open source web standards do not play well with IE. Try IE 8 or higher.

  • Error 1030001 in MAXL Script "BuildDimFile"

    I have a MAXL script that successfully builds two of my dimensions using the SQL interface from Oracle. What's strange is, even though the script works, mid-way through MAXL log file, the following error appears: 9 - Essbase error encountered: [BuildDimFile:'test'] [1030001]. Then at the end of the file, it states: 51 - MaxL execution failed. The line in the script:import database '_test'.'_TESTKKU' dimensions connect as 'test' identified by 'test' using server rules_file 'D_Region' on error write to 'D_Region.err';Anyone have any idea why MAXL is reporting failure, when the script is actually working?

    I've used the error handling in MAXL and have found that it gets bettter with every release. It still doesn't trap all errors, but it does catch most fatal errors.<BR><BR>You will want to test it in the particular script that you are using to ensure it does the job you need. When MAXL first came out, the error trapping was much less effective than with ESSCMD. Now we're working with 7.1.3 and find that it catches the things we really need to catch.<BR>

  • Read Scripting Parameters within a Filter

    Hello,
    I'd like to have a Plug In which can read Scripting Parameters and run accordignly.
    One of the code samples in the SDK is called "PoorMansTypeTool".
    In its documentation it is said to be able to "Read scripting parameters".
    I look into its code yet I couldn't figure how it does it.
    Let's say I have a script with a variable 'a'.
    The script launches a filter from the filter lists and want to pass the valu of the parameter 'a' to the filter.
    How could that be done?
    Are there any constraints on the parameter type, size, etc?
    Has anyone tried it before?
    If someone could guide me through the plug in code I'd be happy.
    Thank You.

    // make this a function so we can hide these from harness script
    main();
    function main() {
    // Save the current preferences
    var startRulerUnits = preferences.rulerUnits;
    var startTypeUnits = preferences.typeUnits;
    var startDisplayDialogs = displayDialogs;
    // Set Photoshop to use pixels and display no dialogs
    preferences.rulerUnits = Units.PIXELS;
    preferences.typeUnits = TypeUnits.PIXELS;
    displayDialogs = DialogModes.NO;
    // make this stuff controlled by the harness
    var maxTime = 1 * 60;
    var iterations = 5;
    var percIncrease = 20;
    var timeIt = new Timer();
    var tests = 0;
    var errors = 0;
    var eArray = new Array();
    var dissolveLog = new File( "~/Desktop/Dissolve.log" );
    dissolveLog.open( "w", "TEXT", "????" );
    dissolveLog.writeln( "width,\theight,\tdepth,\tpercent,\tdoc create time,\tdissolve time" );
    var maxWidth = 30000;
    var minWidth = 256;
    var incWidth = parseInt( (maxWidth - minWidth) / iterations );
    if ( incWidth == 0 )
              incWidth = 1;
    var maxHeight = 30000;
    var minHeight = 256;
    var incHeight = parseInt( (maxHeight - minHeight) / iterations );
    if ( incHeight == 0 )
              incHeight = 1;
    // start clean
    while (documents.length) {
        activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    var d = BitsPerChannelType.EIGHT;
    for ( var w = minWidth; w < maxWidth; w += incWidth ) {
              for ( var h = minHeight; h < maxHeight; h += incHeight ) {
                        try {
                                  var timeImport = new Timer();
                                  if ( d == BitsPerChannelType.EIGHT )
                                            d = BitsPerChannelType.SIXTEEN;
                                  else
                                            d = BitsPerChannelType.EIGHT;
                                  app.documents.add(UnitValue(w, "px"), UnitValue(h,"px"), undefined, "Dissolve Test", undefined, undefined, undefined, d);
                 timeImport.stop();
                                  if ( activeDocument.width != w )
                    error++; // alert( activeDocument.width + ", " + w );
                                  if ( activeDocument.height != h )
                    error++; // alert( activeDocument.height + ", " + h );
                                  if ( d == 16 && activeDocument.bitsPerChannel != BitsPerChannelType.SIXTEEN )
                    error++; // alert( activeDocument.bitsPerChannel + ", " + d );
                                  if ( d == 8 && activeDocument.bitsPerChannel != BitsPerChannelType.EIGHT )
                    error++; // alert( activeDocument.bitsPerChannel + ", " + d );
                                  if ( activeDocument.bitsPerChannel == BitsPerChannelType.ONE )
                    error++; // alert( activeDocument.bitsPerChannel + ", " + d );
                 FitOnScreen(); // this makes everything really slow
                                  var historyState = activeDocument.activeHistoryState;
                                  for ( var dPerc = 0; dPerc <= 100; dPerc += percIncrease ) {
                                            tests++;
                                            var timeDissolve = new Timer();
                                            Dissolve(dPerc);
                                            timeDissolve.stop();
                                            // WaitForRedraw(); // guess what this does to our slowness ness er
                                            dissolveLog.write(w + ",\t" + h + ",\t" + d + ", " + dPerc );
                                            dissolveLog.writeln(",\t" + timeImport.getTime() + ", " + timeDissolve.getTime() );
                     WaitForRedraw();
                                            activeDocument.activeHistoryState = historyState;
                    if ( timeIt.getElapsed() > maxTime ) {
                        w = maxWidth + 1;
                        h = maxHeight + 1;
                        dPerc = 101;
                        catch(e) {
                            alert(e + ":" + e.line);
                                  if ( e.message.search(/cancel/i) != -1 ) {
                                            w = maxWidth + 1;
                                            h = maxHeight + 1;
                                  eArray[eArray.length] = e;
                                  errors++;
                                  // debugger;
                        } // end catch
              } // end for height
    } // end for width
    dissolveLog.writeln( errors + " errors. " + tests + " tests in " + timeIt.getElapsed() + " seconds. " + tests/timeIt.getElapsed() + " tests/sec.");
    dissolveLog.close();
    dissolveLog.execute();
    // end clean
    while (documents.length) {
        activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    // Reset the application preferences
    preferences.rulerUnits = startRulerUnits;
    preferences.typeUnits = startTypeUnits;
    displayDialogs = startDisplayDialogs;
    //     1) " FAIL" for failures
    //     2) " PASS" for test results OK
    //     3) "  BUG" for known bugs, have the file name give the bug number
    //     4) "ERROR" this comes from the harness if the script barfed/exception,
    return errors == 0 ? ' PASS' : ' FAIL';
    } // end function main
      Function WaitForRedraw
      Usage: Use it to force Photoshop to redraw the screen before continuing
      Example:
           WaitForRedraw();
    function WaitForRedraw() {
              var keyID = charIDToTypeID( "Stte" );
              var desc = new ActionDescriptor();
              desc.putEnumerated( keyID, keyID, charIDToTypeID( "RdCm" ) );
              executeAction( charIDToTypeID( "Wait" ), desc, DialogModes.NO );
    // WaitNSeconds, slow the script down so you can watch and figure out issues
    function WaitNSeconds(seconds) {
       startDate = new Date();
       endDate = new Date();
       while ((endDate.getTime() - startDate.getTime()) < (1000 * seconds))
                        endDate = new Date();
    // FitOnScreen, fits the document and redraws the screen
    function FitOnScreen() {
              var id45 = charIDToTypeID( "slct" );
        var desc7 = new ActionDescriptor();
        var id46 = charIDToTypeID( "null" );
              var ref1 = new ActionReference();
              var id47 = charIDToTypeID( "Mn  " );
              var id48 = charIDToTypeID( "MnIt" );
              var id49 = charIDToTypeID( "FtOn" );
              ref1.putEnumerated( id47, id48, id49 );
              desc7.putReference( id46, ref1 );
              executeAction( id45, desc7, DialogModes.NO );
    // Dissolve, given a percentage
    function Dissolve( dPercent ) {
              var id18 = stringIDToTypeID( "d9543b0c-3c91-11d4-97bc-00b0d0204936" );
        var desc3 = new ActionDescriptor();
        var id19 = charIDToTypeID( "Amnt" );
        var id20 = charIDToTypeID( "#Prc" );
        desc3.putUnitDouble( id19, id20, dPercent );
        var id21 = charIDToTypeID( "disP" );
        var id22 = charIDToTypeID( "mooD" );
        var id23 = charIDToTypeID( "moD1" );
        desc3.putEnumerated( id21, id22, id23 );
              executeAction( id18, desc3, DialogModes.NO );
    // DissolveOld, our old scripting params was this
    // an interesting test would be to see the old plug-in vs the current one
    function DissolveOld( dPercent ) {
        var id12 = charIDToTypeID( "disS" );
        var desc3 = new ActionDescriptor();
        var id13 = charIDToTypeID( "Amnt" );
        var id14 = charIDToTypeID( "#Prc" );
        desc3.putUnitDouble( id13, id14, dPercent );
        var id15 = charIDToTypeID( "disP" );
        var id16 = charIDToTypeID( "mooD" );
        var id17 = charIDToTypeID( "moD1" );
        desc3.putEnumerated( id15, id16, id17 );
        executeAction( id12, desc3, DialogModes.NO );
    // Library for timing things in JavaScript
    function Timer() {
              // member variables
              this.startTime = new Date();
              this.endTime = new Date();
              // member functions
              // reset the start time to now
              this.start = function () { this.startTime = new Date(); }
              // reset the end time to now
              this.stop = function () { this.endTime = new Date(); }
              // get the difference in milliseconds between start and stop
              this.getTime = function () { return (this.endTime.getTime() - this.startTime.getTime()) / 1000; }
              // get the current elapsed time from start to now, this sets the endTime
              this.getElapsed = function () { this.endTime = new Date(); return this.getTime(); }
    // end Dissolve.jsx

  • Script parameters

    I have some scripts in the repository that I'm trying to use to build an applications data from. Some include parameters in the where clause of the insert statements such as:
    d.date_due_at_dock_rev >= to_date(:P1_START_DATE,'DD-MON-YY') and
    I keep getting ORA-00904 and ORA-00911 errors when I set the parameters on the parameter page when I try to run them.
    I've checked the manual (chapt 5) and tried using &P1_START_DATE and also #P1_START_DATE# with no luck.
    What is the correct syntax for this???
    Greg

    >
    Ok..
    But , is there another way to send a script to
    DataBase ? Maybe another class that provide to set
    parameter value by name.I'm almost certain there's not in the core API. You might find something from a 3rd party if you're good with google.
    But what are you really trying to do? Why do you need to do it by name?
    Depending on your ultimate goal, you might want to look at an object-relational bridge tool such as [url http://www.hibernate.org]Hibernate.

  • 4.7 ee ides installation last error---Error during execution of script

    Hi am new to this forum.don't scold i f am i posting the query in right forum.
    I am installing SAP 4.7 IDES
    in the final stage i.e after 15 hrs of installation it give the problem,says that (FJS-0012 Error when executing the script it has been displayed in that error log)
    please help
    regards,
    venkat.

    Hi,
          Here i am attaching error logs.
          Plz find it.
    1) SAPVIEW.LOG
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100908204231
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -ctf I E:\dump\3\db3\EXPORT3/DATA/SAPVIEW.STR C:\SAPinst ORACLE KERNEL/DDLORA.TPL C:\SAPinst ORACLE KERNEL/SAPVIEW.TSK ORA -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -o D
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job completed
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100908204232
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100909082652
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=C:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=0027D4D0,svrhp=0027D2DC)
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    Thu Sep 09 08:26:57 2010
    ***LOG BY2=> sql error 1034   performing CON [dblink#1 @ 419] [dblink  0419 ]
    ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#1 @ 419] [dblink  0419 ]
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100909082657
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100909083820
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=C:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=0027D4D0,svrhp=0027D2DC)
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    Thu Sep 09 08:38:25 2010
    ***LOG BY2=> sql error 1034   performing CON [dblink#1 @ 419] [dblink  0419 ]
    ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#1 @ 419] [dblink  0419 ]
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100909083825
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100909084828
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=C:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=0027D4D0,svrhp=0027D2DC)
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    Thu Sep 09 08:48:33 2010
    ***LOG BY2=> sql error 1034   performing CON [dblink#1 @ 419] [dblink  0419 ]
    ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#1 @ 419] [dblink  0419 ]
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100909084833
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100909091053
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=C:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=0027D4D0,svrhp=0027D2DC)
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    Thu Sep 09 09:10:58 2010
    ***LOG BY2=> sql error 1034   performing CON [dblink#1 @ 419] [dblink  0419 ]
    ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#1 @ 419] [dblink  0419 ]
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100909091058
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100909094253
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=C:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=0027D4D0,svrhp=0027D2DC)
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    Thu Sep 09 09:42:58 2010
    ***LOG BY2=> sql error 1034   performing CON [dblink#1 @ 419] [dblink  0419 ]
    ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#1 @ 419] [dblink  0419 ]
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D4D0,srvhp=0027D2DC,usrhp=0029083C)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100909094258
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100910123913
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=C:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=0027D470,svrhp=0027D27C)
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D470,srvhp=0027D27C,usrhp=00291BEC)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D470,srvhp=0027D27C,usrhp=00291BEC)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    Fri Sep 10 12:39:18 2010
    ***LOG BY2=> sql error 1034   performing CON [dblink#1 @ 419] [dblink  0419 ]
    ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#1 @ 419] [dblink  0419 ]
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D470,srvhp=0027D27C,usrhp=00291BEC)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=0027D470,srvhp=0027D27C,usrhp=00291BEC)
    DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100910123918
    2) when i got the error in the retry screen i Preesed the push button Viewlog   Then i got this one.
    PHASE 2010-09-10 12:32:53
    SAP R/3 Enterprise 4.70 for Oracle
    PHASE 2010-09-10 12:32:53
    SAP Web Application Server
    PHASE 2010-09-10 12:32:53
    Request common parameters of SAP System
    PHASE 2010-09-10 12:32:53
    Create operating system accounts
    PHASE 2010-09-10 12:32:53
    Request operating system user information
    PHASE 2010-09-10 12:32:54
    Request operating system user information
    PHASE 2010-09-10 12:32:54
    Request operating system user information
    PHASE 2010-09-10 12:32:54
    Request operating system user information
    PHASE 2010-09-10 12:32:54
    Request operating system user information
    PHASE 2010-09-10 12:32:54
    Request operating system user information
    PHASE 2010-09-10 12:32:54
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:32:55
    Request operating system user information
    PHASE 2010-09-10 12:33:00
    Adapt filesystem
    PHASE 2010-09-10 12:33:00
    Prepare check/adapt SAP instance filesystem
    PHASE 2010-09-10 12:33:00
    Extract archives
    PHASE 2010-09-10 12:33:01
    Extract SAP System kernel archives
    PHASE 2010-09-10 12:33:02
    Create service ports
    PHASE 2010-09-10 12:33:02
    Generate instance profiles
    PHASE 2010-09-10 12:33:02
    Versionize default profile, instance profile and start profile
    PHASE 2010-09-10 12:33:06
    Database Load
    INFO 2010-09-10 12:33:06
    Copying file C:/SAPinst ORACLE KERNEL/keydb.xml to: C:/SAPinst ORACLE KERNEL/keydb.7.xml.
    INFO 2010-09-10 12:33:06
    Creating file C:\SAPinst ORACLE KERNEL\keydb.7.xml.
    WARNING 2010-09-10 12:33:12
    Error 1332 (No mapping between account names and security IDs was done.
    ) in execution of a 'SetEntriesInAcl' function, line (646), with parameter ().
    INFO 2010-09-10 12:33:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:33:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:33:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:34:12
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSSEX1.log
    ERROR 2010-09-10 12:34:12
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPAPPL1.log
    ERROR 2010-09-10 12:34:12
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSSEX2.log
    INFO 2010-09-10 12:34:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:34:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:34:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:35:12
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSSEX3.log
    ERROR 2010-09-10 12:35:12
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPAPPL0.log
    ERROR 2010-09-10 12:35:12
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPAPPL2.log
    INFO 2010-09-10 12:35:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:35:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:35:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:36:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSDIC.log
    ERROR 2010-09-10 12:36:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPCLUST.log
    ERROR 2010-09-10 12:36:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPPOOL.log
    INFO 2010-09-10 12:36:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:36:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:36:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:37:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSLEXC.log
    ERROR 2010-09-10 12:37:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSSRC.log
    ERROR 2010-09-10 12:37:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSDOCU.log
    INFO 2010-09-10 12:37:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:37:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2010-09-10 12:37:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:38:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSPROT.log
    ERROR 2010-09-10 12:38:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPUSER.log
    ERROR 2010-09-10 12:38:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSLOAD.log
    INFO 2010-09-10 12:38:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:39:13
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAP0000.log
    INFO 2010-09-10 12:39:18
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2010-09-10 12:39:18
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPVIEW.log
    ERROR 2010-09-10 12:39:18
    FJS-00012  Error when executing script.
    warmRegards,
    Venkat.

  • Error while executing the script adgetlnxver.sh

    Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
    -bash: [: -lt: unary operator expected
    [aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
    adapcctl.sh version 115.55
    /u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
    Apache Web Server Listener :httpd ( pid 8645 ) is running.
    Restarting the Apache Web Server Dedicated HTTP Listener..
    Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
    Restarting the Apache Web Server Dedicated PLSQL Listener..
    adapcctl.sh: exiting with status 0
    In adgetlnxver.sh: line 123 says
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
    if [ $redhatver -lt 5 ]; then
    LD_ASSUME_KERNEL="2.4.19"
    export LD_ASSUME_KERNEL
    fi
    fi
    Thanks,
    Vamsi

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • RFC Connection error - Invalid length. Check parameters.

    Hi Forum, Good Morning!
    My ABAP Program will run in BACK Ground Job Processing(SM37) to download data to Presentation server( Local PC Directory). So I have created a RFC destination type TCP/IP to use 'RFC_REMOTE_FILE'  function module in my ABAP Program.
    When I am trying to test RFC connection It is giving following error.
    ERROR   Invalid length. Check parameters
    LOCATION  SAP- Server dsapp05_R3D_10 on host dsapp05 (wp 2)
    COMPONENT   CPIC
    COUNTER   14
    MODULE
    LINE
    RETURN CODE    240
    SUBRC                0
    RELEASE           640
    TIME                   Mon Dec 11 10:08:05  2006
    I did following procedure before I test RFC destination..
    I have created RFC Destination : BJRFC
    Technical Settings: Selected Registered Server Program radio button
    Program ID: BJACCESS
    Gateway host : 172.22.149.199
    gateway Service: sapdp10
    In my local machine Copied  ‘SAPRFC.INI’ file from the TEXT folder to the BIN Folder.
    Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway.
    DEST=R3D_R
    TYPE=R
    PROGID=BJACCESS.rfcexec
    GWHOST=172.22.149.199
    GWSERV=sapdp10
    RFC_TRACE=0
    DEST=R3D_R
    TYPE=R
    PROGID=BJACCESS.trfcexec
    GWHOST=172.22.149.199
    GWSERV=sapdp10
    RFC_TRACE=0
    Then entered below command in dos prompt.
    C:\Program Files\SAP\FrontEnd\SAPgui\rfcsdk\bin>rfcexec -aBJACCESS –172.22.149.199 –xsapdp10.
    so how do i proceed in this kind of case.
    any help  please.
    Thanks in advance.

    Hi,
       Just you check whether your program is registered or not.
       If it is registered then you can find in SMGW transaction and go to
       GOTO - Logged on clients
    in that you will be able to see your program name if it registers succesfully.
    you have typed rfcexec -aBJACCESS –172.22.149.199 –xsapdp10
    in this way.
    In this you have misseg 'g' in front of your sap ip.
    Thanks&Regards
    Rajehs Balusu

  • The restore session has stopped working. It tries to load, but then gives an error message that the script is not working and will not actually show the previous tabs I had open.

    I count on using the Firefox restore session feature. But it's stopped working. For the past couple of days, it hasn't worked a single time. (I haven't changed anything on my PC.) It just suddenly stopped working.
    Now it gives me an error message that the script has stopped working. It gives me a couple of options. I'm not sure of the exact wording, but one option is to stop the script and the other is to keep trying. But the keep trying never works.
    I have to stop the script, hence, the list with my previous tabs never comes up.

    Which file is mentioned as the cause of that script error?<br />
    Is that a file with a chrome protocol?

  • Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results

    Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results which I filed a report but did not receive an answer. The application to block scripts actually worsened the problem and I could not correct the situation for a while (no response from Firefox, at all). I have also been through this procedure without any one contacting me, AT ALL.
    == URL of affected sites ==
    http://http://www.facebook.com (always) and www.YouTube.com (sometimes)

    There does appear to be any support whatsoever from mighty "non caring" FIREFOX & people are getting fed up. We may as well try another system, if they can't be bothered to provide any support for their system, we can't be bothered to use their system.
    Brianeng

  • HT1222 hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package "mzps6175750011235388779.pkg"

    hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package “mzps6175750011235388779.pkg”
    can you please advise me what should i do to fix this

    Some ideas.
    https://discussions.apple.com/message/20034600#20034600

  • Error while running OMBPlus Script

    Hi,
    I am getting below error while running OMBPlus script.
    +../../../jdk/bin/java[87]: getconf: not found+
    OMB*Plus: Release 9.2.0.4.0
    Copyright (c) 2003 Oracle Corporation. All rights reserved.
    Exception in thread "main"
    I am not even able to run ./OMBPlus.sh.
    Can anyone help me on this?
    Thanks in advance,
    Regards,
    Sachin Bansal

    Hi Nawneet,
    Thanks for the reply..
    I tried the same thing on our server. But there also I am getting the same error.
    Am I missing anything?
    What I am doing is:
    1. Created one .tcl file (deploy_map.tcl).
    2. Going to path where OMBPlus.sh resides i.e.$OWB_HOME/bin/unix
    3.Then I called ./OMBPlus.sh and passed the path of deploy_map.tcl as an argument.
    For e.g. if path of deploy_map.tcl is /abc/xyz/deploy_map.tcl
    Then I would call OMBPlus like below:
    ./OMBPlus.sh /abc/xyz/deploy_map.tcl
    Even if I would not pass any argument then still it should be connected to OMBPlus. But that's not happening.
    Regards,
    Sachin Bansal

  • Installing on Windows 7, IE, get error message "run time error has occured in script"

    when attempting to install latest version of Flash Player on Windows 7 computer with IE, during installation I get message "runtime error has occured in script".
    & installation ceases.  what can I do to obtain Flash Player on my computer?  Aaron

    100,000 Thank you"s!    I tried what you suggested, and can now
    watch PLAYON through my Roku on the TV set.   Previously, Roku insisted that I have Adobe Flash Player.   Aaron
    Senators Should Wear Uniforms like NASCAR Drivers So We Could Identify Their Corporate Sponsors.

  • RMAN-03015: error occurred in stored script Memory Script

    getting this error during
    target db is 10202 & aux is 10204 ?
    duplicate target database to dcxt;
    RMAN> connect TARGET SYS/spurs_04@capq;
    PL/SQL package SYS.DBMS_BACKUP_RESTORE version 10.02.00.03 in TARGET database is not current
    PL/SQL package SYS.DBMS_RCVMAN version 10.02.00.03 in TARGET database is not current
    connected to target database: CAPQ (DBID=2420849281)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03004: fatal error during execution of command
    RMAN-10039: error encountered while polling for RPC completion on channel clone_default
    RMAN-10006: error running SQL statement: select action from gv$session where sid=:1 and serial#=:2 and inst_id=:3
    RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
    RMAN-10041: Could not re-create polling channel context following failure.
    RMAN-10024: error setting up for rpc polling
    RMAN-10005: error opening cursor
    RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
    RMAN-03002: failure of Duplicate Db command at 05/21/2010 15:32:29
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    oracle:tuldcorpadb01:dcxt$
    Edited by: DBA2008 on May 21, 2010 3:37 PM

    never mind, i resolved this by switching duplicate db to 10203....and adjusting log_arch_dest .....

  • Error in /tmp/applianceagent/scripts/Database.sh: Start database  failed with exit code 2

    Hello
    I have set up the Demo appliance landscape for the openSAP course "Introduction to SAP Fiori UX", on AWS.
    The frontend machine is OK, but the configuration and startup of the server machine has failed for some reason. When logging in with ssh to the server, this message is presented:
    The Appliance Agent detected an error and terminated.
    When asked, please provide the file /tmp/applianceagent_20141002-145658.tar.bz2.
    Note that a restrictive iptables based firewall is still active.
    I have attached the file (had to add .txt to the name to circumvent file type restrictions).
    I noticed that the appliancedeploy.log ended with these lines:
    Start database  Execute /usr/sap/hostctrl/exe/sapcontrol -nr 02 -function StartWait 3600 20
    02.10.2014 13:56:58
    Start
    OK
    02.10.2014 14:56:58
    StartWait
    FAIL: Timeout
    error in /tmp/applianceagent/scripts/Database.sh: Start database  failed with exit code 2
    Notice the 1 hour jump in time, and then the timeout error message.
    Do any of you have any idea what could be causing this, and how to fix it?
    Please let me know if you need any further information.
    Best regards,
    Bo

    Hi Hannes.
    Trying to create and activate a new instance (version 5 of the Fiori appliance), I first got this message in the CAL instance overview list:
    Instance Operation Failed
    Operation Start failed on step Start start VAs with message: Start failed for VM SAP Server due to Amazon Web Services issue : AMAZON : The snapshot 'snap-c779ff64' does not exist.
    Then I terminated the instance and tried over again. And this time the deployment worked - I have a running server, which responds to the SAP GUI, and shows the Fiori web page.
    Thanks a lot for your quick help.
    Best regards,
    Bo

Maybe you are looking for