Planner linking not post other than the user sys

Hello

The below mentioned job scheduler works successfully from the SYS user, but fails in the attempt of another user.

Start
SYS. DBMS_SCHEDULER. () CREATE_JOB
job_name = > 'RUN_DDL_JOB ',.
start_date = > SYSDATE,.
repeat_interval = > NULL,
End_date = > NULL,
job_class = > 'DEFAULT_JOB_CLASS ',.
job_type = > 'EXECUTABLE. "
job_action = > "c:\windows\system32\cmd.exe /c C:\Anjan\run_ddl.bat > C:\Anjan\run_ddl.log',"
auto_drop = > TRUE,
enabled = > TRUE);
end;


In the User_Scheduler_Job_Run_Details table, error message below is,.
ORA-27370: slave to the job could not launch an EXECUTABLE type work
ORA-27300: dependent operation of the OS: access enforcement officer failed with the State: 2
ORA-27301: OS Error Message: the system cannot find the specified file.
ORA-27302: an error occurred in: 6a sjsec
ORA-27303: additional information: the system cannot find the specified file.


I found below thread similar to the problem, but no solution found.
Re: executable dbms_scheduler errors


I use Oracle 10.2.0.1.

Thank you
Anjan

You can create the position of OEM Planner (Business Manager)

Logged in as SYS to EM
On the Administration tab > Scheduler option > link jobs

Then create the job, you will find the OWNER under the NAME field, create the work by providing appropriate parameter values.

Take a look at this below

BEGIN
() sys.dbms_scheduler.create_job
job_name => ""ADMIN"". "" TEST_JOB' '.
job_type-online "PLSQL_BLOCK."
job_action => ' begin
-Insert here the PL/SQL code
end;',
start_date-online systimestamp to the time zone '+ 6:00 ',
job_class-online "DEFAULT_JOB_CLASS."
observations-online "test job"
auto_drop => FALSE,
enabled-online TRUE);
END;

In your scenario that should be: job_name => ' 'your_USER. RUN_DDL_JOB"", "
change the prefix of your code, the i.e:user_name of schema name that you want to run the task

This problem is related with the privileges on the work of the Planner, when your job owner is SYS, and if the user HR has no privilege to run the created SYSTEM of jobs, he is unable to perform this work as HR.
by creating employment by above way you actually create work for your user name and give him the privilege to run.

You should look at these privileges below

JOB SCHEDULER OBJECTS: The following privileges are necessary to perform procedures in the DBMS_SCHEDULER package.
CREATE JOB to create jobs, schedules and programs in the scheme of the dealer
CREATE ANY JOB create, modify or delete jobs, schedules and programs in any schema
Note: This extremely powerful privilege allows the recipient to run code as any other user. She should be granted with caution.

RUN ANY PROGRAM use any program in a job in the scheme of the dealer
EXECUTE ANY CLASS specify no job in a job class in the schema of the dealer
SCHEDULER to MANAGE create, modify or delete no matter what group of class, window or work

Published by: adnanKaysar on April 12, 2010 17:16

Tags: Database

Similar Questions

  • No toolbar, no front or rear, no Firefox button buttons, no Favorites, no window address, not ANYTHING other than the web page, I'm on.

    Firefox is in full screen mode. Windows 7. I can't do anything other than read the web page, I'm. There is NO button for navigation or anything else. No toolbar. Nothing. The only way I can close the program must use Ctrl-Alt-Del and use the Task Manager. No way to start Firefox in Safe Mode, no way to reset. Suggestions like hitting Alt or Alt followed by V - T - M do nothing. I've updated plug-ins. I uninstalled and reinstalled Firefox - no change. It is completely unusable.

    If you are in full screen view then hover over with the mouse upward to make the bar appear Navigation and tab bar.

    You can click the maximize button in the upper right to leave the mode full screen or empty space of a right-click on a toolbar and use "exit full screen" or press F11.

    You can check for problems with the file localstore.rdf.

  • Virtual DJ does not work other than the admin account

    Original title: virtual dj win 7

    I have windows 7 pro and I try to install virtual dj on it, it installs the files, but I can't open the program, I tried to reinstall the program on the admin account and my account (power user) also gave myself admin and reinstalled. even deleted regristry and reinstalled works on the admin of all time, but not on my account even when I have admin please help

    has work however, it wasn't the problem, it was how I fixed install under admin run in compatible mode win xp service pack 2 and it works however the program says that it is compatible with 7, and it worked for a week without compatibility mode, it's very confusing but its not working.

  • DBMS_SCHEDULER Job_creator other than the user of the session

    Hello!

    I have a form application where users should be able to create jobs to dbms_scheduler with the click of a button.
    Dbms_scheduler jobs must always be performed with the same user; 'BATCH_USER '. This means that JOB_CREATOR for employment must be "BATCH_USER".

    Creating jobs to dbms_scheduler (sessionuser is for example "USER01"), is it possible to create a dbms_scheduler job where job_creator is set to 'BATCH_USER' of session s "USER01"?

    Any ideas how to proceed?

    Kind regards
    Morten

    Maybe it's an idea to have users start a created meadow of jobs with the correct arguments?

    Ronald.

  • You cannot change the location of the bridge CS5.5 Cache for other than c:\user\

    For some reason, I am unable to change the location of the Cache of bridge CS5.5 outside my c:\user\ folder. Other readers of the system are not detected by bridge. This was not the case before. I used to have another dedicated drive. I have reset the preferences, delete the cache, but still they are not helping. Please help as my C: drive is an SSD with limited space and contains only BONES! There is no problem with the PS or PR, only bridge.

    If it worked before that have you changed?

    I know there are some problems in bridge with users placing file temp so place other than the C drive.  Known bug.

    Here is a link with a similar situation.  http://forums.Adobe.com/thread/760369

  • Cannot access SQL more from other than the Oracle users

    Hello

    I installed Oracle 11 g R2 on Red Hat 6. My problem is that I can't access sqlplus from other than the oracle users.

    I put the PATH, the ORACLE_HOME and ORACLE_SID to the correct values.

    Session1

    Connect as: oracle

    [email protected] password:

    Last login: Sun Aug 24 01:24:46 192.168.202.1 2014

    [oracle@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [oracle@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [oracle@localhost ~] $ echo $ORACLE_SID

    ORCL

    [oracle@localhost ~] $ sqlplus

    SQL * more: Production release 11.2.0.1.0 Sun Aug 24 03:17:32 2014

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

    Enter the user name:

    Session2

    Connect as: nada

    [email protected] password:

    Last login: Sun Aug 24 02:31:49 192.168.202.1 2014

    [prithwish@localhost ~] $ export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ export ORACLE_SID = orcl

    [prithwish@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ echo $ORACLE_SID

    ORCL

    [prithwish@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Prithwish/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ sqlplus

    -bash: sqlplus: command not found

    I guess that I could not access sqlplus as the Nada the user has no access to X11R6

    [prithwish@localhost ~] $ cd...

    [Host prithwish@localhost] $ ls - ltr

    Total 8

    drwx-. 30 oracle oinstall 4096 23 August 23:51 oracle

    drwx-. Nada Nada 4096 24 August to 02:33 27 Mathieu

    [Host prithwish@localhost] $

    My question is, although quite stupid, that double

    (1) I have to change the permissions of the directory oracle of 755 for any other user to access the sqlplus?

    (2) why is the user directory under the folder created with permissions of 700, even when the umask is set to 002? Change the permissions of the directory under/Home oracle will cause security problems?

    My apologies for being naïve. It's the first time I installed Oracle under UNIX

    Kind regards

    Prithwsh

    Actually, the default procedure is NOT to install oracle to X11R6, but in/opt/oracle. or maybe/usr/local/oracle.

    This is what you're going to be recommended in the installation documentation, and in doing so, don't forget to run rootpre.sh and root.sh, I never had security problems and could run Oracle from any account.

    Sybrand Bakker

    Senior Oracle DBA

  • How to remove the db link in other patterns as user sys?

    Hi all.

    I would like to table db links in other patterns as user sys.

    I got the error when droping a link as the user sys.

    -------------------------------------------------------------------------------------
    Papa2:SQL > drop database link kht. "" TT ";
    Drop database link kht. "" TT ".
    *
    ERROR on line 1:
    ORA-02024: database link not found
    -------------------------------------------------------------------------------------

    Can someone help me?

    Thanks in advance.
    Best Rregards.

    869578 wrote:
    Hi all.

    I would like to table db links in other patterns as user sys.

    I got the error when droping a link as the user sys.

    -------------------------------------------------------------------------------------
    Papa2:SQL > drop database link kht. "" TT ";
    Drop database link kht. "" TT ".
    *
    ERROR on line 1:
    ORA-02024: database link not found
    -------------------------------------------------------------------------------------

    Can someone help me?

    Thanks in advance.
    Best Rregards.

    There is no miracle solution

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28310/ds_admin004.htm#i1008271

    "If the link is private, it must be in your scheme."

  • How to better convert 01:56 and not lose quality other than the 4 K to 2 k

    If I take a 4 K produce and convert/low res to 2 k by 2 k, importing in a time line am I lose quality other than the 2 k low res? Is it bad for the film? Does make a difference if the position would give me a 2 k vs file to me? It's a feature and I need lower res that it creates a DCP. so I'm concerned about quality. And is it all still do not lose quality on import and export. It seems that I lose 15GB.

    YYou are reducing the resolution, but you're not really lower the quality. There should be no difference between you do it or someone else do it. The file will be much lower in 2K 4 K. It is to be expected.

  • Acer Aspire E5 - 511. move the mouse/Touchpad cursor, but will not open other than McAfee programs.

    Just bought this laptop, original thought it was a big improvement on my Aspire 3 year!   Last problem after doing a full scan with McAfee is the touch pad or remote control will move the cursor but will not open other than McAfee programs.   The Windows (bottom left) symbol does not illuminate when the cursor is over it and I am unable to use the windows key + C to get the bar of charms.

    For the background, I couldn't install windows updates since I got this computer, two days, so do a scan to look for the reasons.

    Thanks for your suggestion Acer-Justin.   Sorted by switching off / reset the keyboard.   Problem sorted update using Microsoft who has found a problem with the update system and then installed Windows 10 - everything looks ok at the moment.

  • can I install programs on one physical drive other than the drive that contains the operating system Vista

    My hard drive crashed and I didn't do a reinstall full Vista no problem here other than do not pay attention, I installed the operating system on one 80 GB disk other than the new 320 gig which was. After the new facility and all new updates, I have 25 GB of free space. I would like to know if I can install new programs on my drive d: and no filling of drive c: for the ability

    Hello

    Thanks for posting this question in the Microsoft Community Forums.

    I see you want to know if you can install programs on a drive with no operating system.

    I wish to inform you that this is possible with only specific programs, which give the user an option to choose where the program is installed.

    When a program is installed, it runs in program files, which lies in the operating system drive and can not be moved elsewhere.

    Another reference:

    Microsoft does not support changing the location of the program files

    http://support.Microsoft.com/kb/933700

    I hope that you found this information useful.

    Please get back to us if you have any other questions about windows.

  • Get the message: it is not possible to load the user profile after Windows updates

    Original title: Windows won't let me sign after updates

    Last night when I turned off my computer I saw that he had a few updates to do let him - now it won't let me login and when I try to it says that it is not possible to load the user's profile (it's the only one)...

    Recently, I installed Office and Windows 7. My anti-virus is the one that is provided by microsoft. Help!

    Hi romanista,.

    You can read the following article and check if it helps to solve the problem:

    Error message when you log a computer Windows Vista-based or Windows 7 by using a temporary profile: "the user profile Service has no logon. Unable to load the user profile.

    http://support.Microsoft.com/kb/947215

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • What are some editing apps good free photo for Mac, other than the Photos of Apple?

    Hi everyone, I'm looking to see what free apps, you guys use for editing photos?  I have a photography class to come and play with options other than the use of pictures of the Apple app.  Nothing against the app, I just learn more.  Thank you.

    Strange question to the users of the forum pictures - of course, the answer is Photos for Mac

    Photos is optional and if you don't like it, then, Google is your friend

    LN

  • The pencil of Apple requires a port light to recharge.  Does anyone know a USB male to female adapter port lighteners that would load the pencil on one device other than the iPad?

    The pencil of Apple requires a port light to recharge.  Does anyone know a USB male to female adapter port lighteners that would load the pencil on one device other than the iPad?

    Apple pencil comes with its own map of woman to woman, so you can use a standard lightning cable USb and charger to charge

    Not sure there is no 3rd party yet.

  • Firefox is redirect to sites other than the one clicked on.

    When you click on search sites by using the bar (address bar not) search, you are redirected to one site other than the one you clicked on. It happens not on all sites found, but on a large number of them. However, in all cases where sometimes the site redirected to is [adlinksearch.com]. I use PC Tools Spyware Doctor and it has found no problems with Malware. I can go on the site if I put the address in the address bar. I use igoogle search bar. Please help with this issue, because it is very annoying.

    This has happened

    Each time Firefox opened

    == Unknown as to exactly when he started

    Firefox closes alltogether when you go to youtube videos, not youtube itself. Redirects to other sites. ran malaware and spybot. Any suggestions?

  • PXI-8250 in one frame other than the 1042/1045 or PXI-1044?

    The PXI-8250 will work at any level in one frame other than the 1042/1045 or PXI-1044?

    Hi djfrye.

    The PXI-8250 can only be used in the 1042 / q 1042/1045.  It will not work in the PXI-1044.

    Good luck with your application!

Maybe you are looking for

  • Mail application open Mac os Sierra.

    When you double click the title bar of the windows, it reduces to a minimum in the dock app. However, when you click on the application to reopen, it isn't. You need to press hard on the touch pad for the pop options open and then you can select the

  • Archives other

    Hello! j read the answers and advice on how "clean" the flash player in the way of having more space. Everything is very easy to do and j did... but I am still 60 GB in OTHERS and I don't really understand file 1) which can be and 2) where I can go t

  • MacBook Pro 13 inch end 2011

    I recently updated my late 2011 13' macbook pro RAM and added a second HDD. After that I did it, my laptop started to crash on a regular basis about once a day. It hangs at random times, so I'm under no specific request. It crashes when running itune

  • brightness key does not work after the upgrade to window

    I have a laptop hp 2000 - 2d28tu... yesterday, I upgraded its window 8 to 8.1 .after that the brightness is not increased or decreased by using the shortcut keys. . can someone tell me what is the reason behind it and how to solve it.

  • RichText field active hyperlink problem

    Hello I write a URL in the current RichText field. After you click that, it's hitting the server and back to my application. But after his return also it displays the element menu to open the link. I've implemented the navigation click. How can I rem