ORA-04031: Please Help

Hello

After JVM installation when I run @? / javavm/install/initjvm.sql, I get the following error

SQL > EXECUTE dbms_java.loadjava ('- v - r - install - grant PUBLIC s lib/xmlparserv2.jar rdbms/jlib/xdb.jar');
BEGIN dbms_java.loadjava ('- v - r - install - grant PUBLIC s lib/xmlparserv2.jar rdbms/jlib/xdb.jar'); END;

*
ERROR on line 1:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-04031: unable to allocate 4 096 bytes of shared memory ('pool of java', 'unknown)
("object", 'hp exec joxlod', 'SGAClass')
ORA-06512: at "SYS." DBMS_JAVA', line 222
ORA-06512: at line 1


SQL >
SQL > EXECUTE dbms_java.loadjava (' r - PUBLIC subsidies - v - s lib/xsu12.jar ');
BEGIN dbms_java.loadjava (' r - PUBLIC subsidies - v - s lib/xsu12.jar '); END;

*
ERROR on line 1:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-04031: unable to allocate 4 096 bytes of shared memory ('pool of java', 'unknown)
("object", 'hp exec joxlod', 'SGAClass')
ORA-06512: at "SYS." DBMS_JAVA', line 222
ORA-06512: at line 1


SQL > call sys.dbms_java.loadjava (' - v - r f - PUBLIC grant - synonym jlib/xquery.jar ');
Call sys.dbms_java.loadjava (' - v - r f - PUBLIC grant - synonym jlib/xquery.jar ')
*
ERROR on line 1:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-04031: unable to allocate 4 096 bytes of shared memory ('java
("pool", ' oracle/xml/parser/v2/DTDSYS', "joxlod exec hp", "SGAClass")


SQL > call sys.dbms_java.loadjava (' f - r s g v public rdbms/jlib/aqapi.jar');
Call sys.dbms_java.loadjava ('f - r s g public rdbms/jlib/aqapi.jar v')
*
ERROR on line 1:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-04031: unable to allocate 4 096 bytes of shared memory ('java
(pool', 'oracle, jms, AQjmsMapMessageSYS', "joxlod exec hp", "SGAClass")


SQL >
SQL >
SQL > call sys.dbms_java.loadjava (' - v f - r-schema exfsys rdbms/jlib/ExprFilter.jar');
Call sys.dbms_java.loadjava (' - v f - r-schema exfsys rdbms/jlib/ExprFilter.jar "")
*
ERROR on line 1:
ORA-29532: Java completed by eception Java exception appeal:
oracle.aurora.server.tools.loadjava.ToolsError: error during loadjava: chess
occurred during treatment. Check the file path for more details


Please guide me how to solve this problem. I checked metalink and saw all the types of memory have a sufficient size.

Please advice.

Thanks in advance.

SID3 wrote:
Ok.. in this case I need to follow the steps of deinstalltion any JVM again and again

None

or just the rmjvm.sql race will do?

Yes

Tags: Database

Similar Questions

  • Please help: instruction box - ORA-01722: invalid number error

    Hi all
    I am trying to use the Case statement to recode the status canceled in two groups
    "Reject" If the difference between the date of the first and the last date is less than 29 and
    'Accept' if the difference between the date of the first and the last date is greater than 30

    Here's my data 'test'

    STATUS FIRST_DATE LAST_DATE

    Transfer / / 10/08/2011-10/09/2011
    Mover 10/08/2011-15/09/2011
    Cancel the 16/09/2011 10/08/2011
    Cancel the 10/08/2011 5/09/2011

    Here's the syntax

    Select a.*,
    (CASE WHEN a.STATUS = 'Cancel' CAN (round(a.LAST_DATE-a.FIRST_DATE))
    0 OTHERWISE
    END CAN_DAYS),
    (BOX WHEN "CAN_DAYS" > 29 THEN "reject"
    WHEN "CAN_DAYS" < 30 THEN "accept."
    Reject_Accept END)
    try one

    The first CASE statement works very well and gives me this
    STATUS FIRST_DATE LAST_DATE CAN_DAYS

    Transfer 0 10/08/2011-10/09/2011
    Mover 0 10/08/2011-15/09/2011
    Cancel the 37 16/09/2011 10/08/2011
    Cancel the 26/10/08/2011 5/09/2011

    but the LATTER product ORA-01722: invalid number error. It's something to do with the type of data CAN_DAYS, Oracle does not see in the Numeric form I think.
    I want to see result
    STATUS FIRST_DATE LAST_DATE CAN_DAYS Reject_Accept

    Transfer 0 10/08/2011-10/09/2011
    Mover 0 10/08/2011-15/09/2011
    Accept to cancel 37 10/08/2011-16/09/2011
    Refuse to cancel the 26/10/08/2011 5/09/2011

    Could someone please help me fix the syntax?
    Thank you in advance,

    Hello

    The error is due to the fact that you are trying to compare "CAN_DAYS", which cannot be regarded as a number, a number.
    You can try this option for your results:

    select A.STATUS, A.FIRST_DATE, A.LAST_DATE,case
                                                when a.status ='Cancel' then round(a.last_date - a.first_date)
                                                else 0
                                                end as can_days,
                                                case
                                                when (a.status ='Cancel'  and round(a.last_date - a.first_date) > 29) then 'Reject'
                                                when (a.status ='Cancel'  and round(a.last_date - a.first_date)< 30) then 'Accept'
                                                else null
                                                end as Accept_Reject
    from test a 
    
  • ORA-06550 in to INSERT them all... Please help me...

    I get the following errors in my code below:
    ORA-06550: line 11, column 13:
    PL/SQL: Statement ignored
    06550 00000 - "line %s, column % s:\n%s".
    * Cause: Usually a PL/SQL compilation error.
    * Action:

    Code:

    declare
    cursor cur_sales is
    Select a.sal_name, a.sal_id, a.upd_by, b.cost_ref, b.cost_office from sales a, b cost where a.sal_id = b.cost_id (+);
    type bulk_sales is table of the cur_sales % rowtype;
    v_bulk_sales bulk_sales;
    Start
    Open cur_sales;
    loop
    collect the fetch cur_sales in bulk in v_bulk_sales;
    ForAll i in 1.v_bulk_sales
    insert into sa_sales (sal_name, sal_id, upd_by, cost_ref, cost_office) values (v_bulk_sales (i) .sal_name, v_bulk_sales (i) .sal_id, v_bulk_sales (i) .upd_by, v_bulk_sales (i) .cost_ref, v_bulk_sales (i) .cost_office);
    When the output cur_sales % notfound;
    end loop;
    close cur_grp;
    end;

    Details of the Tables:
    sale of table 1: sal_name, sal_id, upd_by, sal_dept
    Table 2 cost: cost_ref, cost_office, cost_id, cost_values
    Table 3 sa_sales: sal_name, sal_id, upd_by, cost_ref, cost_office, cost_details, cost_label
    Here, cost_details, cost_label in table 3 are default to null

    Please help me to solve it... Thanks in advance for all...

    You can not use this code in the Oracle 10 g database, you will get "PLS-00436: limitation of the implementation: cannot reference the fields in the table to LINK BLOCK of documents or objects Cause: .field table (bulk_index) is not supported running." Action: use OF the loop with the statement instead that DML FORALL (FUSION, INSERT, DELETE, UPDATE). »

    In fact, it is a new feature of Oracle Database 11 g.

    You must set the new type of collection for each column in the select list.
    For Oracle Database 10g, change your code like this.

    DECLARE
    CURSOR cur_sales
    IS
    SELECT a.sal_name, a.sal_id, a.upd_by, b.cost_ref, b.cost_office
    SALES a, b cost
    WHERE a.sal_id = b.cost_id (+);

    TYPE sal_name_t IS TABLE OF THE sales.sal_name%TYPE;
    TYPE sal_id_t IS TABLE OF THE sales.sal_id%TYPE;
    TYPE upd_by_t IS TABLE OF THE sales.upd_by%TYPE;
    TYPE cost_ref_t IS TABLE OF THE cost.cost_ref%TYPE;
    TYPE cost_office_t IS TABLE OF THE cost.cost_office%TYPE;

    v_bulk_sal_name sal_name_t;
    v_bulk_sal_id sal_id_t;
    v_bulk_upd_by upd_by_t;
    v_bulk_cost_ref cost_ref_t;
    v_bulk_cost_office cost_office_t;
    BEGIN
    OPEN cur_sales.

    LOOP
    EXTRACTION cur_sales
    BULK COLLECT INTO v_bulk_sal_name, v_bulk_sal_id, v_bulk_upd_by, v_bulk_cost_ref, v_bulk_cost_office;

    FORALL I IN 1... v_bulk_sales. Count
    INSERT INTO sa_sales (sal_name, sal_id, upd_by, cost_ref, cost_office)
    VALUES (v_bulk_sal_name (i), v_bulk_sal_id (i),)
    v_bulk_upd_by (i), v_bulk_cost_ref (i),
    v_bulk_cost_office (i));

    EXIT WHEN cur_sales % NOTFOUND;
    END LOOP;

    CLOSE Cur_sales;
    END;

    BR, Ramin Orujov.

  • ORA-01403 no data found cursor error - please help.

    DECLARE
    Name1 talent.candidate_name%TYPE; -Declaring variables
    long name2; -Declaring variables
    emp_id talent_id.emplid%TYPE.
    EXCEPTION NO_DATA_FOUND.

    CURSOR c1 IS
    Select candidate_name,('''||) Trim (Upper (candidate_name)) | "') as tst of talent;
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO name1, name2;
    OUTPUT WHEN c1% NOTFOUND; -TRUE when FETCH can't find none online

    Select distinct emplid
    IN emp_id
    a names
    where a.name_type = 'PRI '.
    and upper (a.last_name) | ',' | Upper (a.first_name) = name2;


    INSERT INTO talent_id VALUES (emp_id, Name1);

    END LOOP;

    CLOSE c1;
    COMMIT;





    Question: Above queries ask me the msg of error ora-01403 no data available for emplid. I try but fail to solve. Please help me. Thank you

    Published by: user12051088 on March 4, 2010 01:38

    Published by: user12051088 on March 4, 2010 01:40

    This unique INSERT could possibly end up with all of your pl/sql code!

    insert into Talent_ID (Emp_ID
                          ,Name1)
                    (select distinct
                            a.Emp_ID
                           ,t.Candidate_Name
                     from   names a
                           ,Talent t
                     where  a.Name_Type = 'PRI'
                     and    upper(a.Last_Name || ', '|| a.First_Name) = trim(upper(t.Candidate_Name))
                    )
    /
    

    Keep in mind, there is no way for me to test it! Furthermore, TALENT_ID is a strange name for a table. Probably typo but simply change the INSERT statement accordingly!

    P;

  • "ORA-04031: unable to allocate shared memory..." with the parameter 'ddltxt_ knglddl '.

    Hi experts.

    Exadata, RAC DBMS EE 11.2.0.3.22, downstream from DB1 to DB2 replication on the same server.

    Maintenance of DB1 with DB rebound before a problem occurred.

    AMM on target DB.

    Original values:

    • memory_target - 6 GB
    • STREAMS_POOL_SIZE - 2GB

    ORA-04031: could not allocate 17859792 bytes of shared memory ('pool of water', 'unknown object', 'capture shared','ddltxt_knglddl' ") error trying to start the capture process.

    As in " " Note: 1521925.1 " ORA-4031 Troubleshooter" total memory and streams_pool_size rose:

    • memory_target - 2 GB plus 8 GB
    • STREAMS_POOL_SIZE - 128 M PLUS 2,125 GB. No possibility of increase of more than + 128 M

    Same error when starting capture.

    Investigation on MOS, shared from google on the capture of " " "ddltxt_knglddl","" gave practically nothing. "

    SR on created MOS. Nothing so far.

    Please advice. All thoughts are welcome.

    Thanks in advance for loans to help.

    Kind regards

    Igoroshka.

    Problem solved.

    Error reported a memory of 17859792 bytes. Increase the memory up to 12 GB, configuration of different sizes for streams_pool_size has not solved a problem.

    Analysis of pieces of free memory shown the biggest chunk of size in less than 17859792 bytes.

    After reset sga_max_size (or updated grater value than 8 GB) problem has been resolved. Looks like it was related to the size of granule. With size of granule sga_max_size > 8 GB has increased from 16 MB to 32 MB.

  • ORA-04031: unable to allocate 4080 bytes of shared memory

    Hello

    We get the error ORA-04031 in our production environment. Could someone help me on this please.
    I do not know if it related to a bug. Checked on google and provide you with some of the details of setting below.
    Linux-64bit/10.2.0.4.0 oracle

    error
    ======
    ORA-04031: unable to allocate 4080 bytes of memory ('pool', 'unknown object', ' bunch of sga (1,0) ', 'library cache') shared

    PHYSICAL MEMORY
    ==============
    cat/proc/meminfo | grep MemTotal
    MemTotal: 18479752 kB

    Memory settings
    =================
    SHARED_POOL_RESERVED_SIZE large integer 78852915
    whole large shared_pool_size 1504M
    Whole large SGA_MAX_SIZE 13G
    Whole large SGA_TARGET 12G
    Whole large LARGE_POOL_SIZE 16 M

    also tried below
    SQL > alter system set shared_pool_size = 2G scope = mΘmoire;
    change the shared_pool_size scope = mΘmoire set = 2 G system
    *
    ERROR on line 1:
    ORA-02097: the parameter cannot be changed because specified value is not valid
    ORA-04033: not enough memory to push the pool


    Earlier got the error and we have ~ 400 MB of free space

    FREE_MB POOL NAME
    ------------ -------------------------- ----------
    free memory pool shared 413.09

    Thank you

    Published by: Gour on February 27, 2012 23:39

    909592 wrote:
    You can start with this? It's automatic diagnostic tool available on metalink. This get your files, alert.log trace and help you solve the question (Wihout opening SR)...

    https://support.Oracle.com/CSP/UI/Flash.HTML#tab=dashboard%28page=GRHome&ID=gkzpuq90%28domainId=ORA4031%29%29

    Resolution guided - ORA-4031

    Nice link. I like what Oracle trying to do with the diagnostic Guide (last option button).

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • ORA-04031 - 11.2.0.1.0 Oracle expdp

    Hello

    After a big back my database with EdStevens - I tried now to do an export with expdp

    I used:

    expdp user/pw schemas=myschema directory=myschemadir dumpfile=mydumpfile.dmp logfile=mylogfile.log
    

    in the end, I got this errors.

    UDE-04031: Vorgang hat ORACLE-Fehler generiert 4031  
    ORA-04031: 16 Byte des Shared Memorys konnten nicht zugewiesen werden ("shared p  
    ool","SELECT job_id FROM v$datapum...","SQLA","tmp")  
    ORA-06512: in "SYS.KUPV$FT_INT", Zeile 2904  
    ORA-06512: in "SYS.KUPC$QUE_INT", Zeile 572  
    ORA-25254: Timeout in LISTEN beim Warten auf eine Nachricht  
    ORA-06512: in "SYS.DBMS_DATAPUMP", Zeile 3263  
    ORA-06512: in "SYS.DBMS_DATAPUMP", Zeile 4488  
    ORA-06512: in Zeile 1 
    
    

    What can I do this error ORA-04031? I think it's the main reason, or?

    Thanks a lot for the help again

    I fixed it myself...

    I've added to my startup file:

    *.sga_target=3059744768
    

    I stopped my DB, I started and now I can export my database

    Thank you to all assistants in particular EdStevens , I learned a lot from you!

    ARO

    Tim

  • Tablespace TEMP fills and then see ORA-04031

    Hello

    Database Oracle version: 11.2.0.3 Linux

    "KGLH0 ^ bac435f8 kglHeapInitialize:temp ',' ')" error. We can assume that because the TEMP tablespace was full for the sort used oracle shared pool/memory for sorting operation and has caused the depletion of the space in the shared pool.

    Please answer.

    Hello

    NO, because the shared pool is not used for sorting but used for analysed maintenance sqls, pl/sql code information and data dictionary. Please read more about shared pool Memory architecture - 11 g Release 2 (11.2)

    > ORA-04031: unable to allocate 32 bytes of shared

    This means that you can set the Shared pool.

    HTH,

    Pradeep

  • ORA-04031: unable to allocate 32 bytes of shared memory ('shared pool'.  Check your error messages for the cause of the error. (= &lt; POINTER &gt;)

    Dear team,

    We have for instance R12.

    DB - 11.2.0.3

    12.1.2 - application

    in this concurrent instance depressed frequently when checking of log file showing the error as

    List of errors encountered:

    .............................................................................

    _ 1 _

    Systematic FDPCRQ met an ORACLE error. ORA-04031: unable to

    allocate 32 bytes of shared memory ('shared pool'.

    Check your error messages for the cause of the error. (= < POINTER >)

    .............................................................................

    APP-FND-01388: cannot read the value for the profile FND_MGR_STRTUP_THRES_TIME option in the routine, and routine.

    List of errors encountered:

    .............................................................................

    _ 1 _

    Routine AFPCAL has received the code of failure while running or analysis of your

    simultaneous program CPMGR


    Examine your log file of concurrent application for more information.

    Make sure that you pass arguments in the correct format.

    Post: WARNING: mail_queue_enter: create file maildrop / 379309.437: permission denied

    Please guide me to solve this problem.

    Concerning

    Kumar V

    Dear Kumar,

    I suggest you to check the FND_NODES table

    1) connect to SQLPLUS as the APPS user and execute the following statement:

    Select CONCURRENT_QUEUE_NAME in the FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM ';

    (2) If you have found that FND_NODES table with entries incorrect node (old node from the Source Instance), and then run the query to clean below

    EXEC FND_CONC_CLONE. SETUP_CLEAN;
    COMMIT;

    (3) then run AutoConfig on all stages, firstly on the DB layer then APPS and webtiers levels to repopulate the necessary system tables,

    and make sure that you are now able to see the correct entries in the FND_NODES table and start the application services.

    Kind regards

    S27

  • ORA-04031 Oracle RAC ASM 11.2.0.3

    Hello:

    I need your help.

    When the automatic increase in memory of comics, more than 8 GB, my BD RAC indicates failure.

    Environment:

    Oracle RAC 11.2.0.3 with 2 nodes.

    O.S.: SunOS 5.11 rac1 11.1 sun4v sparc sun4v

    RAM: 32 GB.

    Oracle Grid Infrastructure 11.2.0.3

    Oracle ASM 11.2.0.3

    Oracle Database 11.2.0.3 Enterprise Edition with RAC option.

    Symptom:

    I created my DB CARS with MEMORY_TARGET = 1 G.

    I have been to increase the parameter up to 8 GB without problem, but the 9 GB, this error occurs:

    * .memory_max_target = 9g

    * .memory_target = 4g

    SQL > startup nomount;

    ORACLE instance started.

    ORA-00604: an error has occurred at the SQL level recursive 2

    ORA-04031: unable to allocate 32 bytes of shared memory ('shared

    pool"," X$ KSMSD "," KGLS ^ c51f85ea ',' kglHeapInitialize:temp') "

    Background:

    What are the parameters of the kernel for the oracle account:

    Oracle@RAC1:~$ prctl - n Project.Max - shm-memory - i project user.oracle

    project: 100: user.oracle

    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY

    Project.Max - shm-memory

    the 20,00 GB privilege - deny-

    system 16.0EB max deny-

    Oracle@RAC1:~$ prctl - n Project.Max - sem - IDS - i project user.oracle

    project: 100: user.oracle

    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY

    Project.Max - sem - IDS

    privileged 16.0 M - deny -.

    system of 16.8 M max deny-

    How can I fix?

    Thank you

    David

    Your paging file must be at least as big as your physical ram, or in your case specific at least 9 GB or larger.  The value of your swap 32 GB if you plan to use the AMM but I wouldn't use it AMM because Oracle does not support on Solaris.  Supported only for the ASM instance and not the databases.

  • ORA-04031 then that he was trying to import the schema to XE

    Hello. I have Linux Amazon 'micro instance' EC2 (Yes, virtual machine) which has 613 MB of memory. I installed Oracle XE 11.2.0.2 and now try to import the schema of 11.2 oracle server standard edition:
    Impdp system/pwd dumpfile = mydump schema myschema =

    But I got the following error:
    ...
    Object type SCHEMA_EXPORT/TABLE/TABLE processing
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    UDI-04031: operation has generated ORACLE 4031 error
    ORA-04031: unable to allocate 32 bytes of memory ('pool', ' SELECT job_id FROM v$ datapum... ") (', 'SQLA","tmp") shared

    Is - this 613 MB of RAM enough for execution of XE? Here is the output of the memory:

    SQL > show sga

    Total System Global Area 250523648 bytes
    Bytes of size 2225472 fixed
    239078080 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 5025792 bytes
    613 MB of RAM enough for execution of XE?

    The minimum recommended is 512 MB, so in theory it should be enough.

    Total System Global Area 250523648 bytes

    Which is less than 250 MB. With most of the facilities of Oracle, GR 11, 2, I'd rather have at least 512 MB for the SGA. But we must leave some room for the OS and PGA are an allowance separate memory for the instance as well. Are likely to shrink the PGA and give a little more room to SGA_TARGET or MEMORY_TARGET, depends on what has been tweeked, and which is still in the default settings.

    Take a look at the default value of the boot settings, in your alert log, find the last start, the lines between the "parameters of the system with default values:" and maybe a date stamp then, stick it in you, we could can help with suggestions to try.

  • Please help, data queue on the remote server

    Hello Experts,

    Kindly help, to learn how to roll up the data from the remote server. I need a detailed procedure to make settings on my local machine to connect to remote Oracle using SQL Server * MORE.

    I installed on my local machine which is 32-bit Oracle 11 g Release 2:+.

    SQL * more: Production of release 11.2.0.1.0 Fri Feb 8 12:02:30 2013
    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    Enter the user name: SYSTEM
    Enter the password:

    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - Production

    SQL >

    and on a remote server below is the version installed.

    Log in as: B_DB1user
    [email protected] password:
    Last login: Sat Feb 7 18:19:35 2013 10.10.167.8
    [B_DB1user@bamdb001 ~] $ sqlplus

    SQL * more: version 11.1.0.7.0 - Production Fri Feb 8 12:06:35 2013

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    Enter the user name: B_DB1user
    Enter the password:

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    With the partitioning, Real Application Clusters, OLAP, data mining
    and Real Application Testing options

    SQL >

    ----------------------------------------------------------------------------------------------------------------------------
    That's what I have in tnsnames.ora

    tnsnames.ora # Network Configuration file: E:\app\managerproj3\product\11.2.0\dbhome_5\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))


    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.10.167.8)
    )
    )

    ---------------------------------------------------------------------------------------------------------------------------------
    That's what I have in listener.ora


    listener.ora # Network Configuration file: E:\app\managerproj3\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    AUDITEUR1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.10.167.8)(PORT = 1521))
    )
    )

    ADR_BASE_LISTENER1 = E:\app\managerproj3

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = E:\app\managerproj3

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


    Database server: ORACLE
    HOSTNAME: BAMDB001
    IP address: 156.1.3.4


    and here is the script I tried data spool in the local computer using SQL * MORE

    set colsep,
    set pagesize 120
    Set trimspool on
    headsep off Set
    set linesize 1000

    coil D:\test\myfile.csv

    Select table_name, tablespace_name of all_tables;

    spool off

    It is effective on the local machine... Please help me to get the data from the remote server to the local computer?

    Kindly let me know if you need anything whatsoever.

    Thanks in advance

    Kind regards
    Bosch

    Is not more or less the same question you asked in {message identifier: = 10835497}?

    You must have a user to the remote database and an entry for the remote database in your tnsnames.ora file

    If you have just to coil of database of remote and local database didn't need to be involved:
    Edit your tnsnames.ora and add an entry with the remotedb, the information and you need to have the following information:

    Ip address or the name of the server (BAMDB001?)
    Name of the service (?)
    Port configured for this database. (??)

    Also, you must be sure that the connectivity of your local computer to a remote server is granted (without firewall block).
    Only when you have this information, you can connect to the remote database from your laptop.

    From the Unix server where you connect to the database, you can get the information to be inserted in your local tnsnames.ora by typing:

    tnsping dbname
    

    Of course, you need to replace dbname with the name of your database.
    Another way is to check the remote tnsnames.ora when logged in Unix:

    cat $ORACLE_HOME\network\admin\tnsnames.ora
    

    and check the configuration it.

    Kind regards.
    Al

  • VIP - ANALYZE Configuration Issues - Please help!

    Hello world

    First of all I ask you guys to Please HELP SOLVE ME THIS PROBLEM – thank you!

    I am installing grid Infrastructure Oracle 11 g 2 11.0.2.0.3 on Oracle Solaris 11.11 x 86 64 bit installed using Live Media on Oracle VirtualBox 4.2.6.

    After you have configured the nodes in the cluster, I ran the cluster verification utility that came out with 100% success.

    However, during root.sh run, I get the following error:

    /U01/app/11.2.0/grid/root.sh
    --------------------------------------------------
    CRS-4266: Vote or managed to replace the files
    # File group universal name Id disk STATE file
    -- ----- ----------------- --------- ---------
    1. online 4a3543261bc34fc9bf6e41b5d7fa04c8 (/ dev/rdsk/c8t2d0s1) [OCR]
    Located at 1 vote (s) disk.
    CRS-2672: attempt to start 'ora.asm' on 'sol1.
    CRS-2676: beginning of "ora.asm", the successful "sol1"
    CRS-2672: attempt to start ' ora. OCR.dg' on 'sol1.
    CRS-2676: beginning with ' ora. OCR.dg' on 'sol1' successful
    /U01/app/11.2.0/grid/bin/srvctl start applications sol1 - n... failed
    FirstNode configuration failed on line /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm 9196.
    /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

    I have re-run this command to see the real errors

    /U01/app/11.2.0/grid/bin/srvctl start applications sol1 - n
    ------------------------------------------------------------------------------------
    RPRC-1013: failed to start of ora.net1.network resources
    RPRC-1064: failed to start of ora.net1.network on node sol1 resources
    CRS-2674: beginning of "ora.net1.network", the "sol1' failed
    RPRC-1079: failed to start of ora.sol1.vip resources
    CRS-2674: beginning of "ora.net1.network", the "sol1' failed
    CRS-2632: there is no more servers to try to place the "ora.sol1.vip" resource on which will achieve its investment policy
    RPRC-1013: failed to start of ora.ons resources
    RPRC-1064: failed to start of ora.ons on node sol1 resources
    CRS-2674: beginning of "ora.net1.network", the "sol1' failed


    I ran the following commands to know the State of SAN and SCAN-headphones

    srvctl status scan
    --------------------------------
    VIP scan1 SCAN is enabled
    Scan1 VIP SCAN does not work
    VIP SCAN scan2 is enabled
    Scan2 VIP SCAN does not work
    SCAN VIP Scan3 is enabled
    Scan3 VIP SCAN does not work

    srvctl status scan_listener
    --------------------------------------------
    LISTENER_SCAN1 listener to SCAN is enabled
    SCAN of the earpiece that listener_scan1 is not running
    LISTENER_SCAN2 listener to SCAN is enabled
    SCAN of the earpiece that listener_scan2 is not running
    LISTENER_SCAN3 listener to SCAN is enabled
    SCAN of the earpiece that listener_scan3 is not running

    srvctl config scan_listener
    ---------------------------------------------
    LISTENER_SCAN1 listener SCAN exists. Port: TCP:1521
    LISTENER_SCAN2 listener SCAN exists. Port: TCP:1521
    LISTENER_SCAN3 listener SCAN exists. Port: TCP:1521


    Here is the content of my/etc/hosts and /etc/resolv.conf files

    cat/etc/hosts
    -----------------------------
    # Public
    192.168.56.101 sol1.localdomain loghost sol1
    192.168.56.102 sol2.localdomain sol2
    192.168.56.160 solfiler solfiler.localdomain

    # VIP
    192.168.56.111 sol1-vip sol1 - vip.localdomain
    192.168.56.112 sol2-vip sol2 - vip.localdomain

    # Private interconnection
    192.168.0.101 sol1-priv sol1 - priv.localdomain
    192.168.0.102 sol2-priv sol2 - priv.localdomain

    # Scan
    #192.168.56.201 ground-sweeping ground - scan.localdomain
    #192.168.56.202 ground-sweeping ground - scan.localdomain
    #192.168.56.203 ground-sweeping ground - scan.localdomain


    cat /etc/resolv.conf
    ------------------------------------
    #
    # AUTOMATICALLY generatedFROM_SMF_V1_
    #
    # ATTENTION: THIS FILE GENERATED FROM SMF DATA.
    # DO NOT EDIT THIS FILE. CHANGES WILL BE LOST.
    # See /etc/resolv.conf (4) for more details.

    Search localdomain
    nameserver 192.168.56.101
    nameserver 192.168.56.102
    nameserver 192.168.1.1


    Here are the details of the network

    dladm show-phys
    ----------------------------------
    MEDIA SPEED DUPLEX LINK
    Net1 Ethernet up to 1000 complete e1000g1
    NET2 Ethernet up to 1000 full e1000g2
    Net0 Ethernet up to 1000 complete e1000g0

    ipadm show-addr
    ---------------------------------
    ADDROBJ TYPE STATE ADDR
    127.0.0.1/8 ok static lo0/v4
    Net0/v4 dhcp ok 10.0.2.15/24
    Net1/addr static 192.168.56.101/24 ok
    NET2/addr static 192.168.0.101/24 ok
    OK static lo0/v6: 1/128
    Net0/v6 addrconf ok fe80::a00:27ff:fe5f:f484 / 10


    I did the nslookup on my name SCAN

    Nslookup ground-scan
    ----------------------------------
    Name: sol - scan.localdomain
    Address: 192.168.56.202
    Name: sol - scan.localdomain
    Address: 192.168.56.203
    Name: sol - scan.localdomain
    Address: 192.168.56.201

    I ran the following commands to see if the installation process correctly reads my SCANNING configuration

    srvctl stop scan_listener
    srvctl stop scan

    srvctl config scan

    -----------------------------
    SCAN name: ground-scan, network: 1/192.168.56.0/255.255.255.0/net1
    SCAN VIP name: scan1, IP: /sol-scan/192.168.56.203
    SCAN VIP name: scan2, IP: /sol-scan/192.168.56.201
    SCAN VIP name: scan3, IP: /sol-scan/192.168.56.202

    So it's good reading ANALYSIS information there is so no problem

    I tried to start listeners to SWEEP and ended up with the same mistakes

    srvctl start scan_listener
    ------------------------------------------
    RPRC-1079: could not start the ora of the resource. LISTENER_SCAN1. LSNR
    CRS-2674: beginning of "ora.net1.network", the "sol1' failed
    CRS-2632: there is no more servers to try to put the resources ' ora. LISTENER_SCAN1. LSNR' on which would meet its investment policy
    RPRC-1079: could not start the ora of the resource. LISTENER_SCAN2. LSNR
    CRS-2674: beginning of "ora.net1.network", the "sol1' failed
    CRS-2632: there is no more servers to try to put the resources ' ora. LISTENER_SCAN2. LSNR' on which would meet its investment policy
    RPRC-1079: could not start the ora of the resource. LISTENER_SCAN3. LSNR
    CRS-2674: beginning of "ora.net1.network", the "sol1' failed
    CRS-2632: there is no more servers to try to put the resources ' ora. LISTENER_SCAN3. LSNR' on which would meet its investment policy

    If it helps, I use automatic network default Solaris 11.11 management but I changed IP addresses of net1 and net2 manually to meet my network
    Requirements for the clusterware.

    I followed all the steps of the system requirements for installing under solaris 11.

    After checking everything I could have as detailed above, I'm now helpless as to where things go wrong

    What is automatic 11.11 Solaris network management that does not allow the creation of addresses IP SCAN VIP?

    Once again I ASK YOU GUYS to Please HELP me THIS PROBLEM FIX.

    Concerning
    Terry.

    Hello

    the problem is the host name of the server is resolved is on the 10.X.X.X network.
    For example, the cluster requires the public network to be on this network. And the error you get, because this network is on DHCP.

    If you have the following options that you can try:
    a.) change the server to have the host name to resolve to the 192.X network
    (b) change the order of the network adapters
    (c.) remove the network 10.X.X.X at the moment of installation

    Concerning
    Sebastian

  • ORA-04031: unable to allocate 4120 bytes of shared memory

    Guys,

    OS = RHEL-3, 64-bit
    10.2.0.5
    node 2 CARS db

    We continuously reeving error in alert log file below.

    ORA-00603: ORACLE Server Session concluded with fatal error
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 4120 bytes of shared memory ('shared pool', ' select name, $ online, content... ") (","Typecheck","kgghteInit")
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 32 bytes of shared memory ('shared pool', 'select count (*) from sys.job... "," sql area', 'tmp')
    ORA-04031: unable to allocate 4120 bytes of shared memory ('shared pool', "select / * + index (idl_ub1$ i_...","Typecheck","kgghteInit") ")
    -etc...

    shared_pool_size = 608 M
    BMG = 9 GB

    Parameter file-

    process = 2000
    sessions = 2205
    SGA_MAX_SIZE = 26843545600
    shared_pool_size = 637534208
    LARGE_POOL_SIZE = 0
    JAVA_POOL_SIZE = 117440512
    STREAMS_POOL_SIZE = 536870912
    filesystemio_options = SETALL
    SGA_TARGET = 0
    control_files = STGRACDB01/STGDB/control/control01.ctl, STGRACDB02/STGDB/control/control02.ctl, /STGRACDB03/STGDB/control/control03.ctl
    control_file_record_keep_time = 14
    DB_BLOCK_SIZE = 8192
    __db_cache_size = 7516192768
    db_cache_size = 7516192768
    db_writer_processes = 2
    compatible = 10.2.0.5
    Log_archive_dest_1 = LOCATION = / STGRACDB04/STGDB/archives
    log_archive_format = %t_%s_%R.dbf
    log_buffer = 30455808
    DB_FILES = 800
    db_file_multiblock_read_count = 16
    cluster_database = TRUE
    cluster_database_instances = 2
    thread = 2
    instance_number = 2
    UNDO_MANAGEMENT = AUTO
    undo_tablespace = UNDOTBS2
    UNDO_RETENTION = 900
    Remote_login_passwordfile = EXCLUSIVE lock
    instance_name = STGDB2
    noms_service = STGDB, SYS$ STRMADMIN.CAPTURE_DEVTRAVST1_QUEUE.STGDB.SAPIAS.COM, STGDB.SAPIAS.COM
    dispatchers = (PROTOCOL = TCP) (SERVICE = STGDBXDB)
    session_cached_cursors = 70
    JOB_QUEUE_PROCESSES = 10
    usequeue_interval = 1
    CURSOR_SHARING = SIMILAR
    hash_area_size = 524288
    background_dump_dest = / app/oracle/admin/STGDB/bdump
    user_dump_dest = / app/oracle/admin/STGDB/udump
    core_dump_dest = / app/oracle/admin/STGDB/cdump
    audit_file_dest = / app/oracle/admin/STGDB/adump
    session_max_open_files = 20
    Open_links = 150
    open_links_per_instance = 150
    optimizer_features_enable = 10.2.0.4
    sort_area_size = 0
    db_name = STGDB
    db_unique_name = STGDB
    open_cursors = 300
    optimizer_mode = CHOOSE
    optimizercost_based_transformation = OFF
    pga_aggregate_target = 996147200
    PGAmax_size = 1288490188
    optimizerjoin_elimination_enabled = TRUE
    optimizer_secure_view_merging = FALSE


    -Can someone help me on this issue? I think that this is not a simple matter to ignore and his Dungeon to throw in alertlog file.

    Thank you
    Hari

    Why not just increase the size of your shared_pool_size parameter? It is not very big at the moment, maybe make 1 G.
    And while you're at it, you need to sort the PGA. You have the overall goal set at less than 1 G, and at the same time you have set the limit of session pgamax_size to more than 1 G, which is impossible.

  • How to display the output of PL/SQL and difficulty package below error (please help)

    -PACKAGE SPECIFICATION AND met with success, but I see no way out, an error is also here... Please help. How do I solve this problem
    -with the code

    CREATE OR REPLACE PACKAGE package_variables
    -Declare the components of a package.
    Established PROCEDURE (VARCHAR2 value);
    Public FUNCTION get RETURN VARCHAR2;
    END package_variables;
    /



    CREATE OR REPLACE PACKAGE BODY package_variables
    -Declare the package-scoped variable.
    variable VARCHAR2 (20): = "initial value";
    -Define the function
    Get function RETURN VARCHAR2 IS
    BEGIN
    RETURN variable;
    END get;
    -Define the procedure.
    PROCEDURE set(value VARCHAR2) IS
    BEGIN
    variable: = value;
    The END value;
    END package_variables;
    /



    Result VARIABLE VARCHAR2 (20)
    CALL package_variables.get () IN: result;
    SELECT: result AS result FROM dual;


    RUN package_variables.set ("new value '");
    CALL package_variables.get () IN: result;
    SELECT: result AS result FROM dual;

    /*

    OUTPUT


    PACKAGE compiled package_variables.
    PACKAGE compiled package_variables BODY.

    Error at startup on line 2 of the command:
    CALL package_variables.get () IN: results
    Error report:
    SQL error: ORA-01008: not all variables
    01008 00000 - "not all variables.
    * Cause:
    * Action:
    RESULTS
    --------------------------------


    1 selected lines

    anonymous block filled

    Error at startup on line 2 of the command:
    CALL package_variables.get () IN: results
    Error report:
    SQL error: ORA-01008: not all variables
    01008 00000 - "not all variables.
    * Cause:
    * Action:
    RESULTS
    --------------------------------


    1 selected lines

    */

    The package name is package_variables (note the 's'. Plural.) But using package_variable (in the singular) in your call.
    Also select in as a SQL statement seems to be not valid. You encapsulate a begin - end around her block.

    SQL> begin
      2  select package_variables.get into :outcome from dual;
      3  end;
      4  /
    
    PL/SQL procedure successfully completed
    outcome
    ---------
    Initial Value
    

Maybe you are looking for

  • question aunetsend/reception

    Could someone give me some advice how to achieve the following objectives please... I intend to mix, record and stream live to air, shows in our radio station.91.1 tribefm...  :-)from the garden to the workshop. using logic. We currently achieve this

  • Hi, can you help me?

    I don't bother I'm sorry this is my message and FaceTime is corrupted and can not enter. If you need it and you send my film

  • Smartphone blackBerry 8700 c SIM AddressBook in memory of BB

    Hi all I hope someone can help, I am frustrated no end.  I followed the procedure to move my address book to the SIM card to the address book of BB.  The progress bar appears as if the AddressBook has been transferred.  When I highlight the address b

  • BlackBerry smartphones can not see you tube and sound problems

    I can show any fron youtube in my 8900 video., always give an error.

  • Images of masking of blackBerry Smartphones

    I look at a some photos on my blackberry and accidentally by selecting the option 'Hide' and the image is gone and I don't know how to "unmask" the picture so I can see it again. Does anyone know how to post a photo?