Enable DBMS JOB EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS for DB Control
Hi all,
I'm getting the below warning message in enterprise manager home at one of the nodes of RAC.
The Availability calculations for the cluster database target are disabled. Please enable the DBMS JOB EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS for Database Control.*
What does this mean ? Any idea ?
Thanks in advance.
Dhaval.
Hi there,
The reason I found for this warning was that EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS() was broken.
I fixed it by executing DBMS exec DBMS_JOB.RUN(<<job number>>);
where job number can be obtained from select job,broken,what,log_user,schema_user from dba_jobs;
Thanks for all your efforts.
Regards,
Dhaval.
Similar Messages
-
Hi all,
after I import dump fully database , the EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); job status is failed,
what is the reason and how could I start it successfully.
appreciate your help.user2075318 wrote:
Osama , thx for the updates,
but unfortunatly I don't have access to oracle support site,
it's grate if you can give me the 444033.1 document please.you need to have valid license to get oracle.support.com , otherwise i can't post anything here it will be illegal to do that -
Hi
All,
I have oracle 10.2.0.3 on solaris OS.
I am doing import of MED schema in database
1) does it import all dbms job too?
2) where this DBMS job stored?
3) How can I stop all jobs that belongs to MED schema?
Thanks,
VishalTo stop a job, without removing it from the job queue, you can mark it as BROKEN.
Thus, to mark job 20 as broken, execute
DBMS_JOB.BROKEN(20,TRUE);You can even change the NEXT_DATE for the job with the third parameter to DBMS_JOB.BROKEN.
To re-enable the job later, execute
DBMS_JOB.BROKEN(20,FALSE);If the NEXT_DATE has already passed, Oracle will start running the job immediately.
Note : DBMS_JOB.BROKEN must be executed by the Job Owner account (ie "med").
To prevent Oracle from running any jobs while still importing data, you can set JOB_QUEUE_PROCESSES to 0 (with an ALTER SYSTEM command executed by the DBA) and then set it back to 1 or higher when you want the job facility to resume. -
Hi
In BO 4.0 SP 9 when a administrator tries to schedule a report via CMC there is no error
But when a user schedules a report and the destination is FTP location -> Use default settings he gets following error
Destination disabled. []: [CrystalEnterprise.Ftp]. Please note the name of the job server used for your request and contact your system administrator to make sure the specified destination is enabled. (FWB 00031)
There is only one Job Server and the destinations are enabled in it
There is no Job server for Crystal Reports Job Server
Do i need to create it and how.Please check if you have proper rights to schedule to FTP. You can create a new job server, whenever you schedule it, there are multiple job servers, it will handle based on the load. But it is not mandatory, depends on the load.
-
Has anyone built a job scheduling interface for BMC's Control-M product
Has anyone built a job scheduling interface for BMC's Control-M product? If so - how did you notify control-m when the XI job completed successfully versus unsuccessfully?
Have you received any help on this? I would like to know the answer to this question.
-
How to monitor the activitis dbms job for oracle 9i
Hi Expert,
How can i monitor or received notification from the dbms job is whether run sucess or fail for oracle 9i db. Apreciate u guy can assist me.
Regard
williamHi,
if any job broken you can configure email option using dbms package or OEM....
have a look in this link how to configure email alerts through dbms package..
http://www.sixwhits.com/documentation/SuggsDocs/Oracle/Oracle/Tom%27s%20Book%20CD/5254AppAEfinal.pdf
you can configure alerts from OEM
http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e10954/notification.htm
Thanks -
Hi,
im getting below error in my database .. can you any one tell me tips or provide me usefull link ..
EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); has broken.
Database :10.2.0 .4
OS :sunHi,
The EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS job performs all the necessary maintenance tasks for the database control repository. It seems that you need to recompile it by doing:
exec emd_maintenance.recompile_invalid_objects;
regards -
Hi all
I have a big discussion going on in our team with dbas and developers.....
we have some tasks such as dropping partitions on a monthly basis and clean up of log tables in the database that have to be scheduled on a monthly basis.
we have written stored procedures to do such tasks
Now a simple dbms scheduler would do the scheduling part ... but dba's are proposing that they do not accept such dbms jobs on the db servers and suggestin us to
create a unix shell script on other application server and connect to the databse through the script. and schedule the script through controlm or autosys tool.
why cant we leverage dbms jobs to do these tasks.... and going for a complex soltuion
what is best solution?I don't know about RAC, but I would think that Oracle has made DBMS_Scheduler RAC-aware. Worth looking into.
As for monitoring, of course they can monitor it! ("They" are DBA's, yes?) Grid Control or OEM will show DBMS_JOB/SCHEDULER information as it will your SQL Plus query.
I don't understand how the tasks you describe in your first post are not "core" DBA functions, so even if they have the policy you say they have, why do your tasks not fit nicely into the things the DBAs say they want to do in the database? Specifically, +"we have some tasks such as dropping partitions on a monthly basis and clean up of log tables in the database that have to be scheduled on a monthly basis."+
I found an interesting thread on the topic as well. Re: DBMS scheduler v/s Cron
Given that people are asking how to make things run on the same node in the following thread, it looks like by default it will not be stuck running on the same RAC node every time (but for performance reasons it appears to have a slight bias to do so).
dbms_scheduler on RAC database
Edited by: Gaff on Apr 7, 2010 10:39 AM -
Dbms job change in schedule time
Hi
Just not sure about the dbms jobs reschedule on oracle 11g on linux ..
I have a dbms job running every day by hour 20 now i want to change it to 23 hours for today and again back to normal hour 20.
can some one help me in the working steps for this to happen .
Thanks in advance
Edited by: 790072 on 12/06/2012 19:02>
I have a dbms job running every day by hour 20 now i want to change it to 23 hours for today and again back to normal hour 20.
>
Use the DBMS_JOB.CHANGE procedure to change the next job time.
See the example in the DBMS_JOB chapter of the packages and types doc
http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_job.htm
Search for CHANGE Procedure and follow the example
>
Usage Notes
•You must issue a COMMIT statement immediately after the statement.
•The parameters instance and force are added for job queue affinity. Job queue affinity gives users the ability to indicate whether a particular instance or any instance can run a submitted job.
•If the parameters what, next_date, or interval are NULL, then leave that value as it is.
Example
BEGIN
DBMS_JOB.CHANGE(14144, null, null, 'sysdate+3');
COMMIT;
END; -
PLSQL DBMS JOB - how to schedule ?
Hi, I came across the process type "PLSQL DBMS JOB" - how can I schedule it within APEX?
I understood using PLSQL DBMS JOB it just executes once and thats it.
I like to use the process PLSQL DBMS JOB to execute once a day and call a procedure I have defined already. A code example wud be v.m. appreciated.
TIA
BernhardFirst you need to make sure your init.ora has the following things defined<br><br>
job_queue_processes=2<br>
job_queue_interval=10<br>
<br>the value above are recommended by Oracle<br><br>when I did this and restarted the database with the new init.ora (or pfile) it said something was no longer used so what I am suggesting above may not be entirely required but it seems to have worked for me...
<br><br>
then its just a case of executing the following<br><br>
declare<br>
jobno number;<br>
BEGIN<br>
dbms_job.submit(JobNo, 'begin my_thing_to_execute; end;', SYSDATE,
'SYSDATE + 1/24');<br>
COMMIT;<br>
dbms_output.put_line(jobno);<br>
END;<br>
<br>
the first sysdate is when to run next, the second sysdate+1/24 is how often to run so this is saying run hourly. if you want daily then it would be just +1.<br><br>that should get ya going to start with anyway. it can pay to put a little insert into a dummy table in your code that you want the dbmsjob to execute so then you know for sure that its working.<br><br>if you are talking about a dbms job thing in APEX then this is probably irrelevant as this is a dbmsjob in the database, not through APEX -
We have 4 node 9iRAC and running majority of our jobs using DBMS jobs scheduler.
I was wondering, how does oracle do load balancing for DBMS jobs.
Some time I see node one taking the most of the load ?
Thanks
-AshokIn 10g it's the dbms_scheduler which is service name aware. Just define the job_class and associate it with a specified service.
DBMS_JOB.INSTANCE or DBMS_JOB.CHANGE is about the only built in tools that you have to work with in the 9I version. -
DBMS Job failing with "active autonomous transaction detected"
Hi,
I am posting this for a customer issue. I posted this in the PL/SQL forum and was suggested to post it in this forum as this is a portal provided code.
DBMS Job WWV_context is failing after install of 10.1.2.0.2 MR Repo install
ORA-12012: error on auto execute of job 357~ORA-06510: PL/SQL: unhandled user-defined exception~ORA-06512: at "PORTAL.WWERR_API_EXCEPTION", line 71~ORA-06512: at "PORTAL.WWV_CONTEXT", line 1757~ORA-06510: PL/SQL: unhandled user-defined exception~ORA-06512: at "PORTAL.WWERR_API_EXCEPTION", line 71~ORA-06512: at "PORTAL.WWV_CONTEXT", line 1837~ORA-06519: active autonomous transaction detected and rolled back~ORA-06512: at line 1
Thanks
SathyaHi,
I am posting this for a customer issue. I posted this in the PL/SQL forum and was suggested to post it in this forum as this is a portal provided code.
DBMS Job WWV_context is failing after install of 10.1.2.0.2 MR Repo install
ORA-12012: error on auto execute of job 357~ORA-06510: PL/SQL: unhandled user-defined exception~ORA-06512: at "PORTAL.WWERR_API_EXCEPTION", line 71~ORA-06512: at "PORTAL.WWV_CONTEXT", line 1757~ORA-06510: PL/SQL: unhandled user-defined exception~ORA-06512: at "PORTAL.WWERR_API_EXCEPTION", line 71~ORA-06512: at "PORTAL.WWV_CONTEXT", line 1837~ORA-06519: active autonomous transaction detected and rolled back~ORA-06512: at line 1
Thanks
Sathya -
Problem with PLSQL dbms job in apex
Hi,
I am completely new to apex, and am facing a issue which i feel is strange.
There is a button on the apex page and a process is associated with that button. Some tables are being updated in the code written in that process and a db procedure is called which creates some files on the unix box(utl_file). The type of that process is PLSQL DBMS job.
Now its been observed that the code written on that button is executed at odd times i.e no one made any action on the button.
So my questions are,
Is this PLSQL DBMS job same as that of the database dbms_job?? but the logs have no entry.
Is there a case when the button might be pressed earlier but the job executed late because of resources not being available?
Any logs created by apex so that i can track the job??
Any idea if i can replace this plsql dbms job with any other process type??
Secondly, there are 4 files being generated out of which 3 are generated with 644 permission and 1 file is generated with 600. Why does this happen?
Apex version :3.1
db version: 10.2.0.4
Regards,
AnkitLooks like it's still a database bug. In 10.1.0.4, I get the correct results in sqlplus from the query but I get incorrect results in sqlplus if I do it like this:set serveroutput on
declare
l_cursor integer := DBMS_SQL.OPEN_CURSOR;
l_desc_tbl DBMS_SQL.DESC_TAB2;
l_ignore number;
l_col_cnt integer;
l_col_val varchar2(32767);
BEGIN
DBMS_SQL.PARSE(l_cursor,
'select connect_by_isleaf LEAF,DESCRIPTION,PLACE from test_tab start with id = 1 connect by prior id = id_master',
DBMS_SQL.NATIVE);
l_ignore := DBMS_SQL.EXECUTE(l_cursor);
DBMS_SQL.DESCRIBE_COLUMNS2(l_cursor, l_col_cnt, l_desc_tbl );
for i in 1 .. l_col_cnt loop
DBMS_SQL.DEFINE_COLUMN(l_cursor, i, l_col_val, 32767 );
end loop;
while (DBMS_SQL.FETCH_ROWS(l_cursor) > 0)
loop
for i in 1 .. l_col_cnt loop
DBMS_SQL.COLUMN_VALUE(l_cursor, i, l_col_val);
-- print the column value
dbms_output.put_line(l_col_val);
end loop;
dbms_output.put_line(chr(10));
END LOOP;
if DBMS_SQL.IS_OPEN(l_cursor) then
DBMS_SQL.CLOSE_CURSOR(l_cursor);
end if;
END;
/Scott -
Streams Help - Stuck in PAUSED FOR FLOW CONTROL
Hi All,
I am brand new to Streams and i'm trying to configure streams between two db's on different machines on the same network. Initially i was getting errors trying to connect to the remote database during Propagation(ORA-02019 connection description for remote database not found ). I think this was due to my db link being created incorrectly. I recreated my db link and i'm no longer getting those messages.
Now everything on my Source db looks like it's running except the Capture state is stuck in PAUSED FOR FLOW CONTROL and nothing is being propagated. The propagation process is enabled and i can see it in the dba_jobs views. I have never gotten this working yet.
Does anyone have general troublshooting tips for this. I have found detailed instructions on how to setup the stream but not much on how to troubleshoot.
Any advise would be greatly appreciated.
nullThis error was due to a 'bad' database link. I'm still not positive why the link was bad but i recreated my db link and tested. After i confirmed it was active I re-setup my capture and propagation processes and all is good now.
thanks, dave -
1.5PROD/EA3/EA2/EA1 - Sticky Enable DBMS Output button [fixed]
Any new worksheet (regardless of new connection or not) will have the Enable DBMS Output icon in the same state as the current worksheet. However, even if it displays as enabled, the new worksheet will not poll for DBMS output and DBMS Output will not be enabled for a new connection. To get a new connection to poll for DBMS output (where it's icon is "enabled" in this case), you need to "disable" DBMS output and then enable it again.
This is one of a number fairly basic UI glitches that seem to take just forever to fix - this has been there since pre-1.0 days (!!!) even though it has been posted a number of times and according to one thread was being looked at by the dev team. Can someone on the dev team comment on whether anything has/will be done about this issue?
theFurryOne
Maybe you are looking for
-
I've had the thing since 2008 I believe, went swimming with it once in 2010 or so but it's not had problems since it recovered from that incident. Although suddenly my screen has an abundance of black lines/pixels all over which wasn't too troubling
-
How to Aggregate String Fields
Hi I have a Query in which i Use Sum to aggregate fields , now i have some new fields on the table which are String, i want to add those to same existing queries where Sum is happening. and i want those string values to get aggregated as well like fo
-
Selection of Middle tier components for creating data model
Which business layer is prefered to create interactive data model: 1. ADF business components or 2. Enterprise JavaBeans using Java persistance API (JPA) or 3. Toplink 4. Portlets which minimizes writing low level codes and how much OOPS knowledge is
-
CS3: Everything's pixelating upon zooming in.
I'm making my own Christmas cards. I started last Wednesday, and Photoshop worked perfectly fine. Now, anytime I zoom in I get a mass of pixelation on the image. It's happening to the brushes too. I tried another document, same thing happens. I updat
-
HT4718 Are there alternate ways to boot in recovery mode?
The original problem: 2007 era Macbook Pro display goes bad. Solution: We bought a new macbook pro. It was time for an upgrade. The opportunity: We decided to connect the old pro to an external display and use it in clamshell mode and set it up for