Problems with triggers

Hello

I'm gathering the Logon, logoff and logon fail data on a table using triggers.

These are the scripts that I use:

Sequence and table:

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

CREATE SEQUENCE seq_numero
INCREMENT by 1
MINVALUE 1
MAXVALUE 9999999999
START with 1;


CREATE TABLE logonaudittable
(
ID NUMBER,
event VARCHAR2 (15).
SID NUMBER,
series # NUMBER,
time DATE,
name VARCHAR2 (30),
osuserid VARCHAR2 (30),
MachineName VARCHAR2 (64)
)
/

---------------------------------------------------------
And here the triggers:

Database of logonauditing AFTER logon ON CREATE OR REPLACE TRIGGER
DECLARE
ID NUMBER (10);
MachineName VARCHAR2 (64);
osuserid VARCHAR2 (30);
v_sid NUMBER (10);
v_serial NUMBER (10);

CURSOR c1 IS
SELECT sid, serial #, osuser, machine
FROM v$ session WHERE audsid = userenv ('sessionid');
BEGIN
SELECT seq_numero.nextval IN id FROM dual;
OPEN c1;
EXTRACT the c1 IN v_sid, v_serial, osuserid, machinename;

INSERT INTO logonaudittable VALUES (id, 'CONNECTION', v_sid, v_serial, sysdate,
user, osuserid, machinename);

CLOSE c1;
END;
/




CREATE OR REPLACE TRIGGER logoffauditing
BEFORE logoff ON database
DECLARE
ID NUMBER (10);
MachineName VARCHAR2 (64);
osuserid VARCHAR2 (30);
v_sid NUMBER (10);
v_serial NUMBER (10);

CURSOR c1 IS
SELECT sid, serial #, osuser, machine
FROM v$ session WHERE audsid = userenv ('sessionid');
BEGIN
SELECT seq_numero.nextval IN id FROM dual;
OPEN c1;
EXTRACT the c1 IN v_sid, v_serial, osuserid, machinename;

INSERT INTO logonaudittable VALUES (id, "DISCONNECT", v_sid, v_serial, sysdate,
user, osuserid, machinename);

CLOSE c1;
END;
/




CREATE OR REPLACE TRIGGER logonfailauditing
AFTER ON SERVERERROR database
DECLARE
ID NUMBER (10);
MachineName VARCHAR2 (64);
osuserid VARCHAR2 (30);
v_sid NUMBER (10);
v_serial NUMBER (10);

CURSOR c1 IS
SELECT sid, serial #, osuser, machine
FROM v$ session WHERE audsid = userenv ('sessionid');
BEGIN
IF (IS_SERVERERROR (1017)) THEN
OPEN c1;
EXTRACT the c1 IN v_sid, v_serial, osuserid, machinename;
SELECT seq_numero.nextval IN id FROM dual;
INSERT INTO logonaudittable VALUES (id, "FAILLOGON", v_sid, v_serial, sysdate,
user, osuserid, machinename);
CLOSE c1;
END IF;
END;
/


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


I have Oracle 10.2.0.4 and Windows server 2003 R2

My problem is that I need to collect the information only to some users and not all of them. How can I change triggers so I get that for example users SYS and SYSTEM? I tried various things, but they are wrong. Help, please!

Thank you!

The relaxation is to insert rows even if the user is not 'Name1', 'Name2' or 'NAME3 '.

Try this:

CREATE OR REPLACE TRIGGER logonauditing AFTER LOGON ON database
DECLARE
id NUMBER(10);
machinename VARCHAR2(64);
osuserid VARCHAR2(30);
v_sid NUMBER(10);
v_serial NUMBER(10);

CURSOR c1 IS
SELECT sid, serial#, osuser, machine
FROM v$session
WHERE audsid = userenv('sessionid') and
username in ('NAME1','NAME2','NAME3');

BEGIN
SELECT seq_numero.nextval INTO id FROM dual;
OPEN c1;
FETCH c1 INTO v_sid, v_serial, osuserid, machinename;

IF v_sid IS NOT NULL then
  INSERT INTO logonaudittable
  VALUES ( id, 'LOGON', v_sid, v_serial, sysdate,user, osuserid, machinename );
END IF;

CLOSE c1;
END;
/ 

Tags: Database

Similar Questions

  • Problem with triggers - sequential incrementing

    I have a table called student and I need to add the trigger for this table. This trigger needs to update increment_id for each line, each time that the new row is inserted or updated the existing line. If a new row inserted without specified increment_id that it should automatically assign the next value of sequence for this line.

    First of all, I added new column to the table of students.
    change the student table add (increment_id COMP (21.6);)

    Then, a sequence is created for that table.

    CREATE SEQUENCE seq_students
    MINVALUE 1
    MAXVALUE 999999999999999999999999999
    START WITH 1
    INCREMENT BY 1
    CACHE 20;

    Finally, I created the trigger as follows.

    CREATE OR REPLACE TRIGGER trg_students_seqid
    BEFORE the INSERT OR UPDATE ON students
    FOR EACH LINE
    BEGIN
    insertion and: new.increment_id is null then
    Select seq_students.nextval in: double new.increment_id;
    elsif UPDATE then
    Select seq_students.nextval in: double new.increment_id;
    end if;
    END;

    Everything works fine and the increment_id is updated / inserted whenever I have add/edit new line. But the problem is sometimes when I change/add line and commit changes, I noticed that the assigned ID of increment is not continuous.

    Example: Let say increment_id maximum current for this table is 50. If I update the row with student_id = 100 and commit the changes I found the increment_id so that the rank is 120 instead of 101. This happens sometimes when I insert a new line as well.

    Can someone please help me with this and tell me where I have done wrong.

    Thank you.

    Sequences will be not free of gap.

    When the sequence is aging out of the shared pool, for example, the cached values will be eliminated. Given that your cache is set to 20, which explains why the values will increase from 101 to 121 (101-120 were, no doubt, put in cache, and when the years sequence, the cached values have been cancelled). You can reduce the chances that you will get a deviation of the NOCACHE but sequence that will negatively affect performance. It won't completely prevent also the gaps - you'll see always gaps in transactions do backward when the triggers are redone for consistency of Scripture, etc.. If you can tolerate some gaps, you should be able to tolerate deviations resulting sequence cache aging on.

    Justin

  • Problem with triggers after datapump with remapping of the color scheme.

    I have an import/export using datapump and remappe the name of the schema for a new name. All exported very well except for triggers that are now fire the old schema name. Nobody knows in a quick way, I can change all of these triggers to fire on the new scheme?

    You can use the dbms_metadata.get_ddl function, run this old pattern then you get a few scripts and run this new scheme.

    declare
    r varchar2 (4000);
    Start
    -Select dbms_metadata.get_ddl ('TRIGGER', TRIGGER_NAME) from user_triggers
    c in the loop (select TRIGGER_NAME from user_triggers)
    r: = dbms_metadata.get_ddl ('TRIGGER', c.TRIGGER_NAME);
    dbms_output.put_line ('R =' | r);
    end loop;
    end;

  • Problem with using of the audit and the APEX triggers

    Hello community,

    I have a little problem with the help of a trigger to audit. I can't operate the trigger takes the reality of the user to record in the audit table:

    DDL in the table:
    create table BOOKS
    (
      B_ID           NUMBER not null,
      B_NAME         VARCHAR2(100),
      B_DESCRIPTION  VARCHAR2(500)
    );
    DDL audit table:
    create table AUDIT_BOOKS
    (
      B_ID           NUMBER not null,
      B_NAME         VARCHAR2(100),
      B_DESCRIPTION  VARCHAR2(500),
      AUDIT_USER VARCHAR2(50),
      AUDIT_DATE   DATE,
      AUDIT_ACTION   VARCHAR2(6)
    );
    ddl trigger:
    CREATE OR REPLACE TRIGGER trg_audit_books
      AFTER DELETE OR UPDATE ON books
      FOR EACH ROW
    DECLARE
      v_trg_action VARCHAR2(6);
    BEGIN
      IF updating
      THEN
        v_trg_action := 'UPDATE';
      ELSIF deleting
      THEN
        v_trg_action := 'DELETE';
      ELSE
        v_trg_action := NULL;
      END IF;
      INSERT INTO audit_books
        ( B_ID,  B_NAME,  B_DESCRIPTION,
          AUDIT_USER,  AUDIT_DATE,  AUDIT_ACTION)
      VALUES
        (:OLD.B_ID, :OLD.B_NAME, :OLD.B_DESCRIPTION,
          UPPER(USER), SYSDATE, v_trg_aktion);
    END trg_audit_books;
    Column AUDIT_USER always gets "APEX_PUBLIC_USER" as a value of insertion. How can I change to the user real "& APP_USER."?
    I tried under Home > Application Builder > application 100 > shared components > change attributes for security > authentication > Public user
    And added & APP_USER. and: P101_USERNAME both have not changed anything.

    Is there a way to get to work with & APP_USER. instead of APEX_PUBLIC_USER?

    I use the standard authentication scheme 'Application Express'. I use ldap via a process to the login page.

    Kind regards

    Tobias

    Hello Tobias,.

    In the trigger instead of the USER code, use v('APP_USER') to catch the real user of APEX.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

    You can assign this answer to your question in marking it as useful or Correct ;-)

  • Urgent problem with reset

    Hi guys!

    I'm desperate! Last month, I have problems with my macbook pro... 10 times a day it restart itself with this message:

    Anonymous UUID: 83CA985D-2431-FAF3-292E-4575DF995555

    Wed Mar 16 11:22:14 2016

    Panic report *.

    panic (cpu 0 0xffffff7f9404dbd5 appellant): "panic GPU: 7f [< no >] 5 3 0 0 0 0 3: NVRM [0 / 1:0:0]: error 0 x 00000100 reading: CFG 0xffffffff, 0xffffffff, 0xffffffff, BAR0 0xd2000000 0xffffff912d741000 sControl-3.12.6/src/AppleMuxControl/kext/GPUPanic.cpp:127 P3/4\n"@/Library/Caches/com.apple.xbs/Sources/AppleGraphicsControl/AppleGraphic 0x0a5480a2, D0,

    Backtrace (CPU 0), frame: return address

    0xffffff911c3bac60: 0xffffff8010edf792

    0xffffff911c3bace0: 0xffffff7f9404dbd5

    0xffffff911c3badc0: 0xffffff7f91bebfa4

    0xffffff911c3bae80: 0xffffff7f91cb8add

    0xffffff911c3baec0: 0xffffff7f91cb8b48

    0xffffff911c3baf40: 0xffffff7f91f3da23

    0xffffff911c3bb0b0: 0xffffff7f91cdcb79

    0xffffff911c3bb0d0: 0xffffff7f91bf2cfd

    0xffffff911c3bb180: 0xffffff7f91bf0690

    0xffffff911c3bb380: 0xffffff7f91bf2141

    0xffffff911c3bb450: 0xffffff7f9352a6e4

    0xffffff911c3bb530: 0xffffff7f93527a13

    0xffffff911c3bb5b0: 0xffffff7f935285bb

    0xffffff911c3bb630: 0xffffff7f93528ddf

    0xffffff911c3bb770: 0xffffff7f9352983b

    0xffffff911c3bb8a0: 0xffffff7f9355b64f

    0xffffff911c3bb8e0: 0xffffff7f9355c3ba

    0xffffff911c3bb920: 0xffffff7f93555d0a

    0xffffff911c3bba90: 0xffffff7f93556601

    0xffffff911c3bbad0: 0xffffff7f93551e49

    0xffffff911c3bbb00: 0xffffff7f93535324

    0xffffff911c3bbb50: 0xffffff80114e3a92

    0xffffff911c3bbb80: 0xffffff80114e470a

    0xffffff911c3bbbe0: 0xffffff80114e1777

    0xffffff911c3bbd20: 0xffffff8010f9be20

    0xffffff911c3bbe30: 0xffffff8010ee3ef3

    0xffffff911c3bbe60: 0xffffff8010ec78a8

    0xffffff911c3bbea0: 0xffffff8010ed72e5

    0xffffff911c3bbf10: 0xffffff8010fbcd2a

    0xffffff911c3bbfb0: 0xffffff8010ff0a56

    Extensions of core in backtrace:

    com.apple.driver.AppleMuxControl (3.12.6) [44D361A1-4938-3AA5-9F73-9C909B66214B] @ 0xffffff7f9403f000-> 0xffffff7f94052fff

    dependency: com.apple.driver.AppleGraphicsControl (3.12.6) [1654475C-9A4B-386C-AFA8-0A530194A 2F9]@0xffffff7f94037000

    dependency: com.apple.iokit.IOACPIFamily (1.4) [5D7574C3-8E90-3873-BAEB-D979FC215A7D] @0xfffff f7f919b3000

    dependency: com.apple.iokit.IOPCIFamily (2.9) [F398CE94-0FBD-3E8E-A7AB-55F7F05A81ED] @ 7f9172c000 0xffffff

    dependency: com.apple.iokit.IOGraphicsFamily (2.4.1) [429C688E-8DDA-3D15-9C6E-6F3F4855C424] @0 xffffff7f91b3e000

    dependency: com.apple.driver.AppleBacklightExpert (1.1.0) [70C85E35-16FC - 3 B 76-A3B1-1862573201 3B]@0xffffff7f9403a000

    com.apple.nvidia.classic.NVDAResmanTesla (10.0) [05FC5D7E-BB0B-3232-BBBD-8A49B687 0D8B]@0xffffff7f91b95000-> 0xffffff7f91e0afff]

    dependency: com.apple.iokit.IOPCIFamily (2.9) [F398CE94-0FBD-3E8E-A7AB-55F7F05A81ED] @ 7f9172c000 0xffffff

    dependency: ffff7f91b85000 @0xff com.apple.iokit.IONDRVSupport (2.4.1) [ED747668-8718-3FB4-A4F4-2AC731D5B16F]

    dependency: com.apple.iokit.IOGraphicsFamily (2.4.1) [429C688E-8DDA-3D15-9C6E-6F3F4855C424] @0 xffffff7f91b3e000

    com.apple.nvidia.classic.NVDANV50HalTesla (10.0) [CA 56199, 6 - 3C8D - 3EBB - B5EF - 7B1B467 8ACF9]@0xffffff7f91e15000-> 0xffffff7f920c2fff]

    dependency: com.apple.nvidia.classic.NVDAResmanTesla (10.0.0) [05FC5D7E-BB0B-3232-BBBD-8A49B6 870D8B]@0xffffff7f91b95000

    dependency: com.apple.iokit.IOPCIFamily (2.9) [F398CE94-0FBD-3E8E-A7AB-55F7F05A81ED] @ 7f9172c000 0xffffff

    com.apple.GeForceTesla (10.0) [DA50BC06-3528-3E0F-9B77-6D0C2F6798F5] @0xffffff7f93 4fa000-> 0xffffff7f935c5fff

    dependency: com.apple.iokit.IOPCIFamily (2.9) [F398CE94-0FBD-3E8E-A7AB-55F7F05A81ED] @ 7f9172c000 0xffffff

    dependency: ffff7f91b85000 @0xff com.apple.iokit.IONDRVSupport (2.4.1) [ED747668-8718-3FB4-A4F4-2AC731D5B16F]

    dependency: com.apple.iokit.IOGraphicsFamily (2.4.1) [429C688E-8DDA-3D15-9C6E-6F3F4855C424] @0 xffffff7f91b3e000

    dependency: com.apple.nvidia.classic.NVDAResmanTesla (10.0.0) [05FC5D7E-BB0B-3232-BBBD-8A49B6 870D8B]@0xffffff7f91b95000

    Corresponding to the current thread BSD process name: WindowServer

    Mac OS version:

    15 D 21

    Kernel version:

    15.3.0 Darwin kernel version: Thu Dec 10 18:40:58 PST 2015; root:XNU-3248.30.4~1/RELEASE_X86_64

    Kernel UUID: DECC9F02-27D7-31F0-9599-A9EF2873902C

    Slide kernel: 0x0000000010c00000

    Text of core base: 0xffffff8010e00000

    Text __HIB base: 0xffffff8010d00000

    Name of system model: MacBookPro6, 2 (Mac-F22586C8)

    Availability of the system in nanoseconds: 1936048888071

    last load kext to 611757022641: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f9419b000 size 32768)

    Finally unloaded kext to 671764055638: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f9419b000 size 32768)

    kexts responsible:

    com Apple.filesystems.smbfs 3.0.0

    com.apple.driver.AudioAUUC 1.70

    com.apple.driver.AppleHWSensor 1.9.5d0

    com.apple.driver.AGPM 110.20.22

    com Apple.filesystems.autofs 3.0

    com.apple.driver.AppleOSXWatchdog 1

    com.apple.driver.AppleMikeyHIDDriver 124

    com.apple.driver.AppleHDA 272.51.3

    com Apple.Driver.pmtelemetry 1

    com.apple.iokit.IOUserEthernet 1.0.1

    com.apple.iokit.IOBluetoothSerialManager 4.4.3f4

    com.apple.driver.AppleUpstreamUserClient 3.6.1

    com.apple.GeForceTesla 10.0.0

    com.apple.driver.AppleIntelHDGraphics 10.0.0

    com.apple.Dont_Steal_Mac_OS_X 7.0.0

    com.apple.driver.AppleMikeyDriver 272.51.3

    com.apple.driver.AppleHV 1

    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.4.3f4

    com.apple.driver.AppleMCCSControl 1.2.13

    com.apple.driver.AppleSMCPDRC 1.0.0

    com.apple.driver.AppleSMCLMU 208

    com.apple.driver.AppleLPC 3.1

    com.apple.driver.AppleMuxControl 3.12.6

    com.apple.driver.AppleIntelHDGraphicsFB 10.0.0

    com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0

    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

    com.apple.driver.SMCMotionSensor 3.0.4d1

    com.apple.driver.AppleUSBTCButtons 245,4

    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0

    com.apple.BootCache 38

    com.apple.driver.AppleUSBTCKeyboard 245,4

    com.apple.driver.AppleIRController 327,5

    com.apple.driver.AppleUSBCardReader 3.7.1

    2.8.5 com.apple.iokit.IOAHCIBlockStorage

    com.apple.driver.AirPort.Brcm4331 800.20.24

    com.apple.iokit.AppleBCM5701Ethernet 10.1.12

    com.apple.driver.AppleFWOHCI 5.5.2

    com.apple.driver.AppleAHCIPort 3.1.8

    com.apple.driver.usb.AppleUSBEHCIPCI 1.0.1

    com.apple.driver.AppleSmartBatteryManager 161.0.0

    com.apple.driver.AppleACPIButtons 4.0

    com.apple.driver.AppleRTC 2.0

    com.apple.driver.AppleHPET 1.8

    com.apple.driver.AppleSMBIOS 2.1

    com.apple.driver.AppleACPIEC 4.0

    com.apple.driver.AppleAPIC 1.7

    com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0

    com Apple.NKE.applicationfirewall 163

    com Apple.Security.Quarantine 3

    com.apple.security.TMSafetyNet 8

    com.apple.driver.AppleIntelCPUPowerManagement 218.0.0

    com.apple.AppleGraphicsDeviceControl 3.12.6

    com Apple.kext.Triggers 1.0

    com.apple.driver.DspFuncLib 272.51.3

    com.apple.kext.OSvKernDSPLib 525

    com.apple.iokit.IOSurface 108.0.1

    com.apple.iokit.IOSerialFamily 11

    com.apple.driver.CoreCaptureResponder 1

    com.apple.nvidia.classic.NVDANV50HalTesla 10.0.0

    com.apple.driver.AppleHDAController 272.51.3

    com.apple.iokit.IOHDAFamily 272.51.3

    com.apple.iokit.IOAudioFamily 204.3

    com.apple.vecLib.kext 1.2.0

    com.apple.nvidia.classic.NVDAResmanTesla 10.0.0

    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.4.3f4

    com.apple.iokit.IOBluetoothFamily 4.4.3f4

    com.apple.iokit.IOFireWireIP 2.2.6

    com.apple.driver.AppleSMBusController 1.0.14d1

    com.apple.driver.AppleSMBusPCI 1.0.14d1

    com.apple.driver.AppleBacklightExpert 1.1.0

    com.apple.driver.AppleGraphicsControl 3.12.6

    com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0

    com.apple.iokit.IONDRVSupport 2.4.1

    com.apple.iokit.IOGraphicsFamily 2.4.1

    com.apple.driver.IOPlatformPluginLegacy 1.0.0

    com.apple.driver.IOPlatformPluginFamily 6.0.0d7

    com.apple.driver.AppleSMC 3.1.9

    com.apple.driver.usb.IOUSBHostHIDDevice 1.0.1

    com.apple.driver.AppleUSBMultitouch 250,5

    com.apple.iokit.IOUSBHIDDriver 900.4.1

    com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.7

    com.apple.iokit.IOUSBMassStorageDriver 1.0.0

    com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.7

    com.apple.driver.usb.AppleUSBHostCompositeDevice 1.0.1

    com.apple.driver.usb.AppleUSBHub 1.0.1

    com.apple.iokit.IOEthernetAVBController 1.0.3b3

    4.5.8 com.apple.iokit.IOFireWireFamily

    com.apple.iokit.IO80211Family 1110.26

    com.apple.driver.mDNSOffloadUserClient 1.0.1b8

    com.apple.iokit.IONetworkingFamily 3.2

    com Apple.Driver.corecapture 1.0.4

    com.apple.iokit.IOAHCIFamily 2.8.1

    com.apple.driver.usb.AppleUSBEHCI 1.0.1

    com.apple.iokit.IOUSBFamily 900.4.1

    com.apple.iokit.IOUSBHostFamily 1.0.1

    com.apple.driver.AppleUSBHostMergeProperties 1.0.1

    com.apple.driver.AppleEFINVRAM 2.0

    com.apple.driver.AppleEFIRuntime 2.0

    com.apple.iokit.IOHIDFamily 2.0.0

    com.apple.iokit.IOSMBusFamily 1.1

    com Apple.Security.sandbox 300.0

    com.apple.kext.AppleMatch 1.0.0d1

    com.apple.driver.AppleKeyStore 2

    com.apple.driver.AppleMobileFileIntegrity 1.0.5

    com.apple.driver.AppleCredentialManager 1.0

    com.apple.driver.DiskImages 417.2

    com.apple.iokit.IOStorageFamily 2.1

    com.apple.iokit.IOReportFamily 31

    com.apple.driver.AppleFDEKeyStore 28.30

    com.apple.driver.AppleACPIPlatform 4.0

    com.apple.iokit.IOPCIFamily 2.9

    com.apple.iokit.IOACPIFamily 1.4

    com.apple.kec.Libm 1

    com Apple.KEC.pthread 1

    com Apple.KEC.corecrypto 1.0

    Model: MacBookPro6, 2, MBP61.0057.B11 of BootROM, 2 processors, Intel Core i7, 2.66 GHz, 8 GB, MSC 1.58f17

    Graphics: integrated graphics card Intel HD, Intel HD Graphics,

    Graphics card: NVIDIA GeForce GT 330 M, NVIDIA GeForce GT 330 M, PCIe, 512 MB

    Memory module: DIMM0/0 BANK, 4 GB DDR3, 1067 MHz, 0x029E, 0x434D5341344758334D314131303636433720

    Memory module: DIMM0/1 BANK, 4 GB DDR3, 1067 MHz, 0x029E, 0x434D5341344758334D314131303636433720

    Airport: spairport_wireless_card_type_airport_extreme (0x14E4, 0 x 93), Broadcom BCM43xx 1.0 (5.106.98.100.24)

    Bluetooth: Version 4.4.3f4 16616, 3 services, 27 aircraft, 1 incoming serial ports

    Network service: Wi - Fi, AirPort, en1

    Serial ATA Device: APPLE TS256B, 251 GB SSD

    Serial ATA Device: TOSHIBA MK5055GSXF, 500,11 GB

    USB device: USB 2.0 Bus

    USB device: Hub

    USB Device: IR receiver

    USB device: ISight built-in

    USB device: USB 2.0 Bus

    USB device: Hub

    USB device: USB Laser Mouse

    USB Device: Card reader

    USB device: Apple keyboard / Trackpad

    USB device: Hub BRCM2070

    USB Device: USB Bluetooth host controller

    Crush Bus:

    Can someone help me please?

    Thank you all!

    You have the misfortune to have a model identifier 6.2 MBP that GPU problems. There was a program of replacement card logic on these models, but that has expired.

    To resolve this problem, you can have the logic board replaced at your expense.

    As a temporary measure, you can download and install this application:

    https://gfx.IO/

    This will cancel the discreet GPU and run the MBP using only the built-in. This will result in a decrease in the graphics performance.

    Ciao.

  • Problems with Time Capsule

    I have problems with our time Capsule. My husband and I have Macbook Pro (from 2012). We use a Time Capsule as our backup disk but not our wireless router (we use the router provided by our internet service provider). We have configured like this for over a year and it is usually worked fine. In the last month, we had problems with backups does not happen. Currently, computer of my husband has saved in about 2 weeks, and mine has not backed up in 2 days.

    It seems that our computers lose their link with time capsule. If I go to the finder, the shared drive appears under "shared", but if I click on it to connect I get a message that says "connection failed." Airport utility shows the time Capsule but has a yellow triangle next to it that says "device not found."

    If I unplug the Time Capsule and plug it in again, it reconnects. I did this earlier this evening and was able to access the shared drive and make a return to the top. But a few hours later, this subject has disappeared again. I tried to do this same thing - unplug, get the rear connection, only to lose it again a little later. Any thoughts on what could be the problem? The Capsule was bought the same time than computers.

    I guess what surprises me is that you had no problems up to this point.

    Your computer must connect directly to the Treasury Board. Ethernet or wireless... It will break things especially in the BONES later if you do not.

    Do you have recently move you to el capo... ?? That could have triggered the problem.

    I lost the link but in apple of one document stated finally that you connect directly the computer now... because of the bad DNS in the operating system.

    If I unplug the Time Capsule and plug it in again, it reconnects. I did this earlier this evening and was able to access the shared drive and make a return to the top.

    That's why you get this nonsense. He is able to find the backup if DNS is renewed due to reset... After a few hours it is lost again.

    What operating system do you use?

    My recommendation is to put on wireless and a link to the direct of TC...

    A TC Gen4 purchased in 2012 is now at least 3 years and let me tell also your reliable stage... you are now at the stage of growing decrepitude of old people. It might work correctly for a year or two... It can suddenly die tomorrow... but more likely will fade into the sunset.

  • Old problem with Spotlight and Word .docx files

    There is an old problem with Spotlight not finding the Word .docx files.  You can find old discussions about it since 2008.  But despite this problem being old has never been resolved.

    The essence of the issue is that Spotlight relies on a variety of software modules for the index files.  Projector selects the module suitable for each type of different file of the index.  These indexing modules all have the suffix of file .mdimporter.  Name of the module for indexing Microsoft office files is "Microsoft Office.mdimporter" and it can be found with a few other modules of .mdimporter in/library/Spotlight /.  The "Microsoft Office.mdimporter" module has rights author of Microsoft inside its packaging info so we know who wrote it.  But this module is included with all new Macs from Apple.  This is perhaps why this problem has never been corrected - the software is written by Microsoft, but delivered by Apple.

    The symptoms of the problem are that Spotlight will find no content in some .docx files.  It is unclear why it fails on some .docx files, but not others.  This problem does not affect other Microsoft formats such as .doc, .xls, .xlsx, etc..

    Because Apple wants to sell Macs to business, and companies make heavy use of MS Office in general, we could think that it would be a priority to fix.  But given that this problem is 7 years old and still not resolved I do not.

    Any suggestions on possible alternatives would be welcome.

    After further investigation, I discovered that the problem is not with "Microsoft Office.mdimporter" as I had thought.  If we run the mdimport(1)-d1 you can see what importer is used. It turns out that for the .docx files, the importer is called 'RichText.mdimporter' which has a copyright by Apple.  And if you use mdimport(1), the file will then be found by Spotlight.  If the issue is not the importer, but rather everything that is triggering the importer to run the .docx files updated.  Here's to blame Microsoft for this one...

    As a workaround, I force indexing my files .docx with a Bash script, which is started by cron.  The script indexes all the .docx that have been modified in the last 24 hours and runs every hour via cron.  If someone is interested in the details just post here and I'll include the script in another post.

  • Problem with the change in value of listbox event

    Hello

    I have a problem with the help of Listbox value change event. The code that I have attached is a simplified version of the largest program, but the problem is the same. One of the loops of Nonna is responsible for handlig occurring events ant the other is responsible for the execution of the program. In the project of oryginal I use a listbox control to determine which plots graphic display of a waveform is visible (first position of the listbox-> only plot first visible etc.). In the attached vi, I just show the current value of the listbox control. The problem is the event runs only once and then the program crashes. I want to be able to change the value of the listbox work both at idle and in State of a program, but when I put the structure of the event in both States, he does not. I'd be very grateful if someone smarter than me could tell me where I made my mistake. I want my program to be able to manage the keys and listbox events in States (slow down and knit) program.

    You have two structures of event in two cases different from the structure of the case, and both are tuned to listbox events has changed. Because only once can be triggered at any time, the VI crashes (lock events the front panel (default) until the event can complement).

    You must use a unique event structure managing all events.

    The overall program architecture looks like inside-out for me.

    For the buttosn, you must use action lock (switch not release!) and use the value changed events.

  • I have EXTREME problems with e-mails... all have been deleted...

    I have huge problems with my hotmail account for my company... all emails have been deleted... .can not receive or send emails... I submit that my problems online Windows live... 5 separate issues.  No one responded and I see that the people who have posted problems after that mine have already been answered... what gives... I NEED HELP * address email is removed from the privacy * please don't tell me to post it again on the Windows solution Center...

    Hello

    I'm sorry but this is the place to ask questions of Hotmail

    read this:

    I'm sorry, but we cannot help with hotmail problems in these forums in response to vista

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • Anyone having problems with the latest OS 10.2.1 update?

    All day I received emails from customers saying that my applications have problems, some not even work at all. "Since I've updated my phone yesterday" is what I keep seeing. In particular, there seems to be a problem with my webview. People get weird certificate errors when you try to connect through OAuth2 in a webview. Or Web mode is not displayed correctly. Very very strange! And I tested and using the latest 10.2.1 leak for a while, so what could be different from the official version that is causing so many errors?

    Is there anyone else out there of the problems suddenly?

    I'm actually questions similar experience now with my camera which has not been updated. I get these errors of certificate for domain SoundCloud. See the attached screenshot. In my application or in the browser, SoundCloud.com triggers security certificate warning. And the reason is weird, said the site expired on June 2015 certificate?

    Something has changed definitely take a look at this...

    http://supportforums.BlackBerry.com/T5/BlackBerry-Z10/Z10-browser-certificate-expired-bug/m-p/275610...

  • Problem with my Atheros Wifi/Bluetooth Combo card to reboot. in windows 8 pro 64-bit

    Hello I have the following problem with my free wireless/Bluetooth combo card.
    I have personally installed a new combo entered only the material of a third party wireless card
    online market. The device was immediately discovered Windows 8 and installed the drivers that he thinks are best for the device. Both wireless and Bluetooth work as expected and the problem happens when I put the machine power off or reboot the system, Hibernate does not affect the operation of the device. When the system is rebooted / turned from cold start. Windows 8 displays a red X on the wireless icon and Bluetooth does not work. troubleshooting tool and Device Manager act as the device is installed correctly. To resolve this issue, uninstall Bluetooth and wireless both drivers leave system scan for changes, it then reinstalls the device and the system works as expected for both Bluetooth and wireless. I'm looking to solve this problem, I didn't notice any problem yet in the operating system other than windows 8.
     
    Details of important system information:
    Windows 8 Professional. x64bit
    Microsoft Windows [Version 6.2.9200]
     
    Card added to my Asus G74SX
    Operating name: Atheros
    Model: AR5B195 (WiFi: AR5B195) (Bluetooth: AR3011)
     
    The Device Manager shows the follow-up:
     
    Bluetooth
    General tab:
    Qualcomm-Atheros AR3011 Bluetooth 3.0
    Location: Port_ #0001.Hub_ #0003
    Advanced tab
    Manufacturer ID: 69
    HCI LMP 5.39321 a 5.39321 version
    Driver tab
    Driver provider: Qualcomm Atheros Communications
    Driver date: 08/06/2012
    Driver version: 1.0.4.0
    Digital signer: Microsoft Windows Hardware Compatibility Publisher
     
    Network cards:
    General tab
    Qualcomm-Atheros AR9002WB-1NG
    Geographical area: PCI Slot 1 (bus PCI 3, device 0, function 0)
    Driver tab
    Driver provider: Microsoft
    Driver date: 03/07/2012
    Driver version: 3.0.0.130
    Digital signer: Microsoft Windows
    Driver file details:
    C:\Windows\System32\DRIVERS\athrx.sys
    Provider: Qualcomm, Atheros Communications, Inc.
    Version of the file 3.0.0.128
    Digital signer: Microsoft Windows
    C:\Windows\system32\drivers\vwifibus.sys
    Provider of: Microsoft Corporation
    File version: 6.2.9200.16384 (win8_rtm.120725 - 1247)
    Digital signer: Microsoft Windows
     
    Error Viewer:
    Task category: (16)
    The description for event ID 15300 source WPDMTPDriver is not found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    PSG WPD driver

    0 x 80070002
     
    Source: BTHUSB
    Event ID: 17

    The local Bluetooth adapter has failed in an indefinite manner and will not be used. The driver has been unloaded.

    I guess the problem with my card is out dated drivers for my wireless card.

    (SOLVED)

    I at first sight, that this would not help, as it does not address the question, or the other.

    1st stage however was a yellow triangle! Sign up for troubleshooting. reboot and I checked for internet/bluetooth. I got my net upward and did two step, windows told me, he had the best drivers for the device. I went to the menu where you select wireless cards then. and it occurred to me, for some reason my wireless card had been cut, and troubleshooting of windows didn't catch it. My G74SX, so now like with most laptops, has a Wireless on and off function, I pressed the button for this and then on my bluetooth and windows wireless. I then tested the function of these two, and did a reboot and shutdown, test market and the system works perfectly. Now, I wonder if that was the problem at the beginning.
    Thank you.
  • APEX 5 - problem with computations in applications.

    Hi experts,

    I am facing some problems with calculations and expressions too.

    I have two EPS. Dev and Prod (4.2). I upgraded to 5.0 apex in the dev environment.

    After a few don't test with applications no DEV I have problem with computation - nothing is changed in both of the approx.

    For example: I use point computation to only display the sysdate value - 10 after a label. (some info default filtering).

    On prod ENV everything works OK - value appears when I reference by + ITEM.

    This same article on DEV invariably shows nothing. There is no error in the LOG.

    PROD:

    2015-05-26_131505.png

    2015-05-26_131613.png

    TEST

    2015-05-26_131541.png

    2015-05-26_131632.png

    Is there a difference any to save the session state for items? Before that the regions are displayed?

    I have same problem when I want to use certain conditions to show some ITEMS/REGIONS/DA... where some ITEM_VALUE is used.

    I tried the same thing on apex.oracle.com.

    For EXAMPLE:

    Some button should only appear if a page element value is not zero (: P_ITEM is not null). (I tried DA or simple condition - screenshot below)

    He worked in APEX 4.2 but not in 5.0 for me.

    If I use PL/SQL Expression and type "1 = 1", everything works. But I need the old feature where I can use the comparison of point values page.

    This does not work for me in the Page load DA. It has never triggered.

    2015-05-26_132610.png

    I work with APEX about 6 years, but I have never seen this.

    Concerning

    J

    Hello

    I don't know if I understand your DA it checks the P1_TEST "is not zero", but this element of the page is set anywhere on your page, then this condition DA won't be ever true. For your calculation, the calculated value is correctly displayed next to your agenda of the P1_DATE_FROM page. I'll have a look at what is happening with 'SQL Expression. But please be aware that this is just a warning in the Page Designer, you will still be able to use "SQL Expression".

    Concerning

    Patrick

  • Facing a problem with writing the custom for WLS identity assertion provider

    I am facing a problem with writing the custom for WLS identity assertion provider.

    Requirement:

    Asserter identity configured in WLS should get called when the following cookie is sent in a request by my application
    cookie name: OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I added the name of the cookie as a token of support and Active token in WeblogicCustomIdentityAsserter.xml

    < MBeanAttribute
    Name = "SupportedTypes.
    Type = "java.lang.String [].
    Writeable = "false".
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >
    <!-ActiveTypes attribute contains the subset of your mbean SupportedTypes who are active in the area. ->
    < MBeanAttribute
    Name = "ActiveTypes".
    Type = "java.lang.String [].
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >

    Problem:

    Identity asserter provider is not invoked for the request that has the cookie named OAMAuthnCookie_blr1234567.idc.oracle.com:7777.

    I did some experiments with the cookie name, to see where the problem could be

    Identity asserter provider is triggered for the following cookies:
    OAMAuthnCookie_blr1234567.idc.oracle.com7777.
    blr1234567. IDC. Oracle
    blr12_XXX. IDC. Oracle.com

    and it does not work for cookie name - OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I think that the name of the token supports not the colon. I don't have control over the name of the cookie, two points will always be

    Tried it with giving the name of the cookie after the encoding of the colon

    < MBeanAttribute

    Name = "SupportedTypes.

    Type = "java.lang.String [].

    Writeable = "false".

    Default = "new String() {& quot; OAMAuthnCookie_blr2211441.idc.oracle.com & #58;. 7777 & quot ;} »

    / >


    But still does not work
    Am I missing something? Any help will be appreciated.
    Help, please!

    colon ': ' is an illegal character in the name of the cookie.

    RFC 2616, Section 2.2 says:

    token = 1 *.

    separators = "(" | ")" | " <" |="" "="">" | " @"

    | "," | ";" | ":" | " \" |<">

    | "/" | "[" | "]" | "?" | "="

    | "{" | "}" | SP | HT

    It is clear ":" a "separator" and thus not allowed in a token or a cookie name.

  • Problems with exp util

    Hello, I want to export the diagram with all the tables and lines in this diagram, but I have a problem with the export of lines, I tried a lot of methods and are all does not work

    exp system / * QUEUE = exp_u.dmp LOG = exp_u.log OWNER = owner_name STATISTICS = NONE

    and here is the log message:

    Export: Release 10.2.0.4.0 - Production on sea Feb 12 14:54:17 2014

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

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit

    With the partitioning, Data Mining and Real Application Testing options

    Export in US7ASCII and AL16UTF16 NCHAR character set

    Server uses the AL32UTF8 (possible character set conversion) character set

    About to export specified users...

    . export of the actions and the patterns of objects procedures

    . exporting foreign function library names of user IOM

    . export synonyms for PUBLIC types

    . export synonyms for private types

    . export definitions of object type for the IOM user

    About to export objects of PRD_OIM...

    . export the database links

    . export of sequence numbers

    . export cluster definitions

    . about to export tables of PRD_OIM by conventional means...

    . export synonyms

    . export of the views

    . export of stored procedures

    . export of operators

    . export of referential integrity constraints

    . export of triggers

    . export indextypes

    . image bitmap, functional and extensible index export

    . export of posttables actions

    . export of materialized views

    . export of the instant newspapers

    . export the work queues

    . export of groups of refreshment and children

    . export of dimensions

    . export actions and procedures of post-compilation schema objects

    . export statistics

    Export completed successfully without warnings.



    Why this command do not export continue lines?


    And I try this method:

    expdp system / * schemas = dumpfile = exp_u.dmp OWNER_NAME

    and this

    exp system / * QUEUE = export.dmp GRANTS = Y INDEX = LINES Y = Y OWNER STATISTICS = NONE LOG = oim.log OWNER_NAME =

    and I have the same result.

    Any suggestions?

    Hello

    The journal you have shown is not associated with TABLE exported. I suppose that the user who you specified does not all tables. Can confirm you.

    Check the result of the following query:

    To connect to the specified schema and run the following query:

    Select count (1) from user_tables;

  • problem with adding line in tabular form after that put 4.1.1 to level

    We have recently installed the Update 4.1 .1. We now have a problem with some of our tabular forms created using the wizard. The delete and update feature works fine, but when trying to insert a new record, it will insert only the first record, but after that, it will no longer inserts. It acts as ApplyMRU (updated online Multi) is not at all shooting. No success or error message. I tried to create forms based on the rowid and also on the suites (with and without triggers), and they all behave the same way.

    This happens both in IE and Mozilla. Tabular forms were working fine before the upgrade.

    Everyone knows this?

    We just hit this issue and thanks to this thread and a light bulb above my head, resolved this question today. There is more to the story. Copy the necessary images in place works, but get the full version 4.1.1 images.

    We were already on 4.1.0.00.32, so I applied only Patch 13331096 upgrade to 4.1.1.00.23. Patch 13331096, at least one that I downloaded a few weeks ago IS NOT ALL OF THE NECESSARY IMAGES.

    Fortunately, I thought to download both. When I did a number of files in the directory images between the full version and the patch, the County came up short for the patch.

    If you have this problem, get your hands on the full release 4.1.1.00.23, NOT Patch 13331096and copy these files to image in place. Who sets the we.

Maybe you are looking for