Error while executing script root.sh on the nodes at the RAC 11 g installation

Hello friends,

Here, I face an error while I run the root.sh script. During the installation of grid RAC, he asked a few dependencies of prereq. There are several .rpm files that were the prerequisites for this installation. I ignore them and I continued the installation. Now, he finally threw an error when running root.sh script. I tried to install several .rpms acquisition of information from the internet, but always this script does not work here.

Please, suggest what should I do at this point.

stuck.png

You guys could help me out here, how I need to go further.

Simple google search will give you missing RPM. try to install and see if that solves the problem

https://gruffdba.WordPress.com/2012/11/06/11gr2-grid-install-clscfg-bin-error-while-loading-shared-libraries-libcap-so-1-cannot-open-shared-object-file/

Don't forget, you need up-to-date existing deconfig install and run root.sh as mentioned below article

https://desaitaral.WordPress.com/2011/06/13/Oracle-Linux-6-1-and-libcap-so-1-cannot-open-shared-object/

Another article with the same question - https://taliphakanozturken.wordpress.com/2013/03/02/clscfg-bin-error-while-loading-shared-libraries-libcap-so-1-cannot-open-shared-object-file/

Tags: Database

Similar Questions

  • Dreamweaver CS5 error - while executing onLoad in Note_onOpen.htm, the following JavaScript e design

    I'm on a Mac and cannot solve this problem. I tried searching all the .dat files in en_US and configuration but do not see when I went through the Terminal I've read that one here that would cause

    While executing onLoad in Note_onOpen.htm design, the following JavaScript error occurred:

    In the file "Notes_onOpen Design": onOpen is undefinedScreen Shot 2013-02-27 at 2.35.33 PM.png

    It seems that your configuration settings are corrupted. Use the documents below to re-create your user preferences.

    http://helpx.Adobe.com/Dreamweaver/KB/restore-preferences-Dreamweaver-CS4-CS5.html

    http://forums.Adobe.com/thread/494811

  • Error while executing a script from the command prompt

    Hello, I edited the settings file and I am trying to execute an interface that links the two tables in the HR schema and load into a table in the different schema. I am able to run it in the designer, but I get an error message when I try to run through the command prompt.
    Here is the error message when I try to run it
    09/09/2009-11:58:42 AM (hand): session for scenario creation: DEMO_INTERFACE - 001

    09/09/2009-11:58:42 AM (hand): Session: 88010 is running
    com.sunopsis.core.SnpsInexistantObjectException: there is no link for this
    pair logical schema/context: HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContex
    t (SnpConnect.Java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect (SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst (SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand (DwgCommandScenar
    IO. Java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.e.y (e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd (DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main (DwgJv.java)
    at oracle.odi.Agent.main (Agent.java)
    09/09/2009-11:58:43 AM (hand): Session: 88010 completed with return code:-1
    com.sunopsis.core.SnpsInexistantObjectException: there is no link for this
    pair logical schema/context: HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContexur
    t (SnpConnect.Java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect (SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst (SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand (DwgCommandScenar
    IO. Java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.e.y (e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd (DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main (DwgJv.java)
    at oracle.odi.Agent.main (Agent.java)
    DwgJv.main: output. Return code:-1

    Thank you for your help.
    Murielle

    Are you sure about the configuration of odiparams.bat?

  • Getting error while deploying ADF Mobile App in the android emulator

    Hi all
    I'm getting following error when the mobile deployment app in the android... emulator I went through google search and I did all the steps as follows...


    1 keytool - genkey - v - keystore debug.keystore - alias androiddebugkey - keyalg RSA - keysize 2048 - validity 10000

    I gave the password, last name, organization, State and country
    2 jarsigner - sigalg MD5withRSA - digestalg SHA1-verbose - keystore /Users/Admin/.android/debug.keystore C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    3 / e - platform-tools/adb install - r C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk

    After the above step... I got the SUCCESS message (while performing the steps above in the command prompt).

    Even after this... I get the same error while deploying my application using jdeveloper in the android emulator...


    ERROR:

    [09: 40:02] failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    [09: 40:02]
    [09: 40:02] command-line execution failed (return code: 0)
    [09: 40:02] run command line: 'E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb' EI setup - r "C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\generalmobileapp.apk".
    [09: 40:02] undeployment.
    [09: 40:02] - incomplete deployment.
    [09: 40:02] deployment failed due to one or more errors returned by "E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb". What follows is a summary of the returned error:
    Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]


    Kind regards
    Nani

    Published by: 962874 on January 12, 2013 06:46

    The emulator can run out of space for applications - so if you have other applications that are deployed to the emulator remove them and then try again.
    Other options here:
    http://StackOverflow.com/questions/2239330/how-to-increase-storage-for-Android-emulator-install-failed-insufficient-Stora

  • After 4.1 update, 1 host 'Error while running script control of health' - what to check next?

    I had an ESXi 4 update 1 host, I used the Update Manager to upgrade to 4.1.  To join the cluster, I get a red mark and the host State

    "HA agent on contains an error: error when running script control of health."

    Two hosts in a separate cluster do not have the same question.

    So far, I have

    Reconfigured HA

    HA HA/Enabled disabled for the cluster

    Restart management agents

    Server restarts

    Put the server on another cluster

    .. .the all result in the same error.

    Any ideas?

    I am also trying to solve this problem, and although I have not found a solution, I started to create an article documenting what I found regarding this error. I think I'm very close to a solution.

    UPDATE: I found the solution! Read the article below:

    (Solved) VMware HA fails after upgrade to ESXi 4.1

    http://www.paulscomputerservice.com/articles/article.php?id=183

  • adpatch error: while executing patch 10218075

    According to metalink solution I apply this hotfix.

    source the environment file:

    options adpatch = /hotpatch

    Here is the error:

    AutoPatch error:
    Incorrect format of the file:

    /U01/Oracle/vis/apps/apps_st/appl/Admin/applprod.txt

    The file has the format ' % 12.0.A by applprod file format
    '
    and this version of AutoPatch requires the format ' % 12.0.A by applprod file format'

    You must check the file
    /U01/Oracle/vis/apps/apps_st/appl/Admin/vis/log/adpatch.log

    to find errors.



    Adpatch log file

    Start of session AutoPatch *.
    AutoPatch version: 12.0.0
    AutoPatch started at the: Monday, June 25, 2012 08:20:02

    APPL_TOP is defined on/u01/oracle/SCREWS/apps/apps_st/appl

    Options = "/hotpatch."

    The value of NLS_LANG environment is: American_America.AL32UTF8
    NLS_LANG value for utility AD run is: AMERICAN_AMERICA. AL32UTF8

    You can be notified by e-mail if an error occurs.
    You want to enable this feature [no]? NO.

    Please enter the batchsize [1000]: 1000


    Please enter the name of the Oracle Applications system what
    APPL_TOP belongs to.

    Application system name must be unique on all Oracle
    Applications of the systems at your site, must be between 1 and 30 characters
    for a long time, can only contain alphanumeric characters and underline characters.
    and must begin with a letter.

    Sample application system names: 'prod', 'test', 'demo' and
    "Development_2.

    Name of the system of applications [SCREW]: SCREW *.


    NOTE: If you do not currently have certain types of installed files
    in this APPL_TOP, you may not be able to perform certain tasks.

    Example 1: If you do not have the files used for installation or upgrade
    the database has been installed in this area, you can install or upgrade
    the database of this APPL_TOP.

    Example 2: If you do not have the form files installed in this area, you can't
    generate or run them from this APPL_TOP.

    Example 3: If you have not installed in this area, the simultaneous program files
    You cannot connect concurrent programs or generate reports of this APPL_TOP.


    You currently have files used for the installation or the upgrade of the database
    installed in this APPL_TOP [YES]? YES *.


    You currently have HTML and Java files to HTML-based features
    installed in this APPL_TOP [YES]? YES *.


    You currently have files installed Oracle Applications form
    in this APPL_TOP [YES]? YES *.


    You have now installed the simultaneous program files
    in this APPL_TOP [YES]? YES *.


    Please enter the name of Oracle Applications will use to identify this APPL_TOP.

    The name APPL_TOP you select must be unique within an Oracle Applications
    System, must be between 1 and 30 characters long, may contain only the
    alphanumeric and underscore characters and must start with a letter.

    APPL_TOP sample names: "prod_all", "demo3_forms2" and "forms1.

    APPL_TOP name [r12]: r12 *.



    You are about to apply a patch for the installation of the Oracle Applications
    in your database to ORACLE "SCREW".
    using ORACLE executable files in ' / u01/oracle/VIS/apps/tech_st/10.1.2'.

    This is the database correct [Yes]? Yes

    AutoPatch needs the password for your schema ORACLE 'SYSTEM '.
    to determine the configuration of your installation.

    Enter the password for your schema ORACLE 'SYSTEM ': *.


    Connecting to the SYSTEM... Successfully connected.

    The ORACLE username specified below for Application Object Library
    uniquely identifies your existing product group: APPLSYS

    Enter the password of ORACLE Application Object Library [APPS]: *.

    AutoPatch checks your name of user and password.
    Connecting to APPLSYS... Successfully connected.

    The status of the different features in this performance of the AutoPatch is:

    <-feature version in - >
    Function Active? Flags of APPLTOP data model
    ------------------------------ ------- -------- ----------- -----------
    CHECKFILE Yes 1 1 O N N O N O
    PREREQ Yes 6 6 O N N O N O
    CONCURRENT_SESSIONS NO. 2 2 Y O N Y O N
    PATCH_TIMING Yes 2 2 O N N O N O
    PATCH_HIST_IN_DB Yes 6 6 O N N O N O
    SCHEMA_SWAP Yes 1 1 O N N Y Y Y
    JAVA_WORKER Yes 1 1 O N N O N O
    CODELEVEL Yes 1 1 O N N O N O



    Connecting to the SYSTEM... Successfully connected.

    Connecting to APPLSYS... Successfully connected.

    The current session identifier is 542215

    Product file information...

    AutoPatch error:
    Incorrect format of the file:

    /U01/Oracle/vis/apps/apps_st/appl/Admin/applprod.txt

    The file has the format ' % 12.0.A by applprod file format
    '
    and this version of AutoPatch requires the format ' % 12.0.A by applprod file format'

    You must check the file
    /U01/Oracle/vis/apps/apps_st/appl/Admin/vis/log/adpatch.log

    to find errors.


    Start of session AutoPatch *.
    AutoPatch version: 12.0.0
    AutoPatch started at the: Monday, June 25, 2012 16:02:34

    APPL_TOP is defined on/u01/oracle/SCREWS/apps/apps_st/appl

    Options = "/hotpatch."

    The value of NLS_LANG environment is: American_America.AL32UTF8
    NLS_LANG value for utility AD run is: AMERICAN_AMERICA. AL32UTF8


    Backup restart files, as appropriate. Fact.


    Your previous session to autopatch did not stand up to the end.
    You want to continue your previous session to AutoPatch [Yes]? NO.

    You have chosen to ignore your previous session AutoPatch
    and restart the AutoPatch early.

    ------------------------------------------------------------------------
    If you partially applied a hotfix, you should continue with your
    AutoPatch previous session until it completes successfully.

    If you try to re - apply a patch you applied only partially,
    AutoPatch can apply the patch incorrectly.
    ------------------------------------------------------------------------

    Enter Yes to confirm that you want to replace your old
    AutoPatch session and start a new session of autopatch.

    Enter number to continue with your previous session AutoPatch. [No.]: Yes

    You can be notified by e-mail if an error occurs.
    You want to enable this feature [no]? NO.

    Please enter the batchsize [1000]: 1000


    Please enter the name of the Oracle Applications system what
    APPL_TOP belongs to.

    Application system name must be unique on all Oracle
    Applications of the systems at your site, must be between 1 and 30 characters
    for a long time, can only contain alphanumeric characters and underline characters.
    and must begin with a letter.

    Sample application system names: 'prod', 'test', 'demo' and
    "Development_2.

    Name of the system of applications [SCREW]: SCREW *.


    NOTE: If you do not currently have certain types of installed files
    in this APPL_TOP, you may not be able to perform certain tasks.

    Example 1: If you do not have the files used for installation or upgrade
    the database has been installed in this area, you can install or upgrade
    the database of this APPL_TOP.

    Example 2: If you do not have the form files installed in this area, you can't
    generate or run them from this APPL_TOP.

    Example 3: If you have not installed in this area, the simultaneous program files
    You cannot connect concurrent programs or generate reports of this APPL_TOP.


    You currently have files used for the installation or the upgrade of the database
    installed in this APPL_TOP [YES]? YES *.


    You currently have HTML and Java files to HTML-based features
    installed in this APPL_TOP [YES]? YES *.


    You currently have files installed Oracle Applications form
    in this APPL_TOP [YES]? YES *.


    You have now installed the simultaneous program files
    in this APPL_TOP [YES]? YES *.


    Please enter the name of Oracle Applications will use to identify this APPL_TOP.

    The name APPL_TOP you select must be unique within an Oracle Applications
    System, must be between 1 and 30 characters long, may contain only the
    alphanumeric and underscore characters and must start with a letter.

    APPL_TOP sample names: "prod_all", "demo3_forms2" and "forms1.

    APPL_TOP name [r12]: r12 *.



    You are about to apply a patch for the installation of the Oracle Applications
    in your database to ORACLE "SCREW".
    using ORACLE executable files in ' / u01/oracle/VIS/apps/tech_st/10.1.2'.

    This is the database correct [Yes]? Yes

    AutoPatch needs the password for your schema ORACLE 'SYSTEM '.
    to determine the configuration of your installation.

    Enter the password for your schema ORACLE 'SYSTEM ': *.


    Connecting to the SYSTEM... Successfully connected.

    The ORACLE username specified below for Application Object Library
    uniquely identifies your existing product group: APPLSYS

    Enter the password of ORACLE Application Object Library [APPS]: *.

    AutoPatch checks your name of user and password.
    Connecting to APPLSYS... Successfully connected.

    The status of the different features in this performance of the AutoPatch is:

    <-feature version in - >
    Function Active? Flags of APPLTOP data model
    ------------------------------ ------- -------- ----------- -----------
    CHECKFILE Yes 1 1 O N N O N O
    PREREQ Yes 6 6 O N N O N O
    CONCURRENT_SESSIONS NO. 2 2 Y O N Y O N
    PATCH_TIMING Yes 2 2 O N N O N O
    PATCH_HIST_IN_DB Yes 6 6 O N N O N O
    SCHEMA_SWAP Yes 1 1 O N N Y Y Y
    JAVA_WORKER Yes 1 1 O N N O N O
    CODELEVEL Yes 1 1 O N N O N O



    Connecting to the SYSTEM... Successfully connected.

    Connecting to APPLSYS... Successfully connected.

    The current session identifier is 542216

    Product file information...

    AutoPatch error:
    Incorrect format of the file:

    /U01/Oracle/vis/apps/apps_st/appl/Admin/applprod.txt

    The file has the format ' % 12.0.A by applprod file format
    '
    and this version of AutoPatch requires the format ' % 12.0.A by applprod file format'

    You must check the file
    /U01/Oracle/vis/apps/apps_st/appl/Admin/vis/log/adpatch.log

    to find errors.



    Thanks and greetings
    Surendra

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

    898768 wrote:
    According to metalink solution I apply this hotfix.

    What is the doc of MOS?

    AutoPatch error:
    Incorrect format of the file:

    /U01/Oracle/vis/apps/apps_st/appl/Admin/applprod.txt

    The file has the format ' % 12.0.A by applprod file format
    '
    and this version of AutoPatch requires the format ' % 12.0.A by applprod file format'

    Have you downloaded the correct version that applies to your operating system and applications of output?

    Please also see the solution in (Incorrect File Format: Applcust.Txt - the file has the format ' % applcust queue format 11.5.A^M' [1300257.1 ID]).

    Thank you
    Hussein

  • error after you run root.sh on the second node

    Hello

    I installed the clusterware on a system with 2 nodes running on RHEL 5

    I followed the prereqs and fix all the errors I've met

    After the installation of clusterware, he asked me to run root.sh on all nodes

    When I run root.sh on the second node

    It gave this error

    Vipca (silent) to configure applications running
    / Home/Oracle/CRS/Oracle/product/10/CRS/JDK/JRE / / bin/java: error loading
    shared libraries: libpthread.so.0: cannot open shared object file:
    No such file or directory

    so I followed metalink notes 414163.1

    After that I called it a day

    in the morning, will receive it started both nodes

    and started on the second node vipca

    It gave this error

    Unable to communicate with the services of crs PRKH:1010



    i ran ps - ef | grep crs

    root 3201 1 0 15:37? 00:00:00 / bin/sh /etc/init.d/init.crsd run

    crsctl check crs gave
    demon of css contact failure 1
    cannot communicate with the crs
    cannot communicate with evm


    What should I do to start these services?

    raw devices ownership is changed back to the root after reboot, which is why its usual practice to add chown/chmod to /etc/rc.local for example:

    chown oracle: oinstall/dev/sde1
    chown oracle: oinstall/dev/sdf1
    chmod 600/dev/sde1
    chmod 600/dev/sdf1

  • Error "insufficient system resources exist to complete the requested service" what installation driver for Remote NDIS on Internet sharing

    I get this error message when you try to install the driver 'Remote NDIS based Internet Sharing Device' Microsoft allowing me to attach my cell phone.  This driver installs normally automatically whenever I attach my phone to a computer windows 7 via USB and enable tethering.  I did several times with success on other systems, as well as one currently give this error.  I tried the registry setting:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
    "PagedPoolSize" = DWORD
    "PoolUsageMaximum' = dword:0000003 c

    As suggested in another article about this error message on a XP machine without success.

    Currently expanded memory: 179 Non paged: 84

    Any help would be appreciated.

    I also had this problem for awhile now and have been unable attach despite trying your suggested corrections.

    Could you clarify what the error code 5aa means exactly? I get this error code when getting the "Insufficient resources" error when trying to install/upgrade my Motorola Network Interface driver, but the same error code appeared recently when I tried to install the latest version of my application of attachment, which gave me the same error code even if instead of "insufficient system resources exist to complete the requested service." , it was in response to
    'UpdateDriverForPlugAndPlayDevices err is 5aa'.
    I could only solve this problem by installing an older version. I think to understand it this error code would better identify the source of this problem.
  • Error while executing the code as user sys

    Hello
    The following code creates a procedure. Although the proc is created successfully, as he tried to run, I get the below error

    ORA-01031: insufficient privileges
    ORA-06512: at "SYS." DBMS_SESSION", line 101
    ORA-06512: at "SYS." MY_TEST_PROC', line 20
    ORA-06512: at line 1


    The proc is created by sys and executed by sys too

    create or replace procedure my_test_proc as
    TYPE CUR1 IS REF CURSOR;
    CURSOR c1 is
    Select ename from SCOTT.emp where rownum < 2;
    v_Name varchar2 (30);
    MY_CUR CUR1;
    STRQRY VARCHAR2 (2000);
    L_PARAM DBMS_SQL. VARCHAR2S;
    THE CNT NUMBER;
    SCOTT V_DATA. EMP % ROWTYPE;
    BEGIN
    STRQRY: = ' SELECT * FROM SCOTT. EMP WHERE 1 = 1 and ((1 = 1) ';)
    CNT: = 0;
    Open c1;
    loop
    Fetch c1 into v_name;
    When exit c1% notfound;
    CNT: = CNT + 1;

    DBMS_SESSION.set_Context ('MY_CTX', 'ENAME_' |) CNT V_NAME);
    STRQRY: STRQRY = | "OR (ENAME = SYS_CONTEXT ("MY_CTX","ENAME_1")';)"

    end loop;
    DBMS_OUTPUT. PUT_LINE(STRQRY ||) ')');

    CLOSE C1;
    END my_test_proc;

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

    EXEC my_test_proc;

    Help, please.

    >
    STRQRY: = ' SELECT * FROM SCOTT. EMP WHERE 1 = 1 and ((1 = 1) ';)
    >
    The query above will not work because there is a syntax error.
    Count the number of left and right parentheses.

    Edit your post and use the code and tell us who is line #20.

    My guess is that it's this line

    dbms_session.set_context('MY_CTX','ENAME_' || CNT, V_NAME); 
    

    You don't show any CONTEXT procedure code. DBMS_SESSION. SET_CONTEXT in doc PL/SQL Packages and Types
    See http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010942
    >
    SET_CONTEXT caller must be in the call stack of a procedure that has been associated with the context namespace via a statement of CONTEXT to CREATE. The call stack checking does not reach a limit of DBMS.

  • Error while executing the FilterImplementor

    Hello

    I created a cutom component and try to substitute class FilterImplementor for the CheckIn event. During the Check-In of new content, I get the following error message

    Content Server request failed

    The content item was not successfully verified. Impossible to filter 'NBNCustomVersion.CheckinFilter' of type 'validateStandard '. Failed to instantiate class code java to 'NBNCustomVersion.CheckinFilter' instead of 'NBNCustomVersion.CheckinFilter '.

    Please let me know how I can fix the problem.

    Thank you
    Sarang

    Problem is probably caused by your java class custom not being is not in the path. Check the following points:

    Java component classes are located in the: CustomComponent\classess\NBNCustomVersion\CheckinFilter.class while your java package name is NBNCustomVersion and the class name is CheckinFilter

    File CustomComponent.hda contains the line: classpath = $COMPONENT_DIR/classes (for the 11.1.1.6 Server)

    or

    File CustomComponent.hda contains the line: classpath = $COMPONENT_DIR/classes/NBNCustomVersion (for 11.1.1.5 server and earlier versions)

    and that you have restarted Content Server after any change of component.

    It could be another problem, but it is the first to check.

    Kind regards
    Boris

  • Error while executing procedure

    Create PROCEDURE CHECK_DAY (PDATE IN DATE, DAY_FLAG OUT VARCHAR2) IS
    
       h_dt date;
       t_dt date;
       C_R  VARCHAR2(1);
    
    begin
    
      DAY_FLAG := 'W';
    
      SELECT C_R_FLAG INTO C_R FROM TIMEKEEP.HOLIDAY_MAST 
      WHERE H_DATE = PDATE AND C_R_FLAG <>'R' ;
    
     IF    C_R ='C' THEN
          DAY_FLAG := 'C';
     ELSIF C_R ='W' THEN
                    DAY_FLAG := 'W';
     ELSE 
                   T_DT := PDATE-1;
    
          SELECT NEXT_DAY(T_DT,'SATURDAY') INTO  H_DT FROM SYS.DUAL;
    
         IF (H_DT = PDATE) THEN 
              DAY_FLAG :='A';
         ELSE
              SELECT NEXT_DAY(T_DT,'SUNDAY') INTO  H_DT  FROM SYS.DUAL;
    
              IF (H_DT = PDATE) THEN 
                   DAY_FLAG :='S';
              ELSE
                   DAY_FLAG :='W';
              end if;
         end if;
    
     END IF;
    
     EXCEPTION when no_data_found then     
         T_DT := PDATE-1;
          SELECT NEXT_DAY(T_DT,'SATURDAY') INTO  H_DT FROM SYS.DUAL;
    
         IF (H_DT = PDATE) THEN 
              DAY_FLAG :='A';
         ELSE
              SELECT NEXT_DAY(T_DT,'SUNDAY') INTO  H_DT  FROM SYS.DUAL;
    
              IF (H_DT = PDATE) THEN 
                   DAY_FLAG :='S';
              ELSE
                   DAY_FLAG :='W';
              end if;
         end if;
    
    end ;
    
    -----------------------------
    
    
    Create or replace PROCEDURE PREVIOUS_TWO_WORKING_DAY(pno in number,PDATE IN DATE,PRIV_DATE2 OUT DATE) IS
    
    PRV                                     DATE;
    PRV1                                   DATE;
    DAY_FLAG                            VARCHAR2(1);
    ATT_CNT_PRIV_DATE                      NUMBER(2);
    ATT_CNT_PRIV_DATE1                       NUMBER(2);
    PRIV_DATE1                           date;
    
    BEGIN
    
    PRV    := PDATE;
    
    LOOP
    EXIT WHEN ATT_CNT_PRIV_DATE <> 0;
    PRV := PRV -1;
    CHECK_DAY(PRV,DAY_FLAG);
    IF DAY_FLAG = 'W' THEN
    SELECT COUNT(*) INTO ATT_CNT_PRIV_DATE FROM TIMEKEEP.PRESENTI_MAST 
    WHERE PERS_NO = pno AND DATE_PRE= PRV;
    END IF;
    END LOOP;
    PRIV_DATE1 := PRV;  -- GET FIRST PREVIOUS WORKING DAY 
    DAY_FLAG :='';
    ATT_CNT_PRIV_DATE := 0;
    
    PRV1      := PRIV_DATE1;
    
    LOOP
    EXIT WHEN ATT_CNT_PRIV_DATE1 <> 0;
    PRV1 := PRV1 - 1;
    CHECK_DAY(PRV1,DAY_FLAG);
    IF DAY_FLAG = 'W' THEN
    SELECT COUNT(*) INTO ATT_CNT_PRIV_DATE1 FROM TIMEKEEP.PRESENTI_MAST 
    WHERE PERS_NO = pno AND DATE_PRE= PRV1;
    END IF;
    END LOOP;
    
    PRIV_DATE2 := PRV1; -- GET SECOND PREVIOUS WORKING DAY
    
    END;
    
    ---------------------------------------------------------------------
    
    Create or Replace procedure dailylog_track is
    
    CURSOR CHK_JOB IS SELECT PERS_NO FROM ARAI.PERSON WHERE WORK_LEFT ='W' 
    and SR_JR_OTHER <> 'O';
    
    V_PERS_NO  number(8);
    V_MAXDATE  date;
    PDATE        date;       
    PRIV_DATE2 date;
    
    begin
    
    OPEN CHK_JOB;
    
    LOOP
    
    FETCH CHK_JOB INTO V_PERS_NO;
    
    SELECT MAX(JOB_DATE) INTO V_MAXDATE FROM PM.DAILY_TIMESHEET
    WHERE PERS_NO = V_PERS_NO;
    
    PREVIOUS_TWO_WORKING_DAY(v_pers_no,to_date(to_char(sysdate,'dd-mon-yyyy')),PRIV_DATE2);
    
    
    if V_MAXDATE < PRIV_DATE2 then
    
    INSERT INTO arai.dailylog_person VALUES (V_PERS_NO,V_MAXDATE,to_date(to_char(sysdate,'dd-mon-yyyy')));
    
    end if;
    
    exit when CHK_JOB%notfound;
    
    end loop;
    
    close CHK_JOB;
    
    commit;
    
    end;
    
    ---------------------- On Execution of procedure dailylog_track  following error appeares 
    
    SQL>  exec dailylog_track;
    BEGIN dailylog_track; END;
    
                     *
    ERROR at line 1:
    ORA-01841: (full) year must be between -4713 and +9999, and not be 0
    ORA-06512: at "ARAI.CHECK_DAY", line 38
    ORA-01403: no data found
    ORA-06512: at "ARAI.PREVIOUS_TWO_WORKING_DAY", line 32
    ORA-06512: at "ARAI.DAILYLOG_TRACK", line 22
    ORA-06512: at line 1
    Hi all
    Can someone tell me why this is happening? I tried "sysdate" with "to_date (to_char(sysdate,'dd-mon-yyyy'))" but no luck...

    I use:

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production


    Thanks in advance...

    Regd
    Percy

    Published by: PERCY2 on October 11, 2012 03:53

    PERCY2 wrote:
    Hi all

    Finallay afte number of iterations, I got what it was... Table RECORD. PRESENTI_MAST has a date column DATE_PRE who did not consider himself in where clause. I have DATE_PRE chnged to to_Date (to_char(DATE_PRE,'dd-mon-yyyy')) & error disappeared.

    Please ensure that you read the previous posts while ensuring that insert the format of date strings. Your "fix" still has a problem with it if you do not include a string of formatting to the TO_DATE function.

  • Error while executing command discoveryArrays: NetApp SnapMirror

    Hello

    When you set up the table managers in SRM I get the following message is displayed: "error during execution of the discoveryArrays command.   I checked that the NetApp SRA installed perl scripts in the directory (C:\Program VMware Site Recovery Manager\scripts\SAN\ONTAP).   At first, I thought it was a permissions problem, but I also checked that SRM admin account has local admin on the VC box as well as in VC & MRS.  I use a NetApp V6080 file server and also checked the credentials of file server that I use to add a table Manager.  Has anyone encountered this problem?  Thanks in advance.

    Environment: MRS. NetApp SRA 1.0.1 1.0.1

    You must change the settings 'trusted.hosts' on the NetApp Board to include the IP address of the server that is running the adapter (that would be the Server Protection SRM) SRM

    To do this, ssh or telnet on the NetApp array and run

    options trusted.hosts

    no doubt it is empty or does contain address of your SRM Server

    Add the address with the same commands, i.e. If the address is 10.1.2.3 then

    options trusted.hosts 10.1.2.3

    If there is already a configured address, adds 10.1.2.3 as input separated by commas.

    Rerun the discovery of the SRM and I hope that it will work.

  • Get a 'file corrupted' error while trying to copy files to the flash drive mp3

    * Original title: corruption of copy error

    I am trying to copy mp3 files to my music on a flash drive folder and I get an error "damaged file".  Only files is not corrupt, he plays very well on my system so WHY not copy?  I had dealing with "disc is dirty" and "file is corrupt" questions for THREE DAYS and, if that is what is happening with Windows 7 (the upgrade of Windows 7 is relatively new) so I'm going back to Vista!  Someone please help me with this.

    Hello

    I suggest you to go from the following link and check if that helps.

    Convert a hard disk or partition to NTFS format

    http://Windows.Microsoft.com/en-us/Windows7/convert-a-hard-disk-or-partition-to-NTFS-format

    I hope that helps!

  • Error when executing SoapUI - a problem caused the blocking of the program works correctly.

    I noticed other grave on this error message, but the answer seems to be something different each time.  I'm a developer, and I use a program called SoapUI to assist in the development of my web applications.  Whenever I try to run SoapUI, it hangs and gives the same error.  Here is the relevant information of the event viewer:

    Name of the failing application: SoapUI - 5.0.0.exe, version: 0.0.0.0, time stamp: 0x515063c6
    The failed module name: ntdll.dll, version: 6.3.9600.17031, time stamp: 0x5308893d
    Exception code: 0xc0000005
    Offset: 0x0004011b
    ID of the process failed: 0x1aec
    Start time of application vulnerabilities: 0x01cf7a834f5d1426
    The failing application path: C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\bin\SoapUI-5.0.0.exe
    The failed module path: C:\WINDOWS\SYSTEM32\ntdll.dll
    Report ID: 8d9399ec-e676-11e3-beb4-180373413505
    Faulting full name of the package:
    ID of the failed package-parent application:

    Log name: Application

    Source: Application error

    Event ID: 1000

    Level: error

    User: n/a

    OpCode:

    Logged in: 28/05/2014-08:44:21

    Task category: (100)

    Keywords: Classic

    Computer: * (not applicable)

    I don't know what all this means.  I hope someone can help me decode and solve my problem so I can continue to develop my application.

    Never mind.  The program works now.  I ran "Troubleshoot compatibility" and I guess that something relating to that solved my problem.  I hope this can help others with similar issues.

  • Getting error while inserting data from source to the target in the procedures?

    Hello

    I want to insert the data from the source to the target in the procedures, have the same schema.

    For this, I did as follows

    Command on the source:

    Technologies: oracle

    Schema: EDWHCMB

    Command:

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY

    Command on the target:

    Technologies: oracle

    Schema: EDWHCMB

    command:

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    COMPANY_CODE,

    COMPANY_NAME)

    I have run the procudere then I got error as follows

    ODI-1228: SAMPLE1 (procedure) task fails on ORACLE EDWH connection target.

    Caused by: java.sql.BatchUpdateException: ORA-00984: column not allowed here.


    How to insert the data from the source to the target in the proceedings?

    Please send any document to this...

    Please help me.

    Thanks in advance,

    A.Kavya.

    Hi Bruno.

    If your tables are on the same schema then why do you use command on the source and the command on the target? You can simply do the following on the command on the target

    INSERT INTO EDWHCMB. TEMP

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY


    If you really want at all to use the command on the source and target both then I think you need to change the following code on your order on the target

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    : COMPANY_CODE,.

    (: COMPANY_NAME)

    Hope your TEMP table has only these 2 columns.

    Thank you

    Ajay

Maybe you are looking for

  • Equium A100-338: Explorer of Vista does not properly

    I bought a new 338-a100 with windows vista home premium installed on it.Windows Explorer does not seem to work properly.It is messed up, and I have to restart windows Explorer. Can someone please help me solve this problem.

  • Recovery of a Satellite Pro L450D-11V

    I had the machine a few years and its going a bit slow and there was a warning about some audio software crush when I started is lately. I ran the backup process, and all my information has been backed up on another partition. I then booted the compu

  • 5 d Mark 3 low light Images = really slow!

    Hello I have a rather strange problem. When shooting in low light (shots thinking completely black, lightning etc.) 5 d mark iii takes forever to display the image on the preview screen. It takes up to a minute or more, and I can see the flicker of r

  • Problem with the brightness of the display in my 655 - WINDOWS 7 HP laptop

    Hey there! I have a problem with my laptop HP 655. When I press the buttons to increase or decrease (exactly F2 and F3) they do not respond, these buttons do not work. I tried to install an UPDATE "HotKeys Support HP drivers" but they does not solve

  • Exception pointer null when starting on request.

    Hello I have a little problem coming to the after installing my application when I press my the app icon it is said of pointer Null exception that it is the first time that next time it works perfectly well. I don't know why this exception came. Afte