External job creation ORA-27370

Hi Team,
In oracle documentation it is mentioned
The CREATE EXTERNAL JOB privilege is required for database users who want to execute jobs that run on the operating system outside the database. By default, this privilege is granted to all users who have been granted the CREATE JOB privilege.
So as per documentation it is not mandatory to be sysdba could yo please make sure the user who run the job is having  CREATE EXTERNAL JOB privilege
However although user has CREATE EXTERNAL JOB
running the following
When running the following statement below:
SQL> BEGIN
DBMS_SCHEDULER.create_job (job_name => 'test_shell',
job_type => 'EXECUTABLE',
job_action => 'ls -l',
start_date => SYSDATE,
repeat_interval => 'FREQ=MINUTELY; INTERVAL=1',
enabled => TRUE,
COMMENTS => 'Calling shell script from Oracle');
END;
getting
ERROR at line 1:
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing extjob wrapper failed with
status: 13
ORA-27301: OS failure message: Permission denied
ORA-27302: failure occurred at: sjsec 3
ORA-06512: at "SYS.DBMS_ISCHED", line 185
ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
ORA-06512: at line 2
using the following it worked
Create the script /tmp/run_test.sh with:
#!/bin/bash
date >> /tmp/run_test.log
b. Change permissions to 755 /tmp/run_test.sh
c. Execute the script and confirm that the file /tmp/run_test.log is created.
d. As sys execute:
begin
dbms_scheduler.create_program
program_name => 'RUN_TEST',
program_type => 'EXECUTABLE',
program_action => '/tmp/run_test.sh',
enabled => TRUE,
comments => 'testing script'
end;
begin
dbms_scheduler.create_schedule
schedule_name => 'EVERY_MIN',
repeat_interval => 'FREQ=MINUTELY; INTERVAL=1',
comments => 'Every 1-mins'
end;
begin
dbms_scheduler.create_job
job_name => 'RUN_TEST_JOB',
program_name => 'RUN_TEST',
schedule_name => 'EVERY_MIN',
comments => 'test script ',
enabled => TRUE
end;
So is it mandatory to use sysdba?
Thanks in Advance,
Jo.

Thanks Grey,
The db version is 11.2.0.3 the OS user is the owner of oracle software for permissions all were done as per note 1059981.1
Regards,

Similar Messages

  • CloudControl 12c: ORA-27370: job slave failed to launch a job of type EXEC

    Hello ,
    when trying to execute a scheduler program/scheduler job in CloudControl 12c I'm getting the error:
    ORA-27370: job slave failed to launch a job of type EXECUTABLE ORA-27300: OS system dependent operation:accessing extjob wrapper failed with status: 2 ORA-27301: OS failure message: No such file or directory ORA-27302: failure occurred at: sjsec 3
    Havent't found much regarding this error and CloudControl 12c. Any help will truly get appreciated...
    Rgds
    JH

    Hi Eric ,
    many thanks for your support and help so far.
    We still use GridControl 10g - and for that the programs/jobs executed by dbms_scheduler work fine since I have modified the configuration as suggested in your posts.
    But with CloudControl 12c I don't get that thing working - and I'm truly astonished that it doesn't work right away :-(
    The error
    ORA-27370: job slave failed to launch a job of type EXECUTABLE ORA-27300: OS system dependent operation:accessing extjob wrapper failed with status: 2 ORA-27301: OS failure message: No such file or directory ORA-27302: failure occurred at: sjsec 3
    still remains, no matter why I have changed. I haven't found any logfiles with some further errors on the server where the CloudControl is installed. And the view
    DBA_SCHEDULER_JOB_RUN_DETAILS doesn't contain any information at all.
    I anybody out there who has jobs/programs running without any problems under CloudControl12c?
    Our CloudControl ist installed under RedHat Linux EnterpriseEdition (5.7).
    Rgds
    JH

  • Error on 11g 2 during external job execution using credential

    Hi,
    I need a help from you.
    I am getting below error on 11g 2 during external job execution using credentials -
    EXTERNAL_LOG_ID="job_805812_412409",
    ORA-27369: job of type EXECUTABLE failed with exit code: Arg list too long
    STANDARD_ERROR="Launching external job failed: Invalid username or password"
    Find credentials creation & other required details -
    EXECUTE DBMS_SCHEDULER.create_credential(credential_name =>'SYS.SCRIPTS',username =>'scripts',password => 'u5342222');
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB(
    job_name => 'AUTOLOAD_JOB',
    job_type => 'EXECUTABLE',
    job_action => '/qpshell/dev/scripts/autoload.sh',
    repeat_interval => 'freq=MINUTELY;interval=5;byhour=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22;',
    enabled => true,
    auto_drop => false,
    credential_name => 'SYS.SCRIPTS');
    end;
    -rw-r--r-- 1 root oinstall 1571 Nov 11 14:42 /u01/app/oracle/product/11.2.0/dbhome_1/rdbms/admin/externaljob.ora
    content of externaljob.ora -
    run_user = nobody
    run_group = nobody
    run_user=scripts
    run_group=qvcscript
    -rwsr-x--- 1 root oinstall 3068424 Nov 11 13:13 extjob
    -rwxr-xr-x 1 oracle oinstall 3068424 Nov 11 13:13 extjobo
    root@knudwdbs2:/u01/app/oracle/product/11.2.0/dbhome_1/bin> ls -ltr extjob*
    -rwx------ 1 oracle oinstall 3068424 Nov 11 12:45 extjoboO
    -rwsr-x--- 1 root oinstall 3068424 Nov 11 12:45 extjobO
    -rwxr-xr-x 1 oracle oinstall 3068424 Nov 11 13:13 extjobo
    -rwsr-x--- 1 root oinstall 3068424 Nov 11 13:13 extjob
    Kindly suggest how it can be fixed. Early response much appreciated.
    Thanks
    Ajay
    --

    Hi,
    When you are logged in to the OS, can you do an "su" to the "scripts" user using this exact password (passwords are case-sensitive) ?
    Also make sure that you have libpam.so located somewhere in $LD_LIBRARY_PATH and that it points to a real file.
    external jobs with credentials use jssu, but I don't think permissions on jssu are the problem here (it should be setuid to root).
    Hope this helps,
    Ravi.

  • Guide to External Jobs on 10g with dbms_scheduler e.g. scripts,batch files

    GUIDE TO RUNNING EXTERNAL JOBS ON 10g WITH DBMS_SCHEDULER
    NOTE: Users using 11g should use the new method of specifying a credential which eliminates many of the issues mentioned in this note.
    This guide covers several common questions and problems encountered when using
    dbms_scheduler to run external jobs, either on Windows or on UNIX.
    What operating system (OS) user does the job run as ?
    External jobs which have a credential (available in 11g) run as the user
    specified in the credential. But for jobs without credentials including
    all jobs in 10gR1 and 10gR2 there are several cases.
    - On UNIX systems, in releases including and after 10.2.0.2 there is a file $ORACLE_HOME/rdbms/admin/externaljob.ora . All external jobs not in the SYS schema and with no credential run as the user and group specified in this file. This should be nobody:nobody by default.
    - On UNIX systems, in releases prior to 10.2.0.2 there was no "externaljob.ora" file. In this case all external jobs not in the SYS schema and with no credential run as the owner and group of the $ORACLE_HOME/bin/extjob file which should be setuid and setgid. By default extjob is owned by nobody:nobody except for oracle-xe where it is owned by oracle:oraclegroup and is not setuid/setgid.
    - On Windows, external jobs not in the SYS schema and with no credential run as the user that the OracleJobScheduler Windows service runs as. This service must be started before these jobs can run.
    - In all releases on both Windows and UNIX systems, external jobs in the SYS schema without a credential run as the oracle user.
    What errors are reported in SCHEDULERJOB_RUN_DETAILS views ?
    If a job fails, the first place to look for diagnostic information is the SCHEDULERJOB_RUN_DETAILS set of views. In 10gR2 and up the first 200 characters of the standard error stream is included in the additional_info column.
    In all releases, the error number returned by the job is converted into a
    system error message (e.g. errno.h on UNIX or net helpmsg on Windows) and that
    system error message is recorded in the additional info column. If there is no
    corresponding message the number is displayed.
    In 11g and up the error number returned by the job is additionally recorded in
    the error# column. In earlier releases 27369 would always be recorded in the
    error# column.
    Generic Issues Applicable to UNIX and Windows
    - The job action (script or executable) must return 0 or the job run will be marked as failed.
    - Always use the full pathname to executables and scripts.
    - Do not count on environment variables being set in your job. Make sure that the script or executable that your jobs runs sets all required environment variables including ORACLE_HOME, ORACLE_SID, PATH etc.
    - It is not recommended to pass in a complete command line including arguments as the action. Instead it is recommended to pass in only the path to and name of the executable and to pass in arguments as job argument values.
    - Scripts with special characters in the execution path or script name may give problems.
    - Ensure that the OS user your job runs as has the required privileges/permissions to run your job. See above for how to tell who the job runs as.
    - External job actions cannot contain redirection operators e.g. > < >> | && ||
    - In general try getting a simple external job working first e.g. /bin/echo or ipconfig.exe on Windows. Also try running the job action directly from the commandline as the OS user that the job will run as.
    Windows-specific Issues
    - The OracleJobScheduler Windows service must be started before external jobs will run (except for jobs in the SYS schema and jobs with credentials).
    - The user that the OracleJobScheduler Windows service runs as must have the "Log on as batch job" Windows privilege.
    - A batch file (ending in .bat) cannot be called directly by the Scheduler. Instead cmd.exe must be used and the name of the batch file passed in as an argument. For example
    begin
    dbms_scheduler.create_job('myjob',
       job_action=>'C:\WINDOWS\SYSTEM32\CMD.EXE',
       number_of_arguments=>3,
       job_type=>'executable', enabled=>false);
    dbms_scheduler.set_job_argument_value('myjob',1,'/q');
    dbms_scheduler.set_job_argument_value('myjob',2,'/c');
    dbms_scheduler.set_job_argument_value('myjob',3,'c:\temp\test.bat');
    dbms_scheduler.enable('myjob');
    end;
    /- In 10gR1 external jobs that wrote to standard output or standard error streams would sometimes return errors. Redirect to files or suppress all output and error messages when using 10gR1 to run external jobs.
    UNIX-specific Issues
    - When running scripts, make sure that the executable bit is set.
    - When running scripts directly, make sure that the first line of the script in a valid shebang line - starting with "#!" and containing the interpreter for the script.
    - In release 10.2.0.1, jobs creating a large amount of standard error text may hang when running (this was fixed in the first 10.2.0.2 patchset). If you are seeing this issue, redirect standard error to a file in your job. This issue has been seen when running the expdp utility which may produce large amounts of standard error text.
    - the user that the job runs as (see above section) must have execute access on $ORACLE_HOME/bin and all parent directories. If this is not the case the job may be reported as failed or hang in a running state. For example if your $ORACLE_HOME is /opt/oracle/db then you would have to make sure that
    chmod a+rx /opt
    chmod a+rx /opt/oracle
    chmod a+rx /opt/oracle/db
    chmod a+rx /opt/oracle/db/bin
    - On oracle-xe, the primary group of your oracle user (if it exists) must be dba before you install oracle-xe for external jobs to work. If you have an oracle user from a regular Oracle installation it may have the primary group set to oinstall.
    - On oracle-xe, the extjobo executable is missing so external jobs in the SYS schema will not work properly. This can be fixed by copying the extjob executable to extjobo in the same directory ($ORACLE_HOME/bin).
    - Check that correct permissions are set for external job files - extjob and externaljob.ora (see below)
    Correct permissions for extjob and externaljob.ora on UNIX
    There is some confusion as to what correct permissions are for external job related files.
    In 10gR1 and 10.2.0.1 :
    - rdbms/admin/externaljob.ora should not exist
    - bin/extjob should be setuid and setgid 6550 (r-sr-s---). It should be owned by the user that jobs should run as and by the group that jobs should run as.
    - bin/extjobo should have normal 755 (rwxr-xr-x) permissions and be owned by oracle:oraclegroup
    In 10.2.0.2 and higher
    - rdbms/admin/externaljob.ora file must must be owned by root:oraclegroup and be writable only by the owner i.e. 644 (rw-r--r--) It must contain at least two lines: one specifying the run-user and one specifying the run-group.
    - bin/extjob file must be also owned by root:oraclegroup but must be setuid i.e. 4750 (-rwsr-x---)
    - bin/extjobo should have normal 755 (rwxr-xr-x) permissions and be owned by oracle:oraclegroup
    In 11g and higher
    Same as 10.2.0.2 but additionally bin/jssu should exist with root setuid
    permissions i.e. owned by root:oraclegroup with 4750 (-rwsr-x---)
    Internal Error numbers for UNIX on 10.2.0.2 or 10.1.0.6 or higher
    If you are not using a credential and are using version 10.2.0.2 or higher or 10.1.0.6 or higher you may come across an internal error number. Here are the meanings for the internal error numbers.
    274661 - can't get owner of or permissions of externaljob.ora file
    274662 - not running as root or externaljob.ora file is writable by group or other or externaljob.ora file not owned by root (can't switch user)
    274663 - setting the group or effective group failed
    274664 - setting the user or effective user failed
    274665 - a user or group id was not changed successfully
    274666 - cannot access or open externaljob.ora file
    274667 - invalid run_user specified in externaljob.ora file
    274668 - invalid run_group specified in externaljob.ora file
    274669 - error parsing externaljob.ora file
    274670 - extjobo is running as root user or group

    Hi Ravi,
    Can you help me...
    Hi All,
    I planned to create a job to do rman backup daily at 04:00 AM.
    1. I created a program as follows
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM(
    program_name => 'rman_backup_prg',
    program_action => '/u02/rmanback/rman.sh',
    program_type => 'EXECUTABLE',
    comments => 'RMAN BACKUP');
    END;
    my rman script is
    #!/usr/bin/ksh
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    export PATH=$PATH:/u01/app/oracle/product/10.2.0/db_1/bin
    /u01/app/oracle/product/10.2.0/db_1/bin/exp rman/cat@catdb file=/u02/rmanback/rm
    an_220108.dmp log=/u02/rmanback/rman_220108.log owner=rman statistics=none comp
    ress=n buffer=400000
    compress *.dmp
    exit
    2. I created a schedule as follows
    BEGIN
    DBMS_SCHEDULER.CREATE_SCHEDULE(
    schedule_name => 'rman_backup_schedule',
    start_date => SYSTIMESTAMP,
    end_date => '31-DEC-16 05.00.00 AM',
    repeat_interval => 'FREQ=DAILY; BYHOUR=4',
    comments => 'Every day at 4 am');
    END;
    3. I created ajob as follows.
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'rman_backup_job',
    program_name => 'rman_backup_prg',
    schedule_name => 'rman_backup_schedule',
    enabled=> true,
    auto_drop=> false
    END;
    While I am running the job I am getting the following error anybody help me.
    ORA-27369: job of type EXECUTABLE failed with exit code: Not owner
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 2
    If I removed "compress *.dmp" line in rman script it is working fine.
    /* additional Info from dba_scheduler_job_run_details as follows */
    ORA-27369: job of type EXECUTABLE failed with exit code: Not owner
    STANDARD_ERROR="
    Export: Release 10.2.0.3.0 - Production on Tue Jan 22 14:30:08 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Release 10.2.0.3.0 - Production
    Export"
    Regards,
    Kiran

  • External job runs slow

    I have an external job which runs a shell script which copies a small file from one directory to another.
    This script takes 100 ms to run when executed from shell, but takes 2 whole seconds when being executed through the external job.
    The job uses a program with two arguments (from_dir, to_dir).
    Before I dive into tracing and analyzing the job session, does anyone have experience with this scenario?

    Hi,
    This may be caused by slow process creation time on the OS. If this is the case there may not be much you can do about this if it is just process creation overhead.
    Thanks,
    Ravi.

  • Running External jobs in Oracle 10g using a different user ID

    Hi,
    i would like to run an external job ( shell script ) in oracle scheduler using a Unix user id other than nobody and oracle. is it possible to do that? if so please provide more information. I am currently using oracle version 10.2.0.4.0

    Sure,
    no problem at all, if you have no problem with the fact that all jobs that run from your ORACLE_HOME use the same account. I would prefer to upgrade to 11.1.0.7 and use the new remote exteral jobs with credentials.
    For oracle 10g you have to modify $ORACLE_HOME/rdbms/admin/externaljob.ora and change the run_user and run_group to what ever you want to use.
    regards,
    Ronald
    (also see:
    http://www.packtpub.com/mastering-oracle-scheduler-in-oracle-11g-databases)

  • Any reason why external jobs hang?

    Hi
    I'm in two minds as to whether this as an XE database problem or a general Scheduler problem so I'm trying my luck on this forum first.
    Details: Database XE, Centos O/S
    Problem
    I can schedule all the different types of jobs and all except external jobs(job_type EXECUTABLE) do run. With external jobs, they just never complete running. It's not like they are doing anything either.
    - Selecting from USER_SCHEDULER_RUNNING_JOBS while an external job is running just never comes back.
    - Checking what's going on in v$session reveals an ACTIVE status and EVENT "JS external job".
    - The xe_J00X os process doesn't seem to be doing anything. However, if I terminate(kill) it, it won't die except with kill -9, which frees up the database.
    I have searched and tried a number of ideas but I haven't been able to resolve this.
    So far
    - I have tried the Metalink notes for setting permissions to nobody user.
    - I have added #!/bin/ksh or #!/bin/bash to the shell scripts
    - Implemented externaljob.ora
    The results are the same. External jobs just hang, no error message, nothing.
    I'd appreciate help if you can.
    Thank you.
    Siphiwe

    Hi,
    This is helpful and I can add some further comments.
    - The Metalink notes were intended for normal SE/EE Oracle installs, there is no guarantee that they will work on XE. In fact your experiment shows that setting the permissions as in the Metalink note does not work on XE since nobody does not have access to the libclntsh.so.10.1 library (file and directory permissions are slightly different in XE) . You should ignore the Metalink notes and leave the original install permissions.
    - because there is no extjobo executable, external jobs in the SYS schema will not work (although doing "cp extjob extjobo" should fix this) . This is a known filed bug.
    - because the Metalink note does not work, all external jobs will run as the Oracle user. This is a security risk that should be taken into account whenever granting the CREATE EXTERNAL JOB system privilege to a user.
    I can confirm that on an rpm installation of oracle-xe the following works for me when run as sys
    -- test case for an external job on Oracle XE
    create user testusr identified by testusr ;
    grant create session, resource, create job, create external job to testusr;
    connect testusr/testusr
    begin
    dbms_scheduler.create_job('job1','executable','/bin/sleep',1,
    enabled=>false);
    dbms_scheduler.set_job_argument_value('job1',1,'10');
    dbms_scheduler.enable('job1');
    end;
    select * from all_scheduler_running_jobs;
    select * from all_scheduler_job_run_details;
    The job does run successfully and runs for 10 seconds as expected. I suggest you try this test case out after removing the pj files and fixing the permissions on extjob back to
    -r-xr-xr-x 1 oracle dba 32068 Feb 19 2006 extjob*
    Hope this helps,
    Ravi.
    null

  • A question about Job Creation

    Hi Expert,
    By JOB_OPEN, JOB_SUBMIT, JOB_CLOSE, we can schedule a job.
    When the first two FMs is executed, the job is still in 'scheduled' status. Only when the FM JOB_CLOSE is executed, the job will be in 'released' status.
    In my applicaiton, I need to check the job status. If the job is in 'scheduled' status, I think that the job creation is not successsful; Otherwise, the job creation is successful.
    But the issue is, if job is in 'scheduled' status, how can I know whether all three FMs is executed in the job creation or only JOB_OPEN and JOB_SUBMIT are executed while JOB_CLOSE still not starts?
    In the later case, the applicaiton should wait some time and check the job later.
    Thanks for your support
    Best Regards, Johnney.

    Hi,
    Suppose there two APIs.
    In API1, there are four steps:
    1. call FM JOB_OPEN
    2. call FM JOB_SUBMIT
    3. Save the Jobname and Jobcount in the DB
    4. CAll JOB_CLOSE
    in  API2, there are two steps:
    1. get the Jobname and Jobcount from the DB
    2. Call FM BP_JOBLIST_STATUS_GET to get the job status.
    API1 and API2 are executed asynchronically. Consider the following case:
    After STEP3 is executed(STEP4 has not yet been started), the API2 starts to run. Now the job status that API2 get is 'Scheduled'.
    This is not correct, because the job creation is still not finished. The API2 should wait some time and check later.
    So my question, is how API2 know that the job creation is not finished.
    Thanks & Best Regards, Johnney.

  • EREC - How to disable user settings in external job board e recruitment

    Hi All,
    Is there an option to disable the user settings for External Job Boards ? The user settings where candidate can save default keywork search etc (which unfortunately stays for other candidates unless the default value is discarded.)
    Thanks
    Suman

    Hi Suman,
    Please check the following link on how to set up the WDDISABLEUSERPERSONALIZATION parameter:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/7b/fb57412df8091de10000000a155106/frameset.htm
    and then set up the parameter for the standard hrrcf_a_unreg_job_search and try to run your WD application.
    Hope it helps,
    Kind Regards
    Christine

  • 11g R2 Remote External Job Setup

    Have followed all of the instructions in the guide for remote external jobs. Running into the following error when trying to register a remote agent with the database:
    ./schagent -registerdatabase atlantic 16021
    Agent Registration Password ? ********
    ERROR: Connecting to: http://atlantic:16021/remote_scheduler_agent/register_agent. java.io.IOException: Server returned HTTP response code: 401 for URL: http://atlantic:16021/remote_scheduler_agent/register_agent2
    If from that same machine I run the following - telnet atlantic 16021 - I get 'Connected to atlantic'.
    When logged into the database named stage on atlantic, I can run the following query:
    select dbms_xdb.gethttpport() from dual;
    This produces 16021. Has anyone gotten this error message or something similar? I've only ever seen success in every guide, but something about my implementation must be off or different. I'm not sure what details will be helpful here, but willing to provide anything that would be pertinent.
    Thanks!
    Dan Berry

    Hi Ravi,
    We re-ran prvtrsch.plb and reset the password. Still given the same error. I can see that the dbms_isched_remote_access package was created in the database, and the it has references to procedures owned by the remote_scheduler_agent user. Is there any way to verify that the registration procedure is available via http? Also, I'm unsure if this makes a difference or not, but when we specify host during registration, we are using atlantic. Atlantic is our physical hardware where several databases reside. The database we want to register with is called stage and the port we set for xdb is 16021. It is the only place where this port is being used. When we register is it fine to say the host is atlantic and the port is 16021, or do we need to find a way to expose stage?
    Thanks,
    Dan

  • External job board integration -- E-Recruiting EhP4

    You need SAP XI to integrate with external job boards?  I think you can configure it. I did search on SAP Help and SDN , I see no mention.
    Can you share the links or your experience. Thanks for the help.

    Hello Vishal,
    the integration to external job boards can be done using XI, but only very few cutomers use this way. Either they have no XI at all or the projects using XI do not want to let the HR e-rec guys play with it.
    Usually you go for some customer development implementing a publisher class creating the data / files for the job boards. The exact implementation depends on the job board and in some cases on the special aggreements how to interchange data.
    Best Regards
    Roman

  • ERecruit linking to external job board

    I have set up and configured ERecruit 3.0 SP 8. I am now trying to have external job boards linked to the SAP ERecruit job postings. Is anyone aware of any documentation on the how-to of linking external job boards with SAP's ERecruit?
    Any tips or documentation links are greatly appreciated.

    Hello Tom,
    I am trying to implement E-Recruit 300 SP8. But when I am trying to logon to any start page or register an external candidate, I get and Internal error message in the browser.
    Do you have any implementation guide for the same or if you can provide some weblog or something. I am just trying to do it from the SPRO documentation. Please help. As we have a customer demo and I ma unable to move forward from this point.
    Thanks for the help.
    Arundeep Singh

  • ORA-12012: error on auto execute of job 754461 ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, parameters in command "RCPT TO:" unrecognized or missing ORA-06512: at "SYS.UTL_SMTP", line 20 ORA-06512: at "SYS.UTL_SMTP",

    Hi ,
    I am getting below error frequently in alert log of database.
    ORA-12012: error on auto execute of job 754461
    ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, parameters in command "RCPT TO:" unrecognized or missing
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at "APPS.EIS_UTIL_PKG", line 94
    ORA-06512: at "APPS.HKD_PO_ADDON_PKG", line 110
    ORA-06512: at line 1

    You have a job running in the database. Its job ID is 754461
    It looks as if that job runs APPS.HKD_PO_ADDON_PKG
    That job is attempting to send mail using UTL_SMTP and apparently passing some strange value to SMTP server for the RCPT TO: parameter.

  • Windows external job user

    When running an external job on Oracle 10g in Windows, it seems that the external job username is no name at all. In the file which is kicked off by the scheduler job I put this line:
    echo "%username%"  >> %SI_HOME%\lib\imp_data.log
    which produces just "" in the log file. It is supposed to log in with an externally authenticated account to run datapump imports, but it fails.
    I read that for Oracle 10g the external job in Windows runs as the owner of the OracleJobScheduler service. In the properties it says it logs on as "Local System Account" which I thought would be username I want, but apparently it is not. I also tried to specify the account to run under but it won't take it, saying the account doesn't exist.
    How can the username for external jobs be set to what I want?
    Thanks.

    I received the same results when running the OracleJobScheduler service under the 'Local System' credentials. I don't have an explanation for that. Here is some Microsoft documentation on it:
    LocalSystem Account
    However, you should have no problem specifying another account to run this service under. I do this on my systems. Remember this is an OS account not a database account. It can either be a Local User or Domain User.
    If you want more help figuring out how to specify a custom account please provide more details.

  • External Job Boards Integration

    Hey Friends,
    I need to do external job boards integration in e-Recruitment..
    Can you explain me the process for integration ??
    How the XML document gets generated, some existing standard program or a custom program we need to develop ??
    Ok assuming the job board makes use of the XML file and displays the posting information on their site...Suppose we click on "Apply" on that job board site, how does the application information gets linked to our e-Recruitment system ??
    Thanks
    Shashank Shirali

    Hi
    in the SAP Library "SAP E-Recruiting" will you find the topics "System Administration", and "Master Data Recruitment". Is this what you are looking for?
    regards,
    Andreas R

Maybe you are looking for

  • FI-REFX Add additional validation to monthly posting

    Dear, We would like to add extra validations to the standard posting programs RERAOP/RERAPP (and their reversal programs RERAOPRV/RERAPPRV). These are standard SAP transactions within Real Estate to make (monthly) postings on the contract. Each contr

  • Broadband drops out & noisy phone lines.

    Hi, Not sure whether this needs to be posted here or in the phone section as both areas are effected.  My property is pretty old and the internal phone sockets/wiring is also quite dated. I've always had issues with my phone lines being very noisy to

  • Mountain Lion Messages won't connect / go online

    For the last few days Mountain Lion Messages won't connect / go online. Prior to that it would disconnec at random and it would be difficult to make it connect again. But now it's totally refusing to go online.

  • X86 and mouse

    Greetings. I was wondering if anyone has any advice regarding enabling mouse operation with Solaris 10. This is a new install. When booting I get to the blue signon screen where my userid is solicited but at that point the mouse is inoperable. I trie

  • How to use signed JAR-libs in EAR

    I have a project wich depend library my_crypto, and my_crypto depend JCE. When I place these lib's to WEB-INF - all works fine. But when I remove from WEB-INF/lib my_crypto (I have to do this one!) there is an Exception: java.lang.SecurityException: