Schedule an Oracle Job in DB 2 from DB 1 using db link

Hi,
I am getting insufficient privileges when i try to schedule a job in target db ( DB 2) from source DB (DB 1).Version 10.2.0.1.0.
BEGIN
DBMS_SCHEDULER.create_job@dbl_audit.regress.rdbms.dev.us.oracle.com
(job_name => 'SYNC_AUDIT_DB',
job_type => 'STORED_PROCEDURE',
job_action => 'execute_audit_data_defn',
start_date => SYSDATE,
repeat_interval => NULL,
enabled => TRUE,
comments => 'Sync Audit db with Live db'
END;
ORA-27486: insufficient privileges
ORA-06512: at "SYS.DBMS_ISCHED", line 99
ORA-06512: at "SYS.DBMS_SCHEDULER", line 262
ORA-06512: at "CTS_VSD01.SCHEDULE_SYNC_JOB", line 5
ORA-06512: at line 2
'execute_audit_data_defn' procedure runs in DB 2 which I am accessing from DB 1 thru db link dbl_audit.regress.rdbms.dev.us.oracle.com
Any help is appreciated
SSN

Hi ,
The user has following privileges
SQL> select PRIVILEGE from USER_SYS_PRIVS;
PRIVILEGE
CREATE SEQUENCE
CREATE ANY JOB
CREATE CLUSTER
CREATE ROLE
CREATE SESSION
DROP ANY ROLE
CREATE INDEXTYPE
CREATE OPERATOR
CREATE TYPE
CREATE PROCEDURE
CREATE DATABASE LINK
PRIVILEGE
CREATE VIEW
ALTER SESSION
DROP PUBLIC SYNONYM
SELECT ANY TRANSACTION
CREATE TRIGGER
CREATE PUBLIC SYNONYM
CREATE SYNONYM
SELECT ANY TABLE
CREATE TABLE

Similar Messages

  • How to keep files from disappearing when using Dynamic link to AE from PremProCS4?

    I am at my wits end here and hope someone can offer a solution.  I use Dynamic Link in PremProCS4 to link a clip in my timeline to AfterEffects.  I follow the instructions in my book and everytime I close my files and reopen..I loose the clip along with the effects...I get the place card instead.  Here are the steps I do as per the Adobe Classroom in a Book Explains:
    I double click on my .MTS file in the Project Board so it comes up on my Source Screen.
    I take select the part of the clip I wish to use in my timeline and drag it to the appropriate spot on a video layer.
    I then right click the "clip" and select "Replace With After Effects Comp"
    I then name the new file.  name or whatever.aep
    It opens in AE
    I then apply two simple effects... keying and a cartooning effect I use from NewBlue Cartooner.
    As instructed I then go directly back to PremPro and do a "render" by pressing the Enter Key.  This does not work since I only get a yellow bar above the clip instead of a red on???
    So then I save the PremPro project and close it then go to the AE project, save and close it.
    When I reopen PremPro the file has a place card in it and in AE it says I am missing a file.
    I have tried many different ways to do this process including re-importing the .MTS file.
    I can close PremPro and reopen it and all is the same as long as I don't close the AfterEffects project.  Once AE is closed it looses the file.  On a note here I keep all my computer source files in the same place and it never changes plus they are in my PPro Project as well.  I never change the names so this isn't this reason.
    Is there a tried and true method to select a piece of clip in the video layer in Prem Pro and add effects from AE and not have it misplace the files?
    Thanks  Kate

    Hi Mylenium, and thank you for taking the time to respond.
    Your idea of renaming comps got me to thinking..hmm.
    So I went back with a fresh mind this morning and tried something else..and it worked...so far anyway.
    So far I figured it out... 
    Since the normal process to do this doesn't work for me ..and apparently many others..here is the solution for those of you having similar issues.
    In PremPro select the desired clip you wish to place effects on
    Rename it and save
    R click and "Replace with AE composition"
    Name new file
    You will see three files pop up in AE in the project panel.
    The original source clip .. in my case.. shows an icon that lets me know it isn't the true file.
    Highlight this file with a click and then go Ctrl H (for PCs)
    The group of computer source clips you use for your project will come up.. double click on the original clip you had imported into your PPro project.
    The source file icon in AE will change to an icon that denotes the true file...save
    Go to your still open Ppro project and make sure it carried the effects over..save.
    Now you can save and close the AE project.
    So for this works for me today and I hope this helps anyone else dealing with a similar issue.
    Thanks.

  • How to keep files from disappearing when using Dynamic link to AE in PremProCS4?

    I am at my wits end here and hope someone can offer a solution.  I use Dynamic Link in PremProCS4 to link a clip in my timeline to AfterEffects.  I follow the instructions in my book and everytime I close my files and reopen..I loose the clip along with the effects...I get the place card instead.  Here are the steps I do as per the Adobe Classroom in a Book Explains:
    I double click on my .MTS file in the Project Board so it comes up on my Source Screen.
    I take select the part of the clip I wish to use in my timeline and drag it to the appropriate spot on a video layer.
    I then right click the "clip" and select "Replace With After Effects Comp"
    I then name the new file.  name or whatever.aep
    It opens in AE
    I then apply two simple effects... keying and a cartooning effect I use from NewBlue Cartooner.
    As instructed I then go directly back to PremPro and do a "render" by pressing the Enter Key.  This does not work since I only get a yellow bar above the clip instead of a red on???
    So then I save the PremPro project and close it then go to the AE project, save and close it.
    When I reopen PremPro the file has a place card in it and in AE it says I am missing a file.
    I have tried many different ways to do this process including re-importing the .MTS file.
    I can close PremPro and reopen it and all is the same as long as I don't close the AfterEffects project.  Once AE is closed it looses the file.  On a note here I keep all my computer source files in the same place and it never changes plus they are in my PPro Project as well.  I never change the names so this isn't this reason.
    Is there a tried and true method to select a piece of clip in the video layer in Prem Pro and add effects from AE and not have it misplace the files?
    Thanks  Kate

    Hi Curt, and thank you for taking the time to respond.
    Its odd how I've been trying to figure this one out for a long time and I tried your suggestion but it didn't make any difference..darn.
    In the AE forum they say this is quite common and no one really knows why...double darn.
    So I went back with a fresh mind this morning and tried something else..and it worked...so far anyway.
    So far I figured it out... I guess I just needed to ask the question and write it all out to help get my brain working in the right direction: 
    Since the normal process to do this doesn't work for me ..and apparently many others..here is the solution for those of you having similar issues.
    In PremPro select the desired clip you wish to place effects on
    Rename it and save
    R click and "Replace with AE composition"
    Name new file
    You will see three files pop up in AE in the project panel.
    The original source clip .. in my case.. shows an icon that lets me know it isn't the true file.
    Highlight this file with a click and then go Ctrl H (for PCs)
    The group of computer source clips you use for your project will come up.. double click on the original clip you had imported into your PPro project.
    The source file icon in AE will change to an icon that denotes the true file...save
    Go to your still open Ppro project and make sure it carried the effects over..save.
    Now you can save and close the AE project.
    So for this works for me today and I hope this helps anyone else dealing with a similar issue.
    Thanks.

  • Oracle report can not run from the form using 10gAs(release 1)

    Hi
    My matrix oracle report is okay from the builder but it is too slow when i call from the form.And finally it says me
    [b]Network Access Message: The page cannot be displayed
    Explanation: The request timed out before the page could be retrieved.
    Try the following:
    Refresh page: Search for the page again by clicking the Refresh button. This may have been a one-time error.
    I have made the following correction
    1-ENGINERESPONSETIMEOUT
    2-callbackTimeOut="9000000"
    3-ping timeout="600" interval="30" in opmn.xml
    please help me ,any advice is important for me
    Thank you
    Tata

    Hi
    My matrix oracle report is okay from the builder but it is too slow when i call from the form.And finally it says me
    [b]Network Access Message: The page cannot be displayed
    Explanation: The request timed out before the page could be retrieved.
    Try the following:
    Refresh page: Search for the page again by clicking the Refresh button. This may have been a one-time error.
    I have made the following correction
    1-ENGINERESPONSETIMEOUT
    2-callbackTimeOut="9000000"
    3-ping timeout="600" interval="30" in opmn.xml
    please help me ,any advice is important for me
    Thank you
    Tata

  • If i want to schedule back ground job on dtp how to do

    if i want to schedule back ground job on dtp how to do

    I have got a link that perfectly matches your requirement
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e51543b11d1898e0000e8322d00/frameset.htm

  • Start external application with oracle job

    I'm trying to start external program with oracle job.
    Here is an example (I used SYS as SYSDBA):
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    job_type => 'executable',
    job_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled => true,
    auto_drop => false );
    END;
    But job STATE comes FAILED.
    How should I do this?
    Result was not better when I used
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
    program_name => 'my_prg',
    program_type => 'EXECUTABLE',
    program_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled=>TRUE);
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    program_name => 'my_prg',
    enabled => TRUE,
    auto_drop => false );
    END;
    Edited by: user458393 on Feb 16, 2010 1:55 AM

    Take a look at this thread: Running a Windows BAT file using DBMS_SCHEDULER
    C.

  • Drop/Create sequence using Oracle Job Scheduler

    IDE for Oracle SQL Development: TOAD 9.0
    Question: I am trying to do the following:
    1. Check if a certain sequence exists in the user_sequences table
    2. Drop the sequence if it exists
    3. Re-create the same sequence afterward
    All in a job that is scheduled to run daily at 12:00 AM.
    What I would like to know is if this is even possible in the first place with Oracle jobs. I tried the following:
    1. Create the actual "BEGIN...END" anonymous block in the job.
    2. Create a procedure that uses a dynamic SQL string using the same "BEGIN...END" block that drops and recreates the sequence using the EXECUTE IMMEDIATE commands
    But I have failed on all accounts. It always produces some sort of authorization error which leads me to believe that DDL statements cannot be executed using jobs, only DML statements.
    BTW, by oracle jobs, I mean the SYS.DBMS_JOBS.SUBMIT object, not the job scheduler.
    Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.
    Thank you.

    Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.Well, I won't ask you then, but can you ask your clients why on earth they would want that?
    Do they know that doing DDL 'on the fly' will invalidate the dependent objects?
    Best shot you can give at it is reset the sequence. And you could do it in a job, yes, as long as it's interval is during some maintenance window (no active users).
    Regarding resetting a sequence, you, (and your clients) should read this followup:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1119633817597
    (you can find lots more info on sequences and jobs by doing a search from the homepage http://asktom.oracle.com)
    Regarding the authorization errors: your DBA should be able to provide you the nessecary privileges.
    But in the end, this is something I'd rather not would like to see implemented on a production system...

  • Backing up Jobs, Chains and Programs in Oracle Job Scheduler

    What is the best way to back up Jobs, Chains and Programs created in the Oracle Job Scheduler via Enterprise Manager - and also the best way to get them from one database to another. I am creating quite a long chain which executes many programs in our test database and wish to back everything up along the way. I will also then need to migrate to the production database.
    Thanks for any advice,
    Susan

    Hi Susan,
    Unfortunately there are not too many options.
    To backup a job you can use dbms_scheduler.copy_job. I believe EM has a button called "create like" for jobs and programs but I am not sure about chains and this can be used to create backups as well.
    A more general purpose solution which should also cover chains is to do a schema-level export using expdp i.e. a dump of an entire schema.
    e.g.
    SQL> create directory dumpdir as '/tmp';
    SQL> grant all on directory dumpdir to public;
    # expdp scott/tiger DUMPFILE=scott_backup.dmp directory=dumpdir
    You can then import into a SQL text file e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup SQLFILE=scott_backup.out
    or import into another database (and even another schema) e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup
    Hope this helps,
    Ravi.

  • Window oracle job scheduler and Oracle server scheduler relationship

    Hi Experts,
    We use oracle 10G R4 in window 2003 server.
    From window server panel,we can see OracleJobSchedulerORCAID server is disable. However, I check oracle Jobs from EM.
    I can saw schedule jobs are running in there.
    What relationship is between window scheduler server and Oracle Schdeler?
    As I know we can stop/start window Oracle database serve,r DBconsle EM server and Listener server in window server to control oracle
    .Why window oracle schedule does not affect Oracle schdule job?
    Thanks Experts to explaining?
    JIm

    10g R4 is not an existing Oracle version. 10.2.0.4 is.
    Oracle EM has three different schedulers:
    - dbms_job
    - dbms_scheduler
    - EM's own scheduler. Jobs submitted in the EM scheduler are spawned by the Management Agent.
    Sybrand Bakker
    Senior Oracle DBA

  • How to schedule Job for data uploading from source to BI

    Hi to all,
    How to schedule Job for data uploading from source to BI,
    Why we required and how we do it.
    As I am fresher in BI, I need to know from bottom.
    Regards
    Pavneet Rana

    Hi.
    You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
    Regadrs.

  • Oracle job scheduling for 2 different timezones

    I have a procedure which needs to be scheduled for different timezones based on one of the column in the table (ex: region).
    If region is California, it needs to be scheduled at 8:00am, if Newyork at 6:00am.
    Any ideas much appreciated!

    user497841 wrote:
    In my procedure, I populate a snapshot table for all regions.
    The procedure includes different inserts into the table per region.
    But insert for california should be scheduled at 8:00 and insert for newyork should be scheduled at 6:00am.
    Also, the job needs to take care of daylight savings.
    So i got to schedule the same procedure to run at 8:00am and 6:00 am.Assuming that you use DBMS_SCHEDULER then if you take a look at the definition of create schedule (or create job etc) then you will find that the scheduled time is timezone aware. eg
    DBMS_SCHEDULER.CREATE_SCHEDULE (
       schedule_name          IN VARCHAR2,
       start_date             IN TIMESTAMP WITH TIMEZONE DEFAULT NULL,
       repeat_interval        IN VARCHAR2,
       end_date               IN TIMESTAMP WITH TIMEZONE DEFAULT NULL,
       comments               IN VARCHAR2 DEFAULT NULL);This should then make your jobs timezone (and hence dst) aware.
    Niall Litchfield
    http://www.orawin.info/

  • Scheduling an Export Job Using Grid Control

    Hi,
    I got a requirement to schedule export jobs in Oracle Grid Control 10.2.0.5 (Windows). Is this possible and have any one done this? If so please share the steps. The idea is to get alerts if the job fails.
    Thanks.
    GB

    Here is the easy steps (There might be slight differences as I am posting it based on 11g screen)
    1. On grid control console, click on the relevant database
    2. click on 'Data Movement' tab
    3. Click on 'Export to Export Files'
    4. chose the Export type (Database / Schema / Tables/ Tablespace)
    5. Provide Host credentials (OS username and Password) and click on 'Continue'. You will get a new screen called 'Export: Options'
    6. Click the checkbox called 'Generate Log File' and select the Directory object where you wants to create the dump files. (You need to create a directory object in database, if you don't have one)
    7. Chose the contents option as you required, and click '*Next*'. You will get a new page called 'Export: Files'
    8. Select the directory object from the drop-down box and provide a name format for file name, and click 'Next'
    9. Here you provide the Job name and description, and chose repeat options (daily, weekly etc), and click 'Next'
    10. You will get a summary screen called 'Export: Schedule'. review your job details and click on 'Submit'.
    This is the solution, and it works well.

  • Scheduled Brio/IR Jobs are not running as expected in EPM 11.1.2.2

    Hi All,
    We are observing some scheduled jobs are not running as expected,they are not running on the scheduled time.
    Given below are more details.
    We have 2 Jobs running at 6:00 AM daily based on single Recurring Time Event and it is observed that this jobs are not running on time(ex: 6:06 AM EST).
    I tried verifying Consolidate Job Status in workspace admin options and the v8_RecurtimeEvent table for any miss in the 'Next Run Time',
    but they were having the scheduled date/time of run.No clue from EPM Logs.
    Interesting observation is the same jobs are running after updating the schedule time a little bit further(ex: 6:06 AM to 6:07 AM),but again after some days
    the updated job(6:07 AM ) will stop running.
    Thanks,

    Put the IR job logs in TRACE:32 mode which will give more information in the logs . Refer this document link to put in TRACE mode :http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    Thanks,
    KK

  • Help, How to view the error log of oracle Job

    Hi all,
    I created a job in my database, which clears the archivelog. After the job is executed, it occurs error.Such as :
    RMAN清理归档日志 1 问题 2010-3-19 下午03时11分00秒 GMT+08:00 PTDB 数据库实例 SYSTEM RMAN 脚本
    How to view the error log of oracle Job?
    Thank you.
    Eric Zhou

    Hello,
    Besides some views (with the scheduler) that you can get on the link below:
    http://download-west.oracle.com/docs/cd/B28359_01/server.111/b28310/scheduse002.htm#CHDGIDFD
    You may use the LOG parameter with RMAN so as to generate a logfile on the server.
    Also from EM DBConsole (starting with 10g) you may have the RMAN Backup Report.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Scheduling one background job inside another

    Hi All,
    Is it possible to Scheduling one background job inside another.? i.e In my Z program I am calling job_open, job_submit, job_close and to execute one standard report in background. And after that I am executing my Z program itself  from SE38 as Program->Execute->Background->Execute Immediately. Is this logically correct? I am asking this because I am not getting the desired result
    Thanks & Regards,
    Neethu.

    HI,
    Check the job steps in SM36.
    First schedule the Standard job and in the job steps schedule the z report.
    Schedule job in chain

Maybe you are looking for

  • Sender Mail Adapter Question

    Hello All, Iu2019m reading the blog: /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step to apply in my scenario. But Iu2019m having a issue. The messages in sxmb_moni are with state waiting. I do the same c

  • Connect problem with DV video-camera through the new thunderbolt to firewire adapter?

    Hi I got a JVC DV camcorder with firewire 400 output and I've got a Macbook Air 2012 with 8gb 1600 MHz DDR3, intel i7 2GHz, 256 ssd harddisk and intel HD graphics 4000 512 mb. It has thundebolt but no firewire port. I wanted to connect these two item

  • Just Starting out with java packages

    Hello, I'm a beginner and I'm starting out with java packages. I wrote two simple .java files, one test program and one containing a simple class. Both files are compiling without errors but When I run the program I get an error NoClassDeffoundError.

  • Optimize union in ase query

    we have a "select" query using 3 union operators (4 selects in total). In ASE 12.5.4 ESD# 10 executes in 2 sec, in ASE 15.7 SP103 it needs 88sec. If I run only 2 "select" (one union) it runs fast I enable "compatibility mode" but it has no effect at

  • ITunes will not convert files

    In the last couple of days iTunes stopped converting mp3 or wma files to apple lossless format. I get a -50 error. i called support four times today and uninstalled and reinstalled iTunes 10 for windows 7 64 bit twice to no avail.