Echo letter /proc/sysrq-trigger not-working? [Solved]

According to various resources including https://fedoraproject.org/wiki/QA/Sysrq … it_work.3F
It's possible to write a letter to trigger a sysrq command like so:
[root@a-pc proc]# echo t> /proc/sysrq-trigger
'm' - Will dump current memory info to your console.
Edit: apparently the info is outdated? At any-rate it writes correctly to journal rather than to console (I did check the journal as well before posting but I had a few processes on watch and forgot to filter those :S).  Feel free to delete this post if it's not contributing anything.
Last edited by dejy (2015-04-29 17:54:29)

Thanks for the tip, but I just discovered the issue on my own: I actually forgot to install "xf86-input-synaptics". (Well, it's the newbie corner... )
I think I installed it the first time I tried to get everything to work, and then forgot about it the second time I installed Arch on my machine... Sorry for all the fuss about nothing, apparently.
Last edited by Lustique (2013-11-29 20:43:37)

Similar Messages

  • Account Assignment Trigger not Working

    I'm working on Siebel Assignment Manager.. first I try to Assign Service Request to an Employee and in two Assignment mode (Batch and Dynamic) and it's work fine.
    but when I try to assign Account to a Position, and I follow the same steps I followed before, the monitor work and the owner change depending on the Score and the Rule not working ...on the other hand the trigger (Dynamic) not working at all, and there is no change
    I have searched to know where is the problem …and didn’t find solution
    please help me ASAP
    Thanks & Regards,
    Enas

    Hi Glenn,
    Thanks for u r replay.
    We are using our own ZVIEWS. We have copied the Bupasearch view and we done some modifications according to our requirement.(added DOB field)
    We got DOB in our Zview. But Customer search functionality is not working.
    Plz help me to solve the issue.
    Thanks,
    Sreedhar

  • Format Trigger not working in 10g Report.

    I have a report with two eclipses
    (*) Debit (*) Credit . Please note that the two asterics denotes eclipses.
    I have a format triggers on these eclipses based on the database item Debit_credit.
    IF :debit_credit = 'CREDIT' THEN
    RETURN FALSE;
    ELSE
    RETURN TRUE;
    End if;
    and vis-visa. However the format trigger is not working. Regardless of the value of
    debit_credit. I even created a frame around these eclipses and put my format trigger all to no avail. Please help.

    Create a boilerplate text in your repeating frame (get rid of the field :debit_credit from your layout, but leave it in your query). I created the boilerplate field B_1. My format trigger looks like:
    function B_1FormatTrigger return boolean is
    begin
      if upper(:debit_credit) = 'CREDIT' then
           srw.set_field(0, to_char('(*) CREDIT'));
       else srw.set_field(0, to_char('(*) DEBIT'));
      end if;
      return (TRUE);
    end;I hope I understood your question OK...I am not sure what an eclipses is?

  • IPod Buttons not working - Solved

    I have a 60G iPod that wasn't working and I resolved it. I don't know what generation iPod I have but I bought it in 2005. Anyways I was recently having issues where the buttons just weren't responding no matter what I did, it was just unusable. I couldn't play music adjust the volume or even reset it. I solved my problem by plugging it in to charge, toggled the lock button and then the buttons worked. I reset it (menu center for about 10 secs.) I was on this forum looking for an answer and couldn't find one. I just hope this helps someone else.
    Thanks,
    ThomerD
    HP nc8000 Windows XP Pro

    Thanks!My fast-forward was not working.I could skip to the next song but not skip through to a desired section.Thankfully your advice worked!Thanks for posting the information....

  • Gnome-online-accounts in gnome 3.2 not working[SOLVED]

    gnome-online-accounts in gnome 3.2 is not working.it gives a bad token request.are other arch users experiencing this problem.
    Last edited by PranavG (2011-10-02 15:52:33)

    There are issues with the proxy settings, and I had weird situations depending the network I was connecting...
    When I use my wireless network I can use the online accounts correctly.
    When I use a foreign wireless, mostly sure I can't.
    And when I set a local proxy (e.g. pivoroxy) for https protocol, I get this error while adding the account:
    http://www.mail-archive.com/desktop-pac … 25738.html
    That could be solved just by issuing:
    $ export https_proxy=
    $ gnome-control-center
    Hope this could be useful for you,
    Regards,
    EDIT: for some reason I wrote "I get this error will adding the account" instead of "I get this error *while* adding the account".
    Last edited by lapacho (2011-10-10 20:58:32)

  • After Logon on Database Trigger Not Working From Client Terminal

    Hi Every One
    I Have a Problem, I'am Using Oracle 10g R2, I'd Written After Logon on Database Trigger, I'd Written The Trigger Under The Under The User With DBA Privileges, and it is work Fine, but it is work only when i Logon On The Database from The Server Terminal with any user, and If Logon From any Other Terminal It Is Not Work,
    Can any One Know The Reason, Please Help me
    Yasser Mokhtar

    Please post the trigger code.

  • Business Rule in trigger not working

    Hi,
    I have business rule that no one below 18 years should be employed in this system.
    I have created a trigger that alerts me so, but when ever I insert someone either over 10 or below, it fires and deos not insert any record, but if I deleted the trigger, everything works fine.
    I should have put a check constraint (s_hire_date - s_dob) < 6570 on the table, but I just thought should be able to do it.
    Why please?
    stops insertion of under 18 years into employee table
    CREATE OR REPLACE TRIGGER Tr_new_employee
    BEFORE INSERT ON employee for each row
    DECLARE s_hire_date DATE;
    s_dob date;
    begin
    select :NEW.hire_date, :NEW.dob into s_hire_date, s_dob from employee
    where empid =:new.empid;
    IF (s_hire_date - s_dob) < 6570 then
    raise_application_error(-20101,'Person too young');
    end if;
    end;
    Many thanks in advance
    cube60

    Hello Warren and All,
    Thanks for the code, the trigger did compile successfully, but prevents any kind of insertion whether over 18 or younger.
    SQL> CREATE OR REPLACE TRIGGER Tr_new_employee
    2 BEFORE INSERT ON employee for each row
    3 DECLARE s_hire_date DATE;
    4 s_dob date;
    5 begin
    6
    7 select :NEW.hire_date, :NEW.dob into s_hire_date, s_dob from employee
    8 where empid =:new.empid;
    9
    10 IF TRUNC(months_between(s_hire_date,s_dob)/12) < 18 then
    11 raise_application_error(-20101,'Person too young');
    12 end if;
    13 end;
    14 /
    Trigger created.
    SQL> COMMIT;
    Commit complete.
    SQL> --under 18 to time of hire_date
    SQL> EXEC NEW_EMPLOYEE('CHARLES','DICKSON','M','29-JAN-1992','PT2','','','','',sysdate,NULL,09890111
    ,'HSBC','WANDSWORTH','CURRENT','PR3');
    BEGIN NEW_EMPLOYEE('CHARLES','DICKSON','M','29-JAN-1992','PT2','','','','',sysdate,NULL,09890111,'HS
    ERROR at line 1:
    ORA-01403: no data found
    ORA-01403: no data found
    ORA-06512: at "SYSTEM.TR_NEW_EMPLOYEE", line 5
    ORA-04088: error during execution of trigger 'SYSTEM.TR_NEW_EMPLOYEE'
    ORA-06512: at "SYSTEM.NEW_EMPLOYEE", line 26
    ORA-06512: at line 1
    SQL> COMMIT;
    Commit complete.
    SQL> --over 18
    SQL> EXEC NEW_EMPLOYEE('WARREN','TALENTINO','M','29-JAN-1975','HOURLY','','','','','18-FEB-2001',NUL
    L,36901212,'BARCLAYS','SYDENHAM','CURRENT','TEMP7');
    BEGIN NEW_EMPLOYEE('WARREN','TALENTINO','M','29-JAN-1975','HOURLY','','','','','18-FEB-2001',NULL,36
    ERROR at line 1:
    ORA-01403: no data found
    ORA-01403: no data found
    ORA-06512: at "SYSTEM.TR_NEW_EMPLOYEE", line 5
    ORA-04088: error during execution of trigger 'SYSTEM.TR_NEW_EMPLOYEE'
    ORA-06512: at "SYSTEM.NEW_EMPLOYEE", line 26
    ORA-06512: at line 1
    I know your logic is fine, something might be wrong with the trigger even though it created succesfully. It is not doing what it is intended to do.
    Many thanks
    cube60

  • Oracle Form Services Installation (Test.fmx) Trigger Not working

    Hi
    I install oracle BI and forms Services on oracle application infrastructure after installation i run the following command "http://ora.server.com:7778/forms/frmservlet?config=testfrm" it will show the form "form services install sucessfully" but when i do a certain cusmization on it i.e. put a one text box on that text put put a key_next tigger in which i show a alert message only. After Customization i run a same URL it will again show that form with the changes but the trigger (Key_next) will not fire
    I don't understatnd why tigger is not working or fire.

    So we understand things correctly,
    You are running a form and a trigger won't fire. What kind of trigger? A when-button-pressed, or a key-next-item, or something else? I don't believe key_next is a valid trigger.
    If you are using a key trigger, you need to make sure that the keys are mapped as you expect. You can see how the keys are mapped in the menu under Help => Keys when you run the form. Make sure the button is mapped like you expect. Additionally, you can modify the mapping by updating the resource file, but that's kind of outside the scope of this...
    This type of questions really is suited for the Forms forum under Developer Tools => Forms at: Forms
    If you need more help, post there. The focus of that section if Forms.

  • Trigger not working as expected

    create or replace trigger EMP_B4
      before insert on SCOTT.EMP 
      for each row
      when (NEW.SAL IS NULL)
    declare
      -- local variables here
      i NUMBER;
    begin
      :NEW.SAL := 22222;
    end EMP_B4;Hi,
    The trigger is not working; when an entry inserted with SAL null, I should see the salary set to default 22222. But sometimes, it dont work and SAL remains as NULL.
    Anyone encountered similar case before?
    Message was edited by:
    [email protected]

    Hi,
    Here is what i have done. I have used your trigger as;
    SQL> create or replace trigger EMP_B4
    2 before insert on SCOTT.EMP
    3 for each row
    4 when (NEW.SAL IS NULL)
    5 declare
    6 -- local variables here
    7 i NUMBER;
    8 begin
    9 :NEW.SAL := 22222;
    10* end EMP_B4;
    11 /
    Trigger created.
    SQL> insert into emp (empno,deptno) values (111,10);
    1 row created.
    SQL> select * from emp;
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 17-DEC-80 800 20
    7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
    7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
    7566 JONES MANAGER 7839 02-APR-81 2975 20
    7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
    7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
    7782 CLARK MANAGER 7839 09-JUN-81 2450 10
    7788 SCOTT ANALYST 7566 19-APR-87 3000 20
    7839 KING PRESIDENT 17-NOV-81 5000 10
    7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
    7876 ADAMS CLERK 7788 23-MAY-87 1100 20
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7900 JAMES CLERK 7698 03-DEC-81 950 30
    7902 FORD ANALYST 7566 03-DEC-81 3000 20
    7934 MILLER CLERK 7782 23-JAN-82 1300 10
    111 22222 10
    211 yogesh analyst 7369 12-DEC-05 22222 10 20
    SQL> insert into emp values (211,'yogesh','analyst',7369,'12-dec-2005','',10,20);
    1 row created.
    SQL> select * from emp;
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 17-DEC-80 800 20
    7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
    7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
    7566 JONES MANAGER 7839 02-APR-81 2975 20
    7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
    7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
    7782 CLARK MANAGER 7839 09-JUN-81 2450 10
    7788 SCOTT ANALYST 7566 19-APR-87 3000 20
    7839 KING PRESIDENT 17-NOV-81 5000 10
    7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
    7876 ADAMS CLERK 7788 23-MAY-87 1100 20
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7900 JAMES CLERK 7698 03-DEC-81 950 30
    7902 FORD ANALYST 7566 03-DEC-81 3000 20
    7934 MILLER CLERK 7782 23-JAN-82 1300 10
    111 22222 10
    211 yogesh analyst 7369 12-DEC-05 22222 10 20
    See, again it's working fine. Can you give a case where your trigger has not workrd properly.

  • Logon trigger not working over DB-Link?

    Hi all,
    I have a serious question about accessing tables over a database link.
    I have three schema:
    DATA@SOURCE
    INTERFACE@SOURCE
    WORK@TARGET
    Schema DATA has one table called T1
    The INTERFACE schema has select privileges on all tables from DATA. Furthermore schema INTERFACE has a logon trigger to change the "current schema" to DATA:
    CREATE OR REPLACE TRIGGER TRG_A_LOGIN_SET_SCHEMA AFTER LOGON
    ON INTERFACE.SCHEMA
    BEGIN
    execute immediate 'ALTER SESSION SET CURRENT_SCHEMA = DATA';
    END;
    The WORK schema has a database link to the INTERFACE schema called INT_DB_LINK.
    I am now logged into schema WORK on the TARGET database and I am executing following statement:
    select a from T1@INT_DB_LINK
    -> it's working
    Next I execute
    declare
      cursor c is 
      select a
        from T1@INT_DB_LINK
       where rownum<2;
    begin
      for r in c loop
        null;
      end loop;
    end;
    This is not working. Error message is ORA-000942: table or view does not exist.
    But why?
    Can anyone help me?
    Thanks in advance
    Py

    Hi all,
    after a long, very long search I found what caused this strange behaviour.
    The ORA- Error was not raised by the SQL-Execution-Engine but by the SQL-Parser/SQL-Validation.
    As the second statement is an anonymous SQL block the Oracle Parser checks all objects dependencies before execution.
    This means a connection is established from TARGET to SOURCE checking if table T1 is available. The strange thing is
    that on this connection the "ALTER SESSION" trigger is not fired. So the parser does not find object T1 in schema INTERFACE.
    If I create an empty table T1 in INTERFACE the anonymous block gets parsed/validated and the statement is executed. But this
    time the block does a normal "connect session" and the trigger is fired. This means the statements accesses the T1 table in
    schema DATA. (But T1 in INTERFACE has to be existent that parse/validation works)
    I don't know if this is a bug or a feature.
    To workaround this I have created private synonyms in schema INTERFACE pointing to the objects in DATA.
    Thanks for your help!
    Py
    regarding the other qestion:
    Yes, permissions are granted over a role.

  • Xrandr -o left not working[SOLVED]

    I try to rotate my monitor with this command and I get this error:
    [duncan@duncan-i7 ~]$ xrandr -o left
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 152 (RANDR)
    Minor opcode of failed request: 2 (RRSetScreenConfig)
    Serial number of failed request: 14
    Current serial number in output stream: 14
    [duncan@duncan-i7 ~]$
    running gnome, and the proprietarty nvidia drivers. Resolution is 1680x1050.
    Last edited by Raccoon1400 (2010-03-05 04:34:08)

    mh... had to add
    Option      "RandRRotation" "on"
    to the Monitor section for rotation to work. Adding it to the device section did not work. Can any1 confirm that, cause arch-wiki still says to add it to the device section.

  • Usb stick not working (solved)

    I copied some files to my usb stick and made sure it was working. Then I copied a open office file from my wifes computer running vista. After placing the usb stick back into my computer I got the following message
    A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
    I went to xsessions and got the following message.
    kded: ERROR: mount failed for /org/freedesktop/Hal/devices/volume_uuid_709E_ED39: org.freedesktop.DBus.Error.AccessDenied - A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
    kded: ERROR: mounting /org/freedesktop/Hal/devices/volume_uuid_709E_ED39 returned A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
    Seeing as the stick worked before I copied a file from vista, did the vista change something in the usb so it will not work in anything but windows? Is there anything I can do?
    changed /dev/sdc1 /mnt/usb vfat noauto,users 0 0
    to /dev/sdc1 /mnt/usb auto noauto,users 0 0
    and now everything works fine
    Last edited by smcsw2000 (2008-02-03 11:56:28)

    Try gparted to see what is loaded into your usb device partitions.....

  • Kernel requirements for HPLIP (not working) [SOLVED]

    My printer (connected to the network through my router with a static ip address) used to work fine with HPLIP and CUPS. When I last tested, I was (and am) using a custom-compiled zen kernel; the relevant modules that I compiled (separately, not into the kernel) are plip, ppdev, and parport. I am guessing that it is a combination of package upgrades and my custom kernel that is causing the problem below:
    My printer is detected by CUPS, and I can see it on localhost:631. When I send jobs to it, it begins "processing" them, then hangs on a (to-print) page and I see the message
    /usr/lib/cups/backend/hp failed
    I deleted the printer from CUPS and re-added using
    sudo hp-setup
    The process goes just fine, with hp-setup only throwing a warning about how dbus must be running for the PC to fax (with which I am not concerned).
    When I run hp-testpage, I get this:
    redscare:~> hp-testpage
    warning: python-dbus not installed.
    HP Linux Imaging and Printing System (ver. 3.9.12)
    Testpage Print Utility ver. 6.0
    Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.
    Using printer: Officejet_6500_E709n
    warning: Qt/PyQt 4 initialization failed.
    error: hp-testpage -u/--gui requires Qt4 GUI support. Entering interactive mode.
    error: Unable to communicate with device (code=12): hp:/net/Officejet_6500_E709n <-- This line is important?
    error: Unable to print to printer. Please check device and try again.
    note: If an error occured, or the test page failed to print, refer to the HPLIP website
    note: at: http://hplip.sourceforge.net for troubleshooting and support.
    Thanks in advance for your help
    Last edited by RedScare (2010-01-08 01:27:28)

    I didn't have python-dbus installed, which I did. hp-check -t still throws some errors, but I don't see how they are related to the printer not working (more scanning-related issues). Here's the new output of hp-check -t:
    Initializing. Please wait... \
    | SYSTEM INFO |
    Basic system information:
    Linux redscare 2.6.32-ZEN #1 ZEN SMP PREEMPT Tue Jan 5 20:30:35 EST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz GenuineIntel GNU/Linux
    Distribution:
    unknown 0.0
    Checking Python version...
    OK, version 2.6.4 installed
    Checking PyQt 4.x version...
    error: NOT FOUND OR FAILED TO LOAD!
    Checking for CUPS... Status: scheduler is running Version: 1.4.2
    error_log is set to level: warn
    Checking for dbus/python-dbus... dbus daemon is running.
    python-dbus version: 0.83.0
    | COMPILE AND RUNTIME DEPENDENCIES |
    note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
    note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
    Checking for dependency: CUPS - Common Unix Printing System...
    OK, found.
    Checking for dependency: CUPS devel- Common Unix Printing System development files...
    OK, found.
    Checking for dependency: CUPS image - CUPS image development files...
    OK, found.
    Checking for dependency: DBus - Message bus system...
    OK, found.
    Checking for dependency: gcc - GNU Project C and C++ Compiler...
    OK, found.
    Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
    OK, found.
    Checking for dependency: libcrypto - OpenSSL cryptographic library...
    OK, found.
    Checking for dependency: libjpeg - JPEG library...
    OK, found.
    Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
    OK, found.
    Checking for dependency: libpthread - POSIX threads library...
    OK, found.
    Checking for dependency: libtool - Library building support services...
    OK, found.
    Checking for dependency: libusb - USB library...
    OK, found.
    Checking for dependency: make - GNU make utility to maintain groups of programs...
    OK, found.
    Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: PolicyKit - Administrative policy framework...
    OK, found.
    Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
    error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
    Checking for dependency: Python DBus - Python bindings for DBus...
    OK, found.
    Checking for dependency: Python devel - Python development files...
    OK, found.
    Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: Python XML libraries...
    OK, found.
    Checking for dependency: Python 2.3 or greater - Required for fax functionality...
    OK, found.
    Checking for dependency: Python 2.2 or greater - Python programming language...
    OK, found.
    Checking for dependency: Reportlab - PDF library for Python...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: SANE - Scanning library...
    error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
    Checking for dependency: SANE - Scanning library development files...
    error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
    Checking for dependency: scanimage - Shell scanning program...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: xsane - Graphical scanner frontend for SANE...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    | HPLIP INSTALLATION |
    Currently installed HPLIP version...
    HPLIP 3.9.12 currently installed in '/usr/share/hplip'.
    Current contents of '/etc/hp/hplip.conf' file:
    # hplip.conf. Generated from hplip.conf.in by configure.
    [hplip]
    version=3.9.12
    [dirs]
    home=/usr/share/hplip
    run=/var/run
    ppd=/usr/share/ppd/HP
    ppdbase=/usr/share/ppd
    doc=/usr/share/doc/hplip-3.9.12
    icon=/usr/share/applications
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/share/cups/drv/hp
    # Following values are determined at configure time and cannot be changed.
    [configure]
    network-build=yes
    pp-build=no
    gui-build=yes
    scanner-build=yes
    fax-build=yes
    dbus-build=yes
    cups11-build=no
    doc-build=yes
    shadow-build=no
    hpijs-install=yes
    foomatic-drv-install=yes
    foomatic-ppd-install=yes
    foomatic-rip-hplip-install=yes
    hpcups-install=yes
    cups-drv-install=yes
    cups-ppd-install=no
    internal-tag=3.9.12.29
    restricted-build=no
    ui-toolkit=qt4
    qt3=no
    qt4=yes
    policy-kit=no
    hpijs-only-build=no
    lite-build=no
    udev-acl-rules=no
    hpcups-only-build=no
    hpijs-only-build=no
    Current contents of '/var/lib/hp/hplip.state' file:
    # hplip.state - HPLIP runtime persistent variables.
    [plugin]
    installed=0
    eula=0
    Current contents of '~/.hplip/hplip.conf' file:
    [last_used]
    printer_name = BlackPrinter
    device_uri = hp:/net/Officejet_6500_E709n?zc=PRINTER
    [installation]
    version = 3.9.8.36
    date_time = 10/15/09 23:29:55
    | DISCOVERED USB DEVICES |
    No devices found.
    | INSTALLED CUPS PRINTER QUEUES |
    BlackPrinter
    Type: Printer
    Device URI: hp:/net/Officejet_6500_E709n?zc=PRINTER
    PPD: /etc/cups/ppd/BlackPrinter.ppd
    PPD Description: HP Officejet 6500 e709n, hpcups 3.9.12 Printer status: printer BlackPrinter is idle. enabled since Wed 06 Jan 2010 04:26:39 PM EST
    error: Unable to communicate with device (code=12): hp:/net/Officejet_6500_E709n?zc=PRINTER
    error: unable to open channel
    error: Communication status: Failed
    BlackPrinterFax
    Type: Fax
    Device URI: hpfax:/net/Officejet_6500_E709n?zc=PRINTER
    PPD: /etc/cups/ppd/BlackPrinterFax.ppd
    PPD Description: HP Fax hpcups Printer status: printer BlackPrinterFax is idle. enabled since Wed 06 Jan 2010 04:26:57 PM EST
    error: Unable to communicate with device (code=12): hpfax:/net/Officejet_6500_E709n?zc=PRINTER
    error: unable to open channel
    error: Communication status: Failed
    | SANE CONFIGURATION |
    'hpaio' in '/etc/sane.d/dll.conf'...
    error: '/etc/sane.d/dll.conf' not found. Is SANE installed?
    | PYTHON EXTENSIONS |
    Checking 'cupsext' CUPS extension...
    OK, found.
    Checking 'pcardext' Photocard extension...
    OK, found.
    Checking 'hpmudext' I/O extension...
    OK, found.
    Checking 'scanext' SANE scanning extension...
    error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.
    |
    | USER GROUPS |
    root bin daemon sys adm disk wheel log
    | SUMMARY |
    error: 13 errors and/or warnings.
    Please refer to the installation instructions at:
    http://hplip.sourceforge.net/install/index.html
    Done.

  • Report format trigger not working

    Hi,
    I am using a format trigger on a column in my report as follows:
    function B_9FormatTrigger return boolean is
    begin
    if (:TEST > 30) then
    return (FALSE);
    else
    return (TRUE);
    end if;
    end;
    When testing in reports builder everything works fine, but when running the report from a form, the trigger is not executed.
    I am thinking this might have something to do with te reports runtime, but i don't know how to solve it.
    I am using Report Builder 9.0.4.0.33
    Edited by: user10085365 on 3-feb-2009 6:12

    so, did you try my suggestion to switch the condition?
    Or, is there maybe an old rep-file in your runtime-environment which doesn't include the format-trigger? Try to colorize a field and see if the correct reports-version is run.
    And I am a 100% shure the :TEST value is correct.
    So the field that should be hidden, stays displayedYes, but its unlikely that you hit a bug here (but not impossible), the chance in gendral is higher that there is some other reason for that. (in my case, 99.99% of the things which don't work are my own fault ;-) )

  • Trigger not working correctly

    Hello all.
    I am working on a project, Yes it is for a class. I am creating a simple Boat rental db. I am trying to construct a Trigger that will verify when a Reservation is made for a particular date and time in the future (current day and beyond) that the Rental_Start_Time falls within the business hours for that particular date.
    I have a Reservation table
    CREATE TABLE RESERVATION
      (res_id NUMBER (10),
      req_date  DATE,
      renter_id NUMBER(10),
      model VARCHAR2(30) NOT NULL,
      rental_date DATE NOT NULL,
      rental_start_time DATE NOT NULL,
      rental_end_time DATE NOT NULL,
      guests NUMBER(2) NOT NULL,
      CONSTRAINT res_id_pk
      PRIMARY KEY(res_id, req_date, renter_id, model))My trigger is as such:
    CREATE OR REPLACE TRIGGER bus_hrs
    BEFORE INSERT ON RESERVATION
    FOR EACH ROW
    DECLARE
    RST DATE :=  :NEW.RENTAL_START_TIME;
    RD DATE := :NEW.RENTAL_DATE;
    BEGIN
    IF ((TO_CHAR(RD,'D') BETWEEN 1 AND 5) AND
    (TO_DATE(TO_CHAR(RST, 'hh24:mi'), 'hh24:mi') NOT BETWEEN
    TO_DATE('12:00', 'hh24:mi') AND TO_DATE('21:00', 'hh24:mi')))
    OR ((TO_CHAR(RD, 'D') BETWEEN 6 AND 7)
    AND (TO_DATE(TO_CHAR(RST, 'hh24:mi'), 'hh24:mi') NOT BETWEEN
    TO_DATE('08:00', 'hh24:mi') AND TO_DATE('24:00', 'hh24:mi'))) THEN
    RAISE_APPLICATION_ERROR(-20999,
    'Rental start times cannot be scheduled outside of business hours');
    END IF;
    END bus_hrs;And this is my call:
    CALL make_reservation(SYSDATE,'11','pontoon' , (to_date('2012/06/15 08:00', 'yyyy/mm/dd hh24:mi')),(to_date('2012/06/15 08:00', 'yyyy/mm/dd hh24:mi')), (to_date('2012/06/15 16:00', 'yyyy/mm/dd hh24:mi')), '12');And this is the result I am seeing:
    ORA-20999: Unhandled error in make_reservation. Please contact your application administrator with the following information: ORA-01850: hour must be between 0 and 23 ORA-06512: at "LAKERS.BUS_HRS", line 9 ORA-04088: error during execution of trigger 'LAKERS.BUS_HRS' ORA-06512: at "LAKERS.EXCEPTION_HANDLER", line 11 ORA-06512: at "LAKERS.MAKE_RESERVATION", line 15
    In the Call I am trying to make enter a reservation for June 15 with a start time of 08:00 AM which should be an hour of 8, however the error response tells me it is not recognizing the hour.
    Am I formating the Call wrong or do i have a problem within the trigger?
    Thanks for taking the time to look.
    G

    Hi,
    You're doing a lot of converting between DATEs and VARCHAR2s, and back again. There's no need for that.
    It looks like all you need to know about :NEW.rental_start_time is the time of day. If so, convert it once for all into a form convenient to work with, such as as string like '14:30'. Likewise for :NEW.rental_date.
    I think you want something like this:
    CREATE OR REPLACE TRIGGER bus_hrs
    BEFORE INSERT ON RESERVATION
    FOR EACH ROW
    DECLARE
        days_into_week     NUMBER          := :NEW.rental_date
                              - TRUNC (:NEW.rental_date, 'IW');
        rst               VARCHAR2 (5)     := TO_CHAR ( :NEW.rental_start_time
                                        , 'HH24:MI'
    BEGIN
        IF  (days_into_week <  5  AND  rst NOT BETWEEN '08:00' AND '24:00')     -- Monday-Friday
        OR  (days_into_week >= 5  AND  rst NOT BETWEEN '12:00' AND '21:00')     -- Saturday-Sunday
        THEN
            RAISE_APPLICATION_ERROR ( -20999
                        , 'Rental start times cannot be scheduled outside of business hours'
        END IF;
    END bus_hrs;
    SHOW ERRORSDo you really need two separate columns, rental_date and rental_start_time? What are you using the hours, minutes and seconds parts of rental_date for? What are you using the year, month and day parts of rental_start_date for?
    TO_CHAR (date_column, 'D') depends on your NLS_TERRITORY setting. If you ever change NLS_TERRITORY, you're probably not going to remember to change this trigger. I used 'IW' instead of 'D', because 'IW' does not depend on any NLS settings.

Maybe you are looking for

  • 2 Valuation Class - Same Material Type

    Hi , I have 2 Valuation class 9001 & 9003 for ZPAC Materil Type . 9001 - Packaging & 9003 Casing . Where i can find the difference between this Valuation class in Material Master. I have 2 Material with different Valuation class with same Material ty

  • IPhone UK - soon available on Orange and T-Mobile

    With the recent news that Orange (and T-Mobile) will soon be selling 3G and 3GS iPhone's for the UK market ... Does this mean that O2 will finally be releasing unlock codes for those whom request it? In our household we have 3 iPhones, all on O2 ...

  • MacBook Pro late 2013 not charging

    Hello guys! Well, I'm having a problem with my laptop. (MacBook Pro late 2013, 15" 2.3 GHz, 16 GB ram etc) Today, my battery went down to 3% and I connected it to its charger but it does not do anything. No light at all and of course no charging. As

  • Problems exporting Raw to use in Photoshop

    I searched past posts and found this problem but did not find a solution. When I export a file from iphoto 6 in raw photoshop will not recognize it, either as photoshop raw or camera raw. When I open it by setting all document in the dialog box, the

  • Emailing/exporting video at reduced size?

    Videos from my Micro 4/3 camera are huge in size. I like using Aperture to import them, where I keep them stored alongside my photos. But when I want to share them (MobileMe, Mail), Aperture doesn't give me any option to reduce the file size. For exa