ORA-27369: jobs of type EXECUTABLE failed with exit code: key has expired

Hello

I defined the next shift on Linux Redhat 5.4 & DB Oracle 10.2.0.4:
BEGIN
  dbms_scheduler.create_job(job_name        => 'expjob',
                            job_type        => 'executable',
                            job_action      => '/EXPORT/scott_cmd',
                            enabled         => TRUE,
                            auto_drop       => FALSE);
END;
/

drwxrwxrwx   2 oracle oinstall  4096 Jul 10 19:19 EXPORT
where:
/home/oracle>cat /EXPORT/scott_cmd
#!/bin/sh
exp parfile=./scott.par

/home/oracle>cat /EXPORT/scott.par
FILE=scott.dmp
USERID=STRMADMIN/STRMADMIN
OWNER=SCOTT
LOG=scott.log

/home/oracle>ls -l /EXPORT/scott_cmd
-rwxr-xr-x 1 oracle oinstall 34 Jul 10 19:16 /EXPORT/scott_cmd

/home/oracle>ls -l /u01/app/oracle/OraHome_1/rdbms/admin/externaljob.ora
-rw-r--r-- 1 root oinstall 1575 Jul 10 18:42 /u01/app/oracle/OraHome_1/rdbms/admin/externaljob.ora

(run_user = nobody
run_group = nobody)

/home/oracle>ls -l  /u01/app/oracle/OraHome_1/bin/extjob
-rwsr-x--- 1 root oinstall 64842 Jul  8 14:21 /u01/app/oracle/OraHome_1/bin/extjob

/home/oracle>ls -l  /u01/app/oracle/OraHome_1/bin/extjobo
-rwxr-xr-x 1 oracle oinstall 64842 Jul  8 14:21 /u01/app/oracle/OraHome_1/bin/extjobo
When I executed as user STRMADMIN (a DBA & CREATE JOB Privileg) work, I always get the error:
/EXPORT>sqlplus STRMADMIN/STRMADMIN

SQL*Plus: Release 10.2.0.4.0 - Production on Sun Jul 10 19:40:24 2011

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exec dbms_scheduler.run_job('expjob');
BEGIN dbms_scheduler.run_job('expjob'); END;

*
ERROR at line 1:
ORA-27369: job of type EXECUTABLE failed with exit code: Key has expired
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 1


SQL>
Help, please

concerning

hqt200475

Published by: hqt200475 on July 10, 2011 10:04

Published by: hqt200475 on July 10, 2011 10:05

The only thing else I see is

QUEUE = Scott.dmp
LOG = Scoot.log

Not sure how Planner will know what directory to write these.

Is it possible to provide a full path?

Best regards

mseberg

Tags: Database

Similar Questions

  • ORA-27369: jobs of type EXECUTABLE failed with exit code: permission denied

    Dear experts,

    I created a simple external job to run the export job (expdp) to be run from PL/SQL. When I create a job as user SYS, labor runs well, but the same fails when I run it as a user of the application. I'm sure I'm missing a few privileges. I go through internet, MOS for a solution, but could not find a (my bad!).

    Grateful if you could point me the right direction.

    Here is the work:
    BEGIN
    dbms_scheduler.create_job(
    job_name => 'mytestjob',
    job_type => 'executable',
    job_action => '/u01/myexpdp.sh',
    enabled => TRUE,
    auto_drop         =>   FALSE);
    END;
    /
    
    
    exec dbms_scheduler.run_job('mytestjob');
    performance of the work as a user 'TEST '.
    SQL> show user
    USER is "TEST"
    SQL>
    
    SQL> exec dbms_scheduler.run_job('mytestjob');
    BEGIN dbms_scheduler.run_job('mytestjob'); END;
    
    *
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
    ORA-06512: at "SYS.DBMS_ISCHED", line 185
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
    ORA-06512: at line 1
    
    
    SQL>
    permissions of files
    -rwxrwxrwx 1 oracle oinstall 1539 Mar 21 17:58 /u01/myexpdp.sh
    expdp script
    cat /u01/myexpdp.sh
    
    #!/bin/bash
    source /home/oracle/.bash_profile
    
    ORACLE_SID=TESTDB
    
    /u01/app/oracle/product/11.2.0.1/db1/bin/expdp parfile=/u01/expoptions.txt
    expdp settings file
    cat u01/expoptions.txt
    userid=scott/tiger
    directory=DATA_PUMP_DIR
    dumpfile=test.dmp
    tables=emp
    Published by: Prem Kumar on March 21, 2013 04:14

    Have you defined a credential for your host with dbms_scheduler.create_credential connection and specified the credentials with the work?
    --
    John Watson
    Oracle Certified Master s/n
    http://skillbuilders.com

  • ORA-27369: jobs of type EXECUTABLE failed with exit code: 274662

    I'm trying to run a shell via dbms_scheduler script. Shell scripts calls the oracle procedure that inserts a record into the table of debugging.

    Code to generate the script

    declare
    Start
    () dbms_scheduler.create_job
    job_name = > 'test_call_unix '.
    , job_type = > 'executable '.
    , job_action = > ' / carsd/Input/Current/BAM/calling_proc.sh'
    , start_date = > SYSDATE
    , repeat_interval = > ' FREQ = second; INTERVAL = 1'
    enabled = > TRUE
    , auto_drop = > TRUE
    , comments = > "Calling unxi sh.
    );
    end;

    the script shell (calling_proc.sh)

    Touch called.log
    sqlplus $ORA_USER/$ORA_PWD@$ORA_HOST < < EOF1
    exec p1_sh;
    "exit";
    EOF1

    I gave chmod 777 calling_proc.sh

    This error I got in the ALL_SCHEDULER_JOB_RUN_DETAILS table

    ORA-27369: jobs of type EXECUTABLE failed with exit code: 274662
    STANDARD_ERROR = "" Oracle Scheduler error: configuration file is not owned by root is writable by group or others or extjob is not setuid and owned by the root ' "

    Thanks in advance
    Jeeva.

    Hello

    Please see this post

    Guide to the external work on with dbms_scheduler 10g for example scripts, batch files

    Particularly check the permissions on $ORACLE_HOME/rdbms/admin/externaljob.ora and $ORACLE_HOME/bin/extjob are correct

    Also note that your script will not work because you must set ORACLE_HOME, ORACLE_SID and path so that sqlplus can be found and will run.

    Hope this helps,
    Ravi.

  • ORA-27369: failure of the EXECUTABLE work with exit code: no such file or dir

    Hi all

    I'm new with DBMS_SCHEDULER and my need is to create a job, without program and schedule, I can call in an app of the Apex.
    This work carried a window * by cmd.exe .bat file
    I have test the .bat with doubleclick and it works.
    I have test the window run with the string
    c:\windows\system32\cmd.exe/c C:/mycompletepath/myfilename.bat > nul
    and it works.

    I have run the following
    execute DBMS_SCHEDULER.create_job (
                   job_name=>'EIM_JOB',
                   job_type=>'EXECUTABLE',
                   job_action=>'c:\windows\system32\cmd.exe',
                   number_of_arguments=>1,
                   auto_drop=>FALSE,
                   enabled=>FALSE,
                   comments=>'Job Lancio EIM'
              );
    and the task is created.

    I run this
    execute DBMS_SCHEDULER.set_job_argument_value('EIM_JOB',1,' /c C:/mycompletepath/myfilename.bat > nul');
    execute DBMS_SCHEDULER.enable('EIM_JOB');
    execute DBMS_SCHEDULER.PURGE_LOG(job_name=>'EIM_JOB');
    execute DBMS_SCHEDULER.run_job('EIM_JOB');
    but error ORA-27369: jobs of type EXECUTABLE failed with exit code: no such file or directory is triggered

    The argument is uge and read about it here https://forums.oracle.com/forums/thread.jspa?threadID=701740 here https://forums.oracle.com/forums/thread.jspa?threadID=555102 and here http://www.oracle-base.com/articles/11g/SchedulerEnhancements11gR1.php_ I guess that my problem is quite on the credentials , but I need help or advice to clearly identify, check and solve the problem.

    Any kind of help will be appreciated.
    Thank you

    Alex

    Hi Alessandro,.

    Other registered Oracle services?

    This service is automatically created during a successful installation of the database under Windows. If she is not there, something may have gone wrong during the installation.

    Thank you
    Ravi.

  • Error "unable to register the DLL/OCX: Regsvr32 failed with exit code 0x5" when installing a WinUtilities

    Hello

    After the installation of WinUtilities, I get the error: failed to register the DLL/OCX: Regsvr32 failed with exit code 0 x 5.

    My system is Windows XP.

    Are there any missing service or not started?

    Thank you.

    Access the Run item on the start menu and type:

    regsvr32

  • I just installed lightroom cc on a brand new and reveived laptop 2 following errors.  can someone tell me what they mean and wll prevent of sing lightroom?  ERROR: third charge useful Installer vcredist_x64.exe failed with exit code:-2147024546

    I just installed lightroom cc on a laptop computer brand new and reveived errors the following 2.  can someone tell me what they mean and they will prevent to use lightroom?

    ERROR: third charge useful Installer vcredist_x64.exe failed with exit code:-2147024546

    AND

    ERROR: Cannot install the Microsoft Visual C++ 2012 Redistributable Package (x 64). Please try to install by double-clicking the executable file to "C:\Users\CHRIST~1\AppData\Local\Temp\{7A86BA4B-C59E-4130-9C4D-DA8765643E21}\Lightroom_6_ LS11\payloads\Microsoft VC 2012 Redist (x 64) \vcredist_x64.exe", or download and install the 2012 Microsoft Visual C++ Redistributable Package last (x 64) Microsoft Web site - www.microsoft.com

    Download Visual C++ Redistributable for Visual Studio 2012 updated 4 of the official Microsoft Download Center

  • ASUS new comp, windows 8.1... try to install Adobe photoshop CC (installed 42%), lightroom CC and creative cloud with msg:ERROR combo: third payload Installer vcredist_x64.exe failed with exit code:-2147024546 and msg:ERROR: cannot install microphone

    New Asus windows 8.1 desktop computer... try to install Adobe photoshop CC (installed 42%), lightroom CC and creative cloud with msg:ERROR combo: third payload Installer vcredist_x64.exe failed with exit code:-2147024546 and msg:ERROR: failure to install the Package redistributable Microsoft Visual C++ 2012 (x 64). Please try to install by double-clicking the executable file to "C:\Users\Milan\AppData\Local\Temp\{12D1155A-EC7D-48B0-B8A9-1738A801773A}\Photoshop_15_LS 20_win64\Adobe CC 2014\payloads\Microsoft VC 2012 Redist (x 64) \vcredist_x64.exe", or download and install the 2012 Microsoft Visual C++ Redistributable Package last (x 64) Microsoft Web site - www.microsoft.com.

    When you try to install MS Visual C++ Redistributable Package 2012 on my computer it comes to msg: you cannot run it on this PC... Please HELP Milan

    Hi Milan, please share the OS version so that we can help you properly. Check: How to fix error download creative cloud?

    Let us know if you still get the same message.

    It's you

    Atul_Saini

  • Here are the errors I get the error message: third payload Installer vcredist_x64.exe failed with exit code:-2147024546

    Here are the mistakes I have. I can't find correct or what to do

    ERROR: third charge useful Installer vcredist_x64.exe failed with exit code:-2147024546

    ERROR: Cannot install the Microsoft Visual C++ 2012 Redistributable Package (x 64). Please try to install by double-clicking the executable file to "C:\Users\Jamie\AppData\Local\Temp\{7EFCC578-C818-4A2C-B271-8C203C75F907}\Photoshop_15_LS 20_win64\Adobe CC 2014\payloads\Microsoft VC 2012 Redist (x 64) \vcredist_x64.exe", or download and install the 2012 Microsoft Visual C++ Redistributable Package last (x 64) Microsoft Web site - www.microsoft.com

    Hi Jamie,

    Please refer to the link below where this issue has been addressed:

    CC of Photoshop has not installed correctly - vcredist_x86

    Kind regards

    Sheena

  • Third-party installer vcredist_x64.exe payload failed with exit code: 2147942750

    Hello

    I had problems with the Prime Minister since installing it on Windows 8.1

    I am registered with creative cloud but first of all, got to actually program loading (it just kept trying to load then was going to)

    Then it loads but would not give me an option to edit movies actually pulling them to the timeline (it would drag the film only no sound)


    And today I tried an upgrade but you receive an error with it. As shown above (the complete summary is below).

    I tried to uninstall and reinstall through windows and it appeared to uninstall and resintall but I now have this problem.

    < PRE > exit code: 6

    Please see specific errors below for troubleshooting. For example, the ERROR:

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 2 error (s)

    -Payload: Package redistributable Microsoft Visual C++ 2012 (x 64) 11.0.61030.0 {3E272A93-C06B-4206-AD02-0EBE02535E20}.

    ERROR: third charge useful Installer vcredist_x64.exe failed with exit code: 2147942750

    ERROR: Failure of the Package redistributable Microsoft Visual C++ 2012 (x 64) to repair. Please try to fix it by double-clicking the executable file to "C:\Users\Tony\AppData\Local\Temp\{16356A70-E248-4837-900C-D624C25EAB3B}\PremierePro_8_LS 20\Adobe first Pro CC 2014\payloads\Microsoft VC 2012 Redist (x 64) \vcredist_x64.exe", or download and install the 2012 Microsoft Visual C++ Redistributable Package last (x 64) Microsoft Web site - www.microsoft.com

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

    < / PRE >

    luminance wrote:

    Just found a solution. Access the MSFT site: http://www.microsoft.com/en-us/download/confirmation.aspx?id=30679

    Install updates, select Repair and restart

    Isaac Coker

    It worked for me.  Had the problem after a clean reinstall of Win 7 pro x 64.

  • Commissioning the message 'unable to register the dll/ocx regsvr32 failed with exit code 0 x 3 c:\windows\system32\mscomct2.ocx.

    I started my PC in win7 Pro 64 bit, and I got the error message that says:

    c:\windows\system32\mscomct2.ocx

    Unable to register the dll/ocx: regsvr32 failed with exit code 0 x 3

    I have not installed any software recently.

    I clicked 'OK' and then got this error:

    c:\windows\system32\msmapi32.ocx

    Unable to register the dll/ocx: regsvr32 failed with exit code 0 x 3

    All the help to identify root causes and resolve this situation?

    Thank you

    I have no idea what happened, but after restart PC message did not appear again

  • ERROR: DW071: ERROR: DW003: third payload Installer vcredist_x64.exe failed with exit code: ERROR-2147024546: cannot install the Microsoft Visual C++ 2012 Redistributable Package (x 64). I would be grateful if someone could help me.

    I get the following errors when I am trying to download a test version of Dw;

    ERROR: DW071:

    ERROR: DW003: third payload Installer vcredist_x64.exe failed with exit code:-2147024546

    ERROR: Cannot install the Microsoft Visual C++ 2012 Redistributable Package (x 64).

    Chat is closed. I would be grateful if someone in the community could help me.

    Take a look at this answer Re: third payload Installer vcredist_x64.exe failed with exit code: 2147942750

  • ERROR: third charge useful Installer vcredist_x64.exe failed with exit code:-2147024546

    Hello

    can someone help with this error I get?

    Hello

    This link may help: third payload Installer vcredist_x64.exe failed with exit code: 2147942750

    Kind regards

    Sheena

  • install the Acrobat DC CC failed with exit code: 1603

    After the purchase of more complete CC and installed successfully in many applications, when I came to install Acrobat DC installation failed whith code in the subject... Adobe Acrobat DC_15.8.20082.0 Adobe Acrobat\ Setup.exe

    error: third-party installer payload Adobe Acrobat\Setup.exe failed with exit code: 1603

    Hello

    Please consult the following document that would give you more details and solutions for the exit code 1603.

    Please try and if all goes well it should fix it. Let us know how it goes.

    Error 1603: A fatal error occurred during installation

    Concerning

    Sukrit diallo

  • I HAVE 2 ERRORES AL INSTALAR LIGHTROOM 1) installation of the Package failure redistributable Microsoft Visual C++ 2012 (x 64)... Third party 2) payload Installer vcredist_x64.exe failed with exit code:-2147024546 - No. YANG UNA IDEA OF Q SEA ESTO, AYUDAA

    I have two specific errors to install lightroom 1)

    Third-party installer vcredist_x64.exe payload failed with exit code:-2147024546

    2)Failed to install Microsoft Visual C++ 2012 Redistributable Package (x64). I don´t have any idea what to do, heeeelp!! please!!

    Leave the creative Cloud desktop application.

    Go to Control Panel > program and features.

    Under the list of programs, look for " 2012 Microsoft Visual C++ Redistributable package (x 64)" and uninstall the same.

    When you are prompted to " reboot" the computer.

    Then uninstall " package redistributable Microsoft Visual C++ 2012 (x 64).

    Once you had uninstalled package redistributable Microsoft Visual C++ 2012 (x 64). Click on the link below and "vcredist_x64.exe" download and install the same.

    http://download.Microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/VC redist_x64.exe

    Then launch application creative cloud and try to install again and check.

  • Try to download the free trial version DC Pro: failed with exit code: 3010

    Try to download the free trial version DC Pro: failed with exit code: 3010.  He started downloading but never finished.

    NEVERMIND, I retried and it seems that he terminated normally.

Maybe you are looking for

  • Firefox does not work

    Download "dialog" with the "gray area" to type in something. who does not either; Click the box outside get ' error tone ", click inside the box of nothing. cannot close yet; computer restarted, tried firefox again, once more the same dialog box. uni

  • ITunes library don't sync all the library on my iPod Classic 5th

    Hi all. My iTunes library is not synchronized all the library on my iPod Classic 5th. The library contains 8136 songs, iPod displays only 8120 songs after synchronization. I hope you can help me. Thank you.

  • Hard drive shows only 32 GB

    Hello I own as a HP Pavilion dv6830us laptop w / Windows Vista Home Premium bought a few years ago.  The original WD25 - BEVS hard drive has failed.  I bought a WD Scorpio Black 500 GB WD5000BPKT to replace.  Installed the two recovery discs purchase

  • Bad analysis - don't scan full page

    I have Adobe Acrobat 8 on Windows XP.  When I scan a document in full page (with white edges and a little space of white around several objects that is scanning ID cards) - it only scans the objects - not the entire page.  The person on the other end

  • Windows Defender error [0 * 80070424 - the specified service does not exist as an installed service.

    Hi, I have problems with my Security Center, I can't put it, I get an error indicating that the SECURITY CENTER can NOT BE STARTED! And everytime I open Windows Defender, I get this error "Windows Defender encountered an error 0 * 80070424.The indica