SQL / ? Alerts

Hello,
I have a alert coming periodically in the SCOM console:
Database SybariEnterpriseManager in SQL Server instance MSSQLSERVER on computer voforefrontcs1.ad.medctr.ucla.edu is offline/recovery pending/suspect/emergency
from the Health Explorer I have:
Date and Time: 4/2/2010 8:27:10 AM
Property Name Property Value
master-State ONLINE
tempdb-State ONLINE
model-State ONLINE
msdb-State ONLINE
SybariEnterpriseManager-State SUSPECT
ReportServer-State ONLINE
ReportServerTempDB-State ONLINE
OnePoint-State ONLINE
SystemCenterReporting-State ONLINE
SybariEnterpriseManagerReports-State ONLINE
or
4/2/2010 6:27:10 AM
Property Name
Property Value
master-State
ONLINE
tempdb-State
ONLINE
model-State
ONLINE
msdb-State
ONLINE
SybariEnterpriseManager-State
ONLINE
ReportServer-State
ONLINE
ReportServerTempDB-State
ONLINE
OnePoint-State
ONLINE
SystemCenterReporting-State
ONLINE
SybariEnterpriseManagerReports-State
RECOVERING
If I check the SQL log I could not find any trace iof these evenst where should I look?
Thanks,
Dom
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 Support

Thanks
for info
Regards
Enis,

Similar Messages

  • SQL alerts not being sent

    I have set up an alert in SQL 2008 R2 to send an email if the tempdb encounters error 1105 (primary file group full) or 9002 (log full). I specified the database as "tempdb". Even though the condition is occurring, the alert is not being triggered
    unless I change the database to "all databases". When it's set to "tempdb" the email is not sent, and the history tab shows 0 occurrences even though I can see them in the SQL Server Logs.
    How to I get these alerts to work with the database set to "tempdb"?
    TIA
    Chuck

    I see the error message in the error log showing "tempdb" as the DB who's primary file group filled.
    Error: 1105, Severity: 17, State: 2.
    Could not allocate space for object 'dbo.#mytable' in database 'tempdb' because the 'PRIMARY' filegroup is full.
    I think I've also figured out whats happening. Whether or not the alert fires is based on the session's database context,
    not the database who's primary file group filled. :( On a test server I ran the following...
    -- prior to running this, I set tempdb's primary file
    -- group to 10m and disabled autogrowth
    use master
    set nocount on
    create table #mytable (x char(8000))
    while 1 = 1
    insert into #mytable values ('x')
    If I set the alert's database to "tempdb" and run the code, the alert does not fire. If I set the alert's database to "master", it does fire.
    This is not the behavior described in BOL :(.
    Chuck

  • Creating an Appset Alert via sql or service

    I am looking for a way for our IT department to send me an message / alert when an appset goes off line and comes back on line after scheduled over night processing finishes. Does anyone have any ideas on how to accomplish this?  Whether it be through SQL Alert or Service Alert.

    Hi,
    This status of the Application set is stored in a SQL table indicating whether it is online or offline. You could create a trigger on the change of the value or have a service check this value and depending on that send out a mail.
    Hope this helps.
    Santosh

  • Trying to get a Trigger and Alert to work

    So im trying to get a trigger to work with an alert and the Alert seems to be right and the trigger complies which seems right to me, however the instruction that I have in my book does not produce the same output that I get from my Update.
    Here is the deal. I am to log into sql * with a default account as well as login as "SYSTEM"
    the trigger should invoke the Alert and output a message to re-order some more product and the status should = 0 since there is no wait time. However I don't get a "Message" from the Alert and the status = 1 which indicates timeout. So if you can take a look at my code and let me know what I did wrong or how to "Connect" the two that would be great.
    Trigger I created.
    CREATE OR REPLACE TRIGGER order_replace_trg
    AFtER UPDATE OF stock on bb_product
    FOR EACH ROW
    WHEN (OLD.stock = 24 AND NEW.stock = -2)
    DECLARE
    stock NUMBER(5,1);
    idproduct NUMBER(2);
    lv_msg_txt VARCHAR2(25);
    lv_status_num NUMBER(1);
    reorder NUMBER(3);
    BEGIN
    IF stock <> 24 AND reorder = 25 THEN
    lv_msg_txt := 'Product 4 Reorder Time!';
    DBMS_OUTPUT.PUT_LINE(lv_msg_txt);
    ELSE
    lv_status_num := 0;
    DBMS_OUTPUT.PUT_LINE(lv_status_num);
    END IF;
    END;
    The Alert:
    BEGIN
    DBMS_ALERT.REGISTER('reorder');
    END;
    DECLARE
    lv_msg_txt VARCHAR2(25);
    lv_status_num NUMBER(1);
    BEGIN
    DBMS_ALERT.WAITONE('reorder', lv_msg_txt, lv_status_num, 120);
    DBMS_OUTPUT.PUT_LINE('Alert: ' ||lv_msg_txt);
    DBMS_OUTPUT.PUT_LINE('Status: ' ||lv_status_num);
    END;
    Here is the block I need to run to test the trigger and alert.
    UPDATE bb_product
    SET stock = stock -2
    WHERE idproduct = 4;
    COMMIT;
    The message I should get is:
    Alert: Product 4 Reorder Time!
    Status: 0
    PL/SQL procedure successfully completed.
    This is what I get.
    SQL> /
    Alert:
    Status: 1
    PL/SQL procedure successfully completed.
    Thanks for your help!
    Mac

    Right. Register says "I'm interested in getting alerted to some particular event", Waitone says "I'm waiting until some event happens". Signal is the key thing that indicates that a particular event happened.
    As for your trigger, a couple of issues
    - I don't know why you're calling DBMS_OUTPUT. I'm guessing that you probably want to send a message along with your alert that the receiver gets and displays, not that you want to print a message to the window from inside the trigger.
    - You're using the local variables stock and reorder in your IF statement but you never initialize them. I'm guessing that you would want to eliminate those local variables and just use :new.stock and :new.reorder (assuming that REORDER is a column in the table).
    - Your WHEN clause doesn't seem to make sense. It's telling the trigger to fire only if you update stock from 24 to -2, which doesn't make sense. I'm not sure you would even need a WHEN clause here.
    Justin

  • How to refere profile value in Oracle alert's

    Hi ,
    I am working on Oracle alert;s and business want's to modify Blanket notification based on no of days.And this day they want to define under profile and they want to refere this profile in oracle SQL Alert's . So business can modify any time profile.
    Looking for help Urgent.
    Thanks
    Raj

    Solved

  • Starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact

    Hi Guys!
    Thanks for your advises. I still working toward a resolution.
    But I encountered another issue from Enterp Manager :
    ERROR : Please correct the following error: Connection string must be specified.
    My connection has this format:
    //using connection string attributes to connect to Oracle Database
      con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle";
      con.Open();
      Console.WriteLine("Connected to Oracle" + con.ServerVersion);
    Please tell me what is wrong here. Thanks. Dan.
    Hi all !
    I need help please for resolving the following :
    Problem:
    Im having frequent disconnection after abnormal shutdown due to power failure.
    starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
    Im on Laptop running Linux Centos 6.3 Host.
    and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
    When attempting login from the Oracle Enterprise Manager Database Control
    I got  Error: "Your username and/or password are invalid."
    The alert.log is at the bottom
    [test@localhost ~]$ xhost +
    access control disabled, clients can connect from any host
    [test@localhost ~]$
    [test@localhost ~]$ su - root
    Password:
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ export ORACLE_SID=db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/db_1
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_BASE
    /u01/app/oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_SID
    db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-DEC-2013 12:23:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "db11gr2" has 1 instance(s).
      Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$
    [oracle@localhost ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............... started.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL>
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [4194], [: no
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    ERROR at line 1:
    ORA-03135: connection lost contact
    Process ID: 8973
    Session ID: 1 Serial number: 5
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> select STATUS, DATABASE_STATUS from v$instance;
    STATUS       DATABASE_STATUS
    OPEN         ACTIVE
    SQL>
    SQL> SELECT * FROM v$instance;
    ERROR:
    ORA-03114: not connected to ORACLE
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> SELECT * FROM v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION           STARTUP_T STATUS       PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS     SHU DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO
                  1 db11gr2
    localhost.localdomain
    11.2.0.1.0        04-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL>
    alert log file
    [oracle@localhost ~]$
    [oracle@localhost ~]$ adrci
    ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ADR base = "/u01/app/oracle"
    adrci> set editor emacs
    adrci> show alert
    Choose the alert log from the following homes to view:
    1: diag/rdbms/unknown/DB11G
    2: diag/rdbms/db11gr2/db11gr2
    3: diag/tnslsnr/localhost/listener
    Q: to quit
    Please select option: 2
    *** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x1d42dd]
    /lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
    /lib/ld-linux.so.2[0x331f8a]
    /lib/ld-linux.so.2[0x33215a]
    /lib/ld-linux.so.2[0x32e3ce]
    /lib/libc.so.6[0x272550]
    /lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
    /lib/libdl.so.2[0x110e08]
    /lib/ld-linux.so.2[0x331e66]
    /lib/libdl.so.2[0x1112cc]
    /lib/libdl.so.2(dlsym+0x63)[0x110d93]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
    [0x3bb440]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
    adrci[0x8048c5b]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
    adrci[0x8048aa5]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
    adrci[0x8048811]
    ======= Memory map: ========
    00110000-00112000 r-xp 00000000 08:03 5925240    /lib/libdl-2.5.so
    00112000-00113000 r-xp 00001000 08:03 5925240    /lib/libdl-2.5.so
    00113000-00114000 rwxp 00002000 08:03 5925240    /lib/libdl-2.5.so
    00114000-00139000 r-xp 00000000 08:03 5925284    /lib/libm-2.5.so
    00139000-0013a000 r-xp 00024000 08:03 5925284    /lib/libm-2.5.so
    0013a000-0013b000 rwxp 00025000 08:03 5925284    /lib/libm-2.5.so
    0013b000-0014f000 r-xp 00000000 08:03 5925246    /lib/libpthread-2.5.so
    0014f000-00150000 r-xp 00013000 08:03 5925246    /lib/libpthread-2.5.so
    00150000-00151000 rwxp 00014000 08:03 5925246    /lib/libpthread-2.5.so
    00151000-00153000 rwxp 00151000 00:00 0
    00153000-00166000 r-xp 00000000 08:03 5925301    /lib/libnsl-2.5.so
    00166000-00167000 r-xp 00012000 08:03 5925301    /lib/libnsl-2.5.so
    00167000-00168000 rwxp 00013000 08:03 5925301    /lib/libnsl-2.5.so
    00168000-0016a000 rwxp 00168000 00:00 0
    0016a000-002a9000 r-xp 00000000 08:03 5925233    /lib/libc-2.5.so
    002a9000-002aa000 --xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002aa000-002ac000 r-xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002ac000-002ad000 rwxp 00141000 08:03 5925233    /lib/libc-2.5.so
    002ad000-002b0000 rwxp 002ad000 00:00 0
    002b0000-002b1000 r-xp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b1000-002b2000 rwxp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b2000-002bb000 r-xp 00000000 08:03 5925256    /lib/libnss_files-2.5.so
    002bb000-002bc000 r-xp 00008000 08:03 5925256    /lib/libnss_files-2.5.so
    002bc000-002bd000 rwxp 00009000 08:03 5925256    /lib/libnss_files-2.5.so
    002bd000-002c8000 r-xp 00000000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    002c8000-002c9000 rwxp 0000a000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    00324000-0033e000 r-xp 00000000 08:03 5925219    /lib/ld-2.5.so
    0033e000-0033f000 r-xp 00019000 08:03 5925219    /lib/ld-2.5.so
    0033f000-00340000 rwxp 0001a000 08:03 5925219    /lib/ld-2.5.so
    003bb000-003bc000 r-xp 003bb000 00:00 0          [vdso]
    003bc000-01fc3000 r-xp 00000000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    01fc3000-020a7000 rwxp 01c07000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    020a7000-020c1000 rwxp 020a7000 00:00 0
    025b1000-027ce000 r-xp 00000000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027ce000-027fc000 rwxp 0021d000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027fc000-027fe000 rwxp 027fc000 00:00 0
    08048000-08049000 r-xp 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    08049000-0804a000 rw-p 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    09d62000-09e0d000 rw-p 09d62000 00:00 0          [heap]
    b7e00000-b7e21000 rw-p b7e00000 00:00 0
    b7e21000-b7f00000 ---p b7e21000 00:00 0
    b7f68000-b7f90000 rw-p b7f68000 00:00 0
    bfc54000-bfc6d000 rwxp bffe5000 00:00 0          [stack]
    bfc6d000-bfc6e000 rw-p bfffe000 00:00 0
    starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
    Im on Laptop running Linux Centos 6.3 Host.
    and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
    Im having frequent disconnection after abnormal shutdown due to power failure.
    When attempting login from the Oracle Enterprise Manager Database Control
    I got  Error: "Your username and/or password are invalid."
    [test@localhost ~]$ xhost +
    access control disabled, clients can connect from any host
    [test@localhost ~]$
    [test@localhost ~]$ su - root
    Password:
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ export ORACLE_SID=db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/db_1
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_BASE
    /u01/app/oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_SID
    db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-DEC-2013 12:23:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "db11gr2" has 1 instance(s).
      Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$
    [oracle@localhost ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............... started.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL>
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [4194], [: no
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    ERROR at line 1:
    ORA-03135: connection lost contact
    Process ID: 8973
    Session ID: 1 Serial number: 5
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> select STATUS, DATABASE_STATUS from v$instance;
    STATUS       DATABASE_STATUS
    OPEN         ACTIVE
    SQL>
    SQL> SELECT * FROM v$instance;
    ERROR:
    ORA-03114: not connected to ORACLE
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> SELECT * FROM v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION           STARTUP_T STATUS       PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS     SHU DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO
                  1 db11gr2
    localhost.localdomain
    11.2.0.1.0        04-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL>
    alert log file
    [oracle@localhost ~]$
    [oracle@localhost ~]$ adrci
    ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ADR base = "/u01/app/oracle"
    adrci> set editor emacs
    adrci> show alert
    Choose the alert log from the following homes to view:
    1: diag/rdbms/unknown/DB11G
    2: diag/rdbms/db11gr2/db11gr2
    3: diag/tnslsnr/localhost/listener
    Q: to quit
    Please select option: 2
    *** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x1d42dd]
    /lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
    /lib/ld-linux.so.2[0x331f8a]
    /lib/ld-linux.so.2[0x33215a]
    /lib/ld-linux.so.2[0x32e3ce]
    /lib/libc.so.6[0x272550]
    /lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
    /lib/libdl.so.2[0x110e08]
    /lib/ld-linux.so.2[0x331e66]
    /lib/libdl.so.2[0x1112cc]
    /lib/libdl.so.2(dlsym+0x63)[0x110d93]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
    [0x3bb440]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
    adrci[0x8048c5b]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
    adrci[0x8048aa5]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
    adrci[0x8048811]
    ======= Memory map: ========
    00110000-00112000 r-xp 00000000 08:03 5925240    /lib/libdl-2.5.so
    00112000-00113000 r-xp 00001000 08:03 5925240    /lib/libdl-2.5.so
    00113000-00114000 rwxp 00002000 08:03 5925240    /lib/libdl-2.5.so
    00114000-00139000 r-xp 00000000 08:03 5925284    /lib/libm-2.5.so
    00139000-0013a000 r-xp 00024000 08:03 5925284    /lib/libm-2.5.so
    0013a000-0013b000 rwxp 00025000 08:03 5925284    /lib/libm-2.5.so
    0013b000-0014f000 r-xp 00000000 08:03 5925246    /lib/libpthread-2.5.so
    0014f000-00150000 r-xp 00013000 08:03 5925246    /lib/libpthread-2.5.so
    00150000-00151000 rwxp 00014000 08:03 5925246    /lib/libpthread-2.5.so
    00151000-00153000 rwxp 00151000 00:00 0
    00153000-00166000 r-xp 00000000 08:03 5925301    /lib/libnsl-2.5.so
    00166000-00167000 r-xp 00012000 08:03 5925301    /lib/libnsl-2.5.so
    00167000-00168000 rwxp 00013000 08:03 5925301    /lib/libnsl-2.5.so
    00168000-0016a000 rwxp 00168000 00:00 0
    0016a000-002a9000 r-xp 00000000 08:03 5925233    /lib/libc-2.5.so
    002a9000-002aa000 --xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002aa000-002ac000 r-xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002ac000-002ad000 rwxp 00141000 08:03 5925233    /lib/libc-2.5.so
    002ad000-002b0000 rwxp 002ad000 00:00 0
    002b0000-002b1000 r-xp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b1000-002b2000 rwxp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b2000-002bb000 r-xp 00000000 08:03 5925256    /lib/libnss_files-2.5.so
    002bb000-002bc000 r-xp 00008000 08:03 5925256    /lib/libnss_files-2.5.so
    002bc000-002bd000 rwxp 00009000 08:03 5925256    /lib/libnss_files-2.5.so
    002bd000-002c8000 r-xp 00000000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    002c8000-002c9000 rwxp 0000a000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    00324000-0033e000 r-xp 00000000 08:03 5925219    /lib/ld-2.5.so
    0033e000-0033f000 r-xp 00019000 08:03 5925219    /lib/ld-2.5.so
    0033f000-00340000 rwxp 0001a000 08:03 5925219    /lib/ld-2.5.so
    003bb000-003bc000 r-xp 003bb000 00:00 0          [vdso]
    003bc000-01fc3000 r-xp 00000000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    01fc3000-020a7000 rwxp 01c07000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    020a7000-020c1000 rwxp 020a7000 00:00 0
    025b1000-027ce000 r-xp 00000000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027ce000-027fc000 rwxp 0021d000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027fc000-027fe000 rwxp 027fc000 00:00 0
    08048000-08049000 r-xp 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    08049000-0804a000 rw-p 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    09d62000-09e0d000 rw-p 09d62000 00:00 0          [heap]
    b7e00000-b7e21000 rw-p b7e00000 00:00 0
    b7e21000-b7f00000 ---p b7e21000 00:00 0
    b7f68000-b7f90000 rw-p b7f68000 00:00 0
    bfc54000-bfc6d000 rwxp bffe5000 00:00 0          [stack]
    bfc6d000-bfc6e000 rw-p bfffe000 00:00 0

    Hi,
    Please check Oracle support id : Troubleshooting ORA-3135 Connection Lost Contact (Doc ID 787354.1)

  • Calling a DLL from ORACLE: problem of time!!!

    Hi all! Now I'm going to explain this strange subject. I've made a DLL in Delphi that imports a file from a server. Then I've created an Oracle 9iR2 procedure that makes a call to this DLL. Someone can explain me why the first call to this DLL is slower than the successive calls (20 seconds the first, 5 seconds the other)?
    Thank you very much!

    Yes! It's exact! After post this message I've casually find this (from Oracle Application Developer's Guide - Fundamentals):
    How the Database Server Calls External C Procedures
    To call an external C procedure, PL/SQL must find the path of the appropriate DLL.
    The PL/SQL engine retrieves the path from the data dictionary, based on the library alias from the procedure declaration’s AS LANGUAGE clause. Next, PL/SQL alerts a Listener process which, in turn, spawns a session-specific
    agent. By default, this agent is named extproc, although you can specify other names in the listener.ora file. The Listener hands over the connection to the agent, and PL/SQL passes to the agent the name of the DLL, the name of the external procedure, and any parameters.
    Then, the agent loads the DLL and runs the external procedure. Also, the agent handles service calls (such as raising an exception) and callbacks to the Oracle
    server. Finally, the agent passes to PL/SQL any values returned by the external procedure.
    After the external procedure completes, the agent remains active throughout your
    Oracle session; when you log off, the agent is killed. Consequently, you incur the
    cost of launching the agent only once, no matter how many calls you make. Still, you should call an external procedure only when the computational benefits
    outweigh the cost.
    Thank you very much!

  • Ora-01092

    Hi,
    DB Version :10.2.0.3.0
    OS :Windows Vista
    I am getting error ORA_01092, even thouh I shutdown the database with "shutdown immediate mode". When I am trying start the database SGA allocation is happening and database is getting mounted and Giving the mentioned error. I had checked the alert log file and trace file, Looks problem with background processes.
    I cannot send/attach the alert log,trace file since it is in my laptop and does not have net connection.
    Thnaks,
    Tippu

    Hi ,
    Please find the alert log information ..
    DB version :10.2.0.3.0
    OS :Windows Vista (32 bit)
    Error when starting the DB :
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.2.0.3.0 - Production on Mon Dec 21 23:31:37 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    SQL> connect sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 293601280 bytes
    Fixed Size 1290208 bytes
    Variable Size 276824096 bytes
    Database Buffers 8388608 bytes
    Redo Buffers 7098368 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>
    alert log file
    Instance terminated by USER, pid = 4960
    ORA-1092 signalled during: alter database open...
    Dump file c:\oracle\product\10.2.0\admin\acumen\bdump\alert_acumen.log
    Mon Dec 21 20:54:01 2009
    ORACLE V10.2.0.3.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V6.0 Service Pack 2
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1907M/3069M, Ph+PgF:5297M/6340M, VA:1917M/2047M
    Mon Dec 21 20:54:01 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 268435456
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 293601280
    control_files = C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 8388608
    compatible = 10.2.0.3.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = C:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=acumenXDB)
    job_queue_processes = 10
    audit_file_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\ADUMP
    background_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\BDUMP
    user_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\UDUMP
    core_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\CDUMP
    db_name = acumen
    open_cursors = 300
    pga_aggregate_target = 96468992
    Mon Dec 21 20:54:02 2009
    WARNING:Shared I/O Pool created with size=0 set size=0
    PMON started with pid=2, OS id=2652
    PSP0 started with pid=3, OS id=2700
    MMAN started with pid=4, OS id=2704
    DBW0 started with pid=5, OS id=2708
    LGWR started with pid=6, OS id=2720
    CKPT started with pid=7, OS id=2724
    SMON started with pid=8, OS id=2736
    RECO started with pid=9, OS id=2740
    CJQ0 started with pid=10, OS id=2780
    MMON started with pid=11, OS id=2816
    MMNL started with pid=12, OS id=2880
    Mon Dec 21 20:54:02 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Mon Dec 21 20:54:03 2009
    alter database mount exclusive
    Mon Dec 21 20:54:07 2009
    Setting recovery target incarnation to 2
    Mon Dec 21 20:54:07 2009
    Successful mount of redo thread 1, with mount id 2842687595
    Mon Dec 21 20:54:07 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Mon Dec 21 20:54:07 2009
    alter database open
    Mon Dec 21 20:54:07 2009
    Beginning crash recovery of 1 threads
    parallel recovery started with 2 processes
    Mon Dec 21 20:54:07 2009
    Started redo scan
    Mon Dec 21 20:54:08 2009
    Completed redo scan
    19 redo blocks read, 15 data blocks need recovery
    Mon Dec 21 20:54:08 2009
    Started redo application at
    Thread 1: logseq 72, block 63
    Mon Dec 21 20:54:08 2009
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 72 Reading mem 0
    Mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\REDO02.LOG
    Mon Dec 21 20:54:08 2009
    Completed redo application
    Mon Dec 21 20:54:08 2009
    Completed crash recovery at
    Thread 1: logseq 72, block 82, scn 1994102
    15 data blocks read, 15 data blocks written, 19 redo blocks read
    Mon Dec 21 20:54:08 2009
    Thread 1 advanced to log sequence 73
    Thread 1 opened at log sequence 73
    Current log# 3 seq# 73 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\REDO03.LOG
    Successful open of redo thread 1
    Mon Dec 21 20:54:08 2009
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Dec 21 20:54:08 2009
    SMON: enabling cache recovery
    Mon Dec 21 20:54:09 2009
    Successfully onlined Undo Tablespace 1.
    Mon Dec 21 20:54:09 2009
    SMON: enabling tx recovery
    Mon Dec 21 20:54:09 2009
    Database Characterset is WE8MSWIN1252
    replication_dependency_tracking turned off (no async multimaster replication found)
    Mon Dec 21 20:54:11 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_3036.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8F49990], [], [], [], [], [], []
    Mon Dec 21 20:54:14 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_3036.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8F49990], [], [], [], [], [], []
    Mon Dec 21 20:54:16 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_3036.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8F49990], [], [], [], [], [], []
    Starting background process QMNC
    QMNC started with pid=18, OS id=2452
    Mon Dec 21 20:54:17 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition-update_aqs_instance, aborting txn
    Mon Dec 21 20:54:18 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_3036.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8FC3E90], [], [], [], [], [], []
    Mon Dec 21 20:54:20 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_3036.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8FE936C], [], [], [], [], [], []
    Mon Dec 21 20:54:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_3036.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8FE936C], [], [], [], [], [], []
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Mon Dec 21 20:54:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_dbw0_2708.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_p000_3600.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_pmon_2652.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_p001_3604.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:25 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_reco_2740.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:25 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_smon_2736.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:25 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_ckpt_2724.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:25 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_lgwr_2720.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:25 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_mman_2704.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 20:54:26 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_psp0_2700.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Instance terminated by USER, pid = 3036
    ORA-1092 signalled during: alter database open...
    Dump file c:\oracle\product\10.2.0\admin\acumen\bdump\alert_acumen.log
    Mon Dec 21 22:40:21 2009
    ORACLE V10.2.0.3.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V6.0 Service Pack 2
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1894M/3069M, Ph+PgF:5285M/6340M, VA:1917M/2047M
    Mon Dec 21 22:40:21 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 268435456
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 293601280
    control_files = C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 8388608
    compatible = 10.2.0.3.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = C:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=acumenXDB)
    job_queue_processes = 10
    audit_file_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\ADUMP
    background_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\BDUMP
    user_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\UDUMP
    core_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ACUMEN\CDUMP
    db_name = acumen
    open_cursors = 300
    pga_aggregate_target = 96468992
    Mon Dec 21 22:40:22 2009
    WARNING:Shared I/O Pool created with size=0 set size=0
    PMON started with pid=2, OS id=2752
    PSP0 started with pid=3, OS id=2816
    MMAN started with pid=4, OS id=2824
    DBW0 started with pid=5, OS id=2836
    LGWR started with pid=6, OS id=2864
    CKPT started with pid=7, OS id=2880
    SMON started with pid=8, OS id=2884
    RECO started with pid=9, OS id=2900
    CJQ0 started with pid=10, OS id=2912
    MMON started with pid=11, OS id=2916
    Mon Dec 21 22:40:23 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=2920
    Mon Dec 21 22:40:23 2009
    starting up 1 shared server(s) ...
    Mon Dec 21 22:40:23 2009
    alter database mount exclusive
    Mon Dec 21 22:40:27 2009
    Setting recovery target incarnation to 2
    Mon Dec 21 22:40:28 2009
    Successful mount of redo thread 1, with mount id 2842735447
    Mon Dec 21 22:40:28 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Mon Dec 21 22:40:28 2009
    alter database open
    Mon Dec 21 22:40:28 2009
    Beginning crash recovery of 1 threads
    parallel recovery started with 2 processes
    Mon Dec 21 22:40:28 2009
    Started redo scan
    Mon Dec 21 22:40:28 2009
    Completed redo scan
    48 redo blocks read, 19 data blocks need recovery
    Mon Dec 21 22:40:28 2009
    Started redo application at
    Thread 1: logseq 73, block 32
    Mon Dec 21 22:40:28 2009
    Recovery of Online Redo Log: Thread 1 Group 3 Seq 73 Reading mem 0
    Mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\REDO03.LOG
    Mon Dec 21 22:40:28 2009
    Completed redo application
    Mon Dec 21 22:40:29 2009
    Completed crash recovery at
    Thread 1: logseq 73, block 80, scn 2014191
    19 data blocks read, 19 data blocks written, 48 redo blocks read
    Mon Dec 21 22:40:29 2009
    Thread 1 advanced to log sequence 74
    Thread 1 opened at log sequence 74
    Current log# 1 seq# 74 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ACUMEN\REDO01.LOG
    Successful open of redo thread 1
    Mon Dec 21 22:40:29 2009
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Dec 21 22:40:29 2009
    SMON: enabling cache recovery
    Mon Dec 21 22:40:30 2009
    Successfully onlined Undo Tablespace 1.
    Mon Dec 21 22:40:30 2009
    SMON: enabling tx recovery
    Mon Dec 21 22:40:30 2009
    Database Characterset is WE8MSWIN1252
    replication_dependency_tracking turned off (no async multimaster replication found)
    Mon Dec 21 22:40:32 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_2968.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8F39990], [], [], [], [], [], []
    Mon Dec 21 22:40:35 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_2968.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8F39990], [], [], [], [], [], []
    Mon Dec 21 22:40:36 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_2968.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8F39990], [], [], [], [], [], []
    Starting background process QMNC
    QMNC started with pid=18, OS id=3868
    Mon Dec 21 22:40:37 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition-update_aqs_instance, aborting txn
    Mon Dec 21 22:40:38 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_2968.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8FB3E90], [], [], [], [], [], []
    Mon Dec 21 22:40:39 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_2968.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8FD9188], [], [], [], [], [], []
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\udump\acumen_ora_2968.trc:
    ORA-00600: internal error code, arguments: [kksfbc-reparse-infinite-loop], [0x8FD9188], [], [], [], [], [], []
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_pmon_2752.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_p001_3692.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_p000_3688.trc:
    ORA-00600: internal error code, arguments: [15784], [600], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_psp0_2816.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_lgwr_2864.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:40 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_mman_2824.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:41 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_ckpt_2880.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:41 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_dbw0_2836.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:41 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_reco_2900.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Mon Dec 21 22:40:41 2009
    Errors in file c:\oracle\product\10.2.0\admin\acumen\bdump\acumen_smon_2884.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Instance terminated by USER, pid = 2968
    ORA-1092 signalled during: alter database open...

  • Exclude from custom group

    Hello,
    I have a custom group used for SQL alerts which I have populated with the following dynamic criteria. This group is used to scope notifications for our SQL Admins.
    ( ( Object is SQL Agent AND True ) OR ( Object is SQL Agent Job AND True ) OR ( Object is SQL Analysis Services AND True ) OR ( Object is SQL Component AND True ) OR ( Object is SQL Components AND True ) OR
    ( Object is SQL Computers AND True ) OR ( Object is SQL Database AND True ) OR ( Object is SQL DB Engine AND True ) OR ( Object is SQL DB File AND True ) OR ( Object is SQL DB File Group AND True
    ) OR ( Object is SQL DB Perspective AND True ) OR ( Object is SQL Distributor AND True ) OR ( Object is SQL Instances AND True ) OR ( Object is SQL Integration Services AND True ) OR ( Object is SQL Publication AND True ) OR ( Object is SQL Publisher AND True
    ) OR ( Object is SQL Reporting Services AND True ) OR ( Object is SQL Role AND True ) OR ( Object is SQL Subscriber AND True ) OR ( Object is SQL Subscription AND True ) ) 
    The SQL Computers group is pulling in all the computers with SQL running on it including 2 computers which the SQL Admins do not care about.
    The problem is these 2 servers (and their SQL instance) is of concern to a different group so I can't just remove it from discovery.
    Anyone have any suggestions on how I can exclude these 2 servers only from the custom group?
    EDIT: I should also mention that if I view the group members for the custom group the windows computer does not appear. Instead "SQL Computers" group appears almost like a sub group to my custom group.

    Pop open the authoring console and create your first custom mp that will discovery your custom class, application component, whatever you want, then make a discovery for that class with a filtered registry key discovery..There are a lot of tutorials on
    the web.  Maybe google for almquist.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • Looking for datafile creation date

    DB version: 11.2 / Solaris 10
    We use OMF for our datafiles stored in ASM.
    I was asked to create a 20gb tablespace. We don't create datafiles above 10g. So, I did this.
    CREATE TABLESPACE FMT_DATA_UAT DATAFILE '+DATA' SIZE 10g AUTOEXTEND Off EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
    ALTER TABLESPACE FMT_DATA_UAT ADD DATAFILE '+DATA' SIZE 10g AUTOEXTEND Off;Later it turns out that the Schema will be having only 7gb worth of data. So, I wanted to reduce the file size of the second file added using ALTER DATABASE DATAFILE .... RESIZE command. But I don't want to RESIZE (reduce) the size of the first datafile created when I issued the CREATE TABLESPACE command. Since, in ASM, there is no real naming like
    +DATA/orcl/datafile/fmt_data_uat01.dbf
    +DATA/orcl/datafile/fmt_data_uat02.dbf
    .It is difficult to find which was the first file created.
    And there is no create_date column in DBA_DATA_FILES. There isn't a create_date column in v$datafile either.
    SQL > select file_name from dba_data_Files where tablespace_name = 'FMT_DATA_UAT';
    FILE_NAME
    +DATA/orcl/datafile/fmt_data_uat.1415.792422709
    +DATA/orcl/datafile/fmt_data_uat.636.792422811
    SQL > select name, CHECKPOINT_TIME, LAST_TIME, FIRST_NONLOGGED_TIME, FOREIGN_CREATION_TIME
         from v$datafile where name like '+DATA/orcl/datafile/fmt_data_uat%';
    NAME                                                    CHECKPOINT_TIME      LAST_TIME            FIRST_NONL FOREIGN_CREATION_TIM
    +DATA/orcl/datafile/fmt_data_uat.1415.792422709         27 Aug 2012 18:55:06
    +DATA/orcl/datafile/fmt_data_uat.636.792422811          27 Aug 2012 18:55:06
    SQL >Alert log doesn't show file names either.
    CREATE TABLESPACE FMT_DATA_UAT DATAFILE '+DATA' SIZE 10g AUTOEXTEND Off EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO
    Mon Aug 27 13:25:37 2012
    Completed: CREATE TABLESPACE FMT_DATA_UAT DATAFILE '+DATA' SIZE 10g AUTOEXTEND Off EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO
    Mon Aug 27 13:26:51 2012
    ALTER TABLESPACE FMT_DATA_UAT ADD DATAFILE '+DATA' SIZE 10g AUTOEXTEND Off
    Mon Aug 27 13:27:10 2012
    Thread 1 advanced to log sequence 70745 (LGWR switch)
      Current log# 8 seq# 70745 mem# 0: +DATA/orcl/onlinelog/group_8.1410.787080847
      Current log# 8 seq# 70745 mem# 1: +FRA/orcl/onlinelog/group_8.821.787080871
    Mon Aug 27 13:27:13 2012
    Archived Log entry 123950 added for thread 1 sequence 70744 ID 0x769b5f42 dest 1:
    Mon Aug 27 13:27:21 2012
    Completed: ALTER TABLESPACE FMT_DATA_UAT ADD DATAFILE '+DATA' SIZE 10g AUTOEXTEND Off
    Mon Aug 27 13:28:16 2012

    There isn't a create_date column in v$datafile either.Did you check CREATION_TIME ?

  • Display an Alert message in PL/SQL block in APEX

    Hi,
    we are getting an oracle exception while inserting a new row. As it is having the unique constaint on a coulumn.
    Now the problem iis we need to Display an "Alert message" based on the input field validation. That java script code for alert has to be embeded nside a PL/SQL block in Oracle APEX Application.
    we tried doing this with below code:
    Begin
    INSERT INTO <<table name>>(ID,NAME) VALUES (s1,:TXT_s2);
    exception when others then
    htp.p('<script language="javascript">');
    htp.p('alert("Exception");');
    htp.p('</script>');
    end;
    If anybody knows .... please reply.
    Thanks,
    Subarna
    Edited by: user9955252 on Apr 21, 2010 1:47 AM

    Hello,
    APEX Forum is here : Oracle Application Express (APEX)
    Regards

  • Using a SQL Query in an Alert and Matching a String

    I've created an alert in 12.0.4 using a SQL Query and the field that I'm trying to match is a string.  Originally the query returned multiple rows but when the alert still didn't fire, I modified the query WHERE clause to return only one row:
    NAME                                RESPONSE
    Are area lights working?            No
    My expression in the metric is RESPONSE.  In the Monitor I'm matching a string equal to No.  (Do I need double quotes around the matchvalue?  Single quotes?  No quotes?)  The metric is in the 15min scan group, the role is xMII Developers and I'm in that role. The monitor alert string is ' =  '.  Both metric and monitor are active and I've subscribed to the monitor.  Other alerts in the 15min scan group (all based on tag queries) are firing off properly.
    Why is nothing showing up in the Alert Log?
    David Macindoe

    David,
    Did you figure out the answer?  If not, I will try to find someone to address your question.
    Mike

  • Display an Alert message from PL/SQL block in APEX

    Hi,
    we are getting an oracle exception while inserting a new row. As it is having the unique constaint on a coulumn.
    Now the problem iis we need to Display an "Alert message" based on the input field validation. That java script code for alert has to be embeded nside a PL/SQL block in Oracle APEX Application.
    we tried doing this with below code:
    Begin
    INSERT INTO <<table name>>(ID,NAME) VALUES (s1,:TXT_s2);
    exception when others then
    htp.p('<script language="javascript">');
    htp.p('alert("Exception");');
    htp.p('</script>');
    end;
    If anybody knows .... please reply.
    Thanks,
    Subarna

    If your end goal is showing a pretty error message instead of the message that the tables unique constraint raises try the following. This logic will show a nice message and not try to insert non-unique data.
    (1) Create a validation of type "Function Returning Error Text".
    (2) Place similar code like the following in your validation. Notice that if the unique name does not exist the no_data_found returns null allowing the validation to pass.
    DECLARE
      v_error varchar2(100);
    BEGIN
      SELECT 'A person by this name already exists.'
      INTO v_error
      FROM your_table
      WHERE your_name = :P1_YOUR_NAME;
      RETURN v_error;
    EXCEPTION
      WHEN no_data_found THEN
        RETURN NULL;
    END;

  • Reporting Services 2012 for SharePoint and SQL Server Agent "Subscriptions and Alerts"

    After installing Reporting Services for SharePoint (Denali) in my test farm, I'm trying to configure the "SQL Server Agent" access for Reporting Services.  From Central Admin I'm going to the Reporting Service applicaiton configuration screen and selecting
    "Provision Subscriptions and Alerts".  I've tried both options on this screen.  I've manually executed the "download sql script" in SQL Server, as well as entering a user with SQL sys admin rights on the SQL server into the login fields on the screen. 
    The role and permissions have been created for the application pool service account, but Reporting Services is still trying to connect with the annonymous login because I'm getting the following alert each time I open the "Provision Subscriptions and Alerts"
    screen:
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    The "status" on the screen still shows "SQL Server Agent State cannot be determined".  Has anyone else seen this? 
    Thanks!!

    Thanks for your reply!
    1) Looks like the new Reporting Services does not run as a Windows Service so it's not listed in the "Configure Service Accounts" pulldown.  As a result, I don't see how to set the service account.  It's only assigned to an application pool. 
    I installed it into an existing application pool and that application pool "is" in the list and has a domain service account already assigned.
    2) Which users need to be in here in order to configure the "Provision Subscriptions and Alerts" screen?  I already have the farm admin account which is the account I use when running Central Admin.
    3) As mentioned in #1, I've installed Reporting Services into an existing application pool with other service apps.
    4) This link is for Reporting Services 2008 R2 which is very different install process.  But I did follow the SQL Server Reporting Services 2012 RC0 installation instructions and the Reporting Services is functioning correctly with no errors. 
    I'm just not able to configure the sceduling the alerting with interfaces with the SQL Server Agent.
    Thanks!

  • SQL Server Creating Blocking Alerts

    I have a SCCM 2012 R2 system that has separate App and Sql servers. I installed CU4 on 3/5. Here of late my DBA support team has been getting a lot of "Blocking Alerts" from the SQL side of things. This is a sample email:
    From: sccm-sql mail
    Sent: Monday, March 16, 2015 3:15 PM
    To: DBASupport
    Subject: SCCM-SQL Blocking Alert
    DatabaseName                  
    BlockedSPID BlockedLogin    Threads    
    BlockingSPID BlockingLogin
      BlockingSQL      
    CM_HS2                                 
    85 SCCM-2012$               
    1          
    86 SCCM-2012$   
      select CI_ID, CI_UniqueID, ModelId, CIType_ID, PolicyVersion, Precedence, DateCreated, DateLastM
    odified, LastModifiedBy, PermittedUses, IsBundle, IsHidden, IsUserDefined, IsEnabled, 
    SourceSite,
     A                                                           
    (1 rows affected)
    Any thoughts on why these are happening? Did I forget something when installing CU4?

    Hi,
    Check the step by step guide
    Step-by-Step SCCM 2012 R2 CU4 Installation guide
    And since the issue is related to SQL performance, it would be difficult for troubleshooting without accessing your environment, I would suggest to contact with CSS support.
    https://support.microsoft.com/en-us/gp/profsup/en-au
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Retrieve alert values for use as parameter in corrective action sql script

    I am trying to write a corrective action sql script to kill a session that is blocking other sessions. I have the "blocking session count" metric set and the alert is firing correctly.
    Is there any way to retrieve the sid and serial number from the alert generated and use it in a corrective action sql script?
    Here is the alert generated:
    Target Name=myproddb.world
    Target Type=Database Instance
    Host=myprodserver
    Metric=Blocking Session Count
    Blocking Session ID=SID: 522 Serial#: 5228
    Timestamp=Mar 4, 2008 5:57:12 PM EST
    Severity=Warning
    Message=Session 522 is blocking 1 other sessions
    Notification Rule Name=Testing Corrective actions
    Notification Rule Owner=sysman
    Clearly the sid, and serial # is contained within the alert Message field
    what I want to write for the sql script is :
    alter system kill session '%sid%,%serial_no%' immediate;
    and have GC pass in the sid and serial_no to the script.
    The "Target Properties" listed on the right of the Edit Corrective Action screen lists minimal details pertaining to the alert and certainly not the session sid, serial no.
    Generically, is there any way to retrieve the values from an alert and use them in a corrective action script or job?
    I've looked into getting the values from the mgmt$alert_history table, but I'm hoping that GC can pass the values to the sql script.
    thanks in advance for your help.

    Hi
    You can implementing a procedure like this.
    1. When a block session count alarms occurs, there is a column in the v$lock that you can examine.
    #!/bin/ksh
    #kill_block_session.sh
    #first export your variables
    export ORACLE_HOME=/oracle/product/10.2.0.3
    export ORACLE_SID=SIDNAME
    $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
    execute immediate killed_blocks;
    EOF
    # end
    The killed_blocks is a procedure:
    create procedure
    declare
    v_sid varchar2(15);
    v_serial varchar2(15);
    -- now a sql query that retrieve the sid and serial
    -- you can obtain these values from v$session and v$lock
    select vs.sid,vs.serial into v_sid,v_serial
    from v$session vs,v$lock vl
    where vs.sid=vl.sid
    and vl.block >0
    -- After this, you execute a dbms_put line with these
    -- values
    But you understant that this response action is very dangerous, because its possible that you kill sessions that the blocking are transitient.
    You must examine your enviroment and your application and establish the metric like UDM and not for only session blocking count.
    You must to see:
    - The type of block
    - The ctime time in the v$lock for to understatn the amount of time to determine that the block is need killed.
    - In my opinion you need a special UDM and deactivate the blocking sesion count
    If you want help to create this UDM send me a mail to [email protected]
    Regards
    Robert

Maybe you are looking for

  • Can the find feature in Aperture do this?

    I have a list of 200 image numbers (same as Version Name)from a wedding client. This list is a Word doc. I will be using these choices to design a book. Can I copy and paste this Word doc. list into Aperture so it can gather those specific photos. I

  • On Weblogic7, how do I create an InitialContext to a Weblogic6 server and set SECURITY_CREDENTIALS?

    On a Weblogic7 server I am trying to create an InitialContext to a Weblogic6 server and set the SECURITY_CREDENTIALS. The code is something like this: Hashtable p = new Hashtable(); p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialConte

  • IMac the only one that will connect with internet

    I have a wireless network set up in my home office. I have an Airport wireless router and my internet service is through Frontier with a Westell 6100 modem that is probably five years old. When I set up my WiFi network with the 27" iMac, Airport Expr

  • Javascript error Line 382

    Running DW 8.02. I can't create new recordsets and when I attempt to update existing ones I get the following: "Line 382 of C:\program files\Macromedia\Dreamweaver 8\Configuration\Serverbehaviors\Shared\RSS servermodel switches.js" Then I get: "Refer

  • Changing materials stock according to BOM (production ?)

    Hello I'd like to implement the following business scenario: - You have a material BOM defined in the system; - You have some stock of materials defined as components in this BOM; - Now you want to get some of those component materials and change the