Forum Stats

  • 3,767,978 Users
  • 2,252,735 Discussions
  • 7,874,399 Comments

Discussions

Coredump (memory fault)

Tony007
Tony007 Member Posts: 4,165 Bronze Trophy

hi am geting this error when compiling oracle forms 12c in solaris 64bit against oracle database 19c

Answers

  • Tony007
    Tony007 Member Posts: 4,165 Bronze Trophy
    edited Oct 22, 2021 2:04PM

    this what am geting

    /usr1/Oracle/Middleware/Oracle_Home/user_projects/domains/Fr_domain/config/fmwconfig/components/FORMS/instances/forms1/bin/frmcmp_batch.sh: line 103: 943: Memory fault(coredump)

    this what am running

    echo "------------------------------------------------------------------------"

    frmcmp_batch.sh userid=$DB_USER/[email protected]$DB_SERVICE batch=no module=$STAGE_DROP_PATH/$S_BASENAME module_type=$TYPE compile_all=yes w$


    this fiile code

    #!/bin/sh

    #

    # Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.

    #

    # frmcmp_batch.sh - executable Bourne shell script to run the Forms Compiler

    #          (Generator) in batch mode after setting up the required

    #          environment

    #

    # NOTES

    # 1/ The Forms installation process should replace

    #  <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME

    #  setting. Please make these changes manually if not.

    # 2/ Some of the variables below may need to be changed to suite your needs.

    #  Please refer to the Forms documentation for details.

    #


    #

    # Set ORACLE_HOME if not set in the calling environment:

    #

    ORACLE_HOME=${ORACLE_HOME:-/usr1/Oracle/Middleware/Oracle_Home/wlserver/..}

    export ORACLE_HOME


    #

    # Set config time JAVA_HOME as CT_JAVA_HOME 

    #

    CT_JAVA_HOME=/usr1/Oracle/jdk

    export CT_JAVA_HOME


    #

    # Set FORMS_INSTANCE if not set in the calling environment:

    #

    FORMS_INSTANCE=${FORMS_INSTANCE:-/usr1/Oracle/Middleware/Oracle_Home/user_projects/domains/Fr_domain/config/fmwconfig/components/FORMS/instances/forms1}

    export FORMS_INSTANCE


    #

    # Set DOMAIN_HOME if not set in the calling environment:

    #

    DOMAIN_HOME=${DOMAIN_HOME:-/usr1/Oracle/Middleware/Oracle_Home/user_projects/domains/Fr_domain}

    export DOMAIN_HOME


    #

    # Set O_JDK_HOME if not set in the calling environment:

    # If O_JDK_HOME isn't set, try using JAVA_HOME; if that isn't set, then try

    # looking in the Oracle_Home

    #

    O_JDK_HOME=${O_JDK_HOME:-${JAVA_HOME}}

    O_JDK_HOME=${O_JDK_HOME:-${CT_JAVA_HOME}}

    O_JDK_HOME=${O_JDK_HOME:-${ORACLE_HOME}/oracle_common/jdk}

    export O_JDK_HOME


    #

    # Search path for Forms applications (.fmb &.fmx files, PL/SQL libraries)

    # If you need to include more than one directory, they should be colon

    # separated (e.g. /private/dir1:/private/dir2)

    # Note: the current directory is always searched by default

    #

    # FORMS_PATH=<your application directory 1>:<etc>

    # export FORMS_PATH


    #

    # Set TERM to vt220 since that's the only terminal file shipped with Forms.

    #

    TERM=vt220

    export TERM


    #

    # You may need to set one or more of TNS_ADMIN, TWO_TASK or ORACLE_SID

    # to connect to database

    #

    TNS_ADMIN=${TNS_ADMIN:-/usr1/Oracle/Middleware/Oracle_Home/user_projects/domains/Fr_domain/config/fmwconfig}

    export TNS_ADMIN

    # TWO_TASK=<your database connect string>; export TWO_TASK

    # ORACLE_SID=<ORACLE SID>; export ORACLE_SID


    #

    # System settings

    # ---------------

    # You should not normally need to modify these settings.

    #

    if [ `uname -s` = 'SunOS' ] && [ `uname -p` = 'sparc' ]; then

      LD_LIBRARY_PATH=$ORACLE_HOME/lib:$O_JDK_HOME/jre/lib/sparcv9/server:$O_JDK_HOME/jre/lib/sparcv9/native_threads:$LD_LIBRARY_PATH

      export LD_LIBRARY_PATH

    elif [ `uname -s` = 'SunOS' ] && [ `uname -p` = 'i386' ]; then

      LD_LIBRARY_PATH=$ORACLE_HOME/lib:$O_JDK_HOME/jre/lib/amd64/server:$O_JDK_HOME/jre/lib/amd64/native_threads:$LD_LIBRARY_PATH

      export LD_LIBRARY_PATH

    elif [ `uname -s` = 'HP-UX' ] && [ `uname -m` = 'ia64' ]; then

      LD_LIBRARY_PATH=$ORACLE_HOME/lib:$O_JDK_HOME/jre/lib/IA64W:$O_JDK_HOME/jre/lib/IA64W/server:$LD_LIBRARY_PATH

      export LD_LIBRARY_PATH

    elif [ `uname -s` = 'HP-UX' ]; then

      SHLIB_PATH=$ORACLE_HOME/lib:$O_JDK_HOME/jre/lib/PA_RISC2.0W:$O_JDK_HOME/jre/lib/PA_RISC2.0W/server:$O_JDK_HOME/jre/lib/PA_RISC2.0W/native_threads:$SHLIB_PATH

      export SHLIB_PATH

    elif [ `uname -s` = 'AIX' ]; then

      LIBPATH=$ORACLE_HOME/lib:$O_JDK_HOME/jre/bin:$O_JDK_HOME/jre/bin/classic:$LIBPATH

      export LIBPATH

    elif [ `uname -s` = 'Linux' ] && [ `uname -m` = 'x86_64' ]; then

      LD_LIBRARY_PATH=$O_JDK_HOME/jre/lib/amd64/native_threads:$O_JDK_HOME/jre/lib/amd64/server:$O_JDK_HOME/jre/lib/amd64:$ORACLE_HOME/lib

      export LD_LIBRARY_PATH

    else

      echo "Platform you are using is not supported currently."

      exit 1

    fi


    $ORACLE_HOME/bin/frmcmp_batch $*

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,889 Employee

    Exactly which Forms version, Database version and Solaris version?

    Also, how are you running this? Meaning, are you running it directly from a shell on the Solaris machine or are you connecting remotely (e.g. Putty, etc)?

  • Tony007
    Tony007 Member Posts: 4,165 Bronze Trophy

    Forms [64 Bit] Version 12.2.1.4.0 (Production)

    database 19c


    solaris 64 bit 11.4


    i think the issue is because am running oracle database in same sever


    The database has taken all PGA