Cannot stop Oracle job

Hi there,
I have a scheduled backup job which set to run daily, for some reason or another it has failed and it's current status is skipped and has been so for the last couple of days. I have tried to stop the job, but it sill remains there in the same state. I have tried restarting the database, but have had no joy.
How can I stop the job, and getting it back on schedule?
Thanks...

The job is a database backup job which reported an obscure error the other day, I posted it but got no useful replies as to the nature of the error, the error was as follows
Failed due to Unexpected error. No future executions will be scheduled. Details: ORA-28239: no key provided
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
ORA-06512: at "SYS.DBMS_CRYPTO", line 44
ORA-06512: at "SYSMAN.DECRYPT", line 9
I have restarted the database and now I plan to stop the job and reshedule it, but the problem is that I can't stop the job, any suggestions?

Similar Messages

  • Cannot Stop Job

    Hi,
    I'm running a SQL 2005 SP 2 on Windows 2003 Server R2.
    I have a Job that includes a IS Package and then conducts a lot of calculations of which one runs into an infinite loop.
    The problem now is, that I can't stop the job. If i try it sp_stop_job procedure returns success, but in the activity monitor the job is still running, and restart the job returns that the job is already running
    (SQLServerAgent Error: Request to run job xxx refused because the job is already running... (Microsoft SQL Server, Eror: 22022)
    It helped to restart the Server Agent, but this is not a proper solution as other user work on this database as well, so how can i kill the job without restarting the agent?
    thanks in advance

    Although killing the SPID will solve the "infinite" loop issue for that instance, shouldn't you figure out under what conditions the infinite loop is occurring and try to mitigate the possibility of the infinite loop from occurring?
    Do you have an idea of the circumstances that cause the package to go into an infinite loop?

  • ORA-20211: Active job does not exist, cannot link to job record.

    Getting the above error while executing OWB mapping in production environment.
    Details of the error :
    ORA-20211: Active job does not exist, cannot link to job record.
    ORA-06512: at "RADRUN.WB_RT_MAPAUDIT", line 1278
    ORA-06512: at "RADRUN.WB_RT_MAPAUDIT", line 2110
    ORA-06512: at "RADSTG.MAP_STG_AIRCRAFT", line 2384
    ORA-06512: at "RADSTG.MAP_STG_AIRCRAFT", line 2513
    RADRUN -- runtime schema
    RADSTG -- Target schema where mappings deployed.
    source database is accessed through a DB link.
    OWB version - 10.1.0.4.0
    Oracle - 9.2.0.6.0
    Here mappings are getting executed by calling a pl/sql procedure. This pl/sql procedure is executed every day by scheduling a dbms_job. After the error, the job is in hanging.
    Last week also the same error happened, on that occasion , restarted the database and re submitted the job. Mapping executed without any error.
    Looking for the expert comments

    Hi.
    See Note:125860.1 in metalink (and please, lol to solution #3). It applies to older OWB versions though... Are you using DBMS_JOB or OEM to run these mappings? If so, then the metalink note might be useful help.
    Karesz, I believe if the source database was down, it would fail with an ORA-12XXX Error.
    Regards,
    Marcos

  • Cannot install oracle 9i on linux (fedora core 2)

    dear all members.
    I cannot install oracle 9i on linux (fedora core 2)
    progress bar stop at 17% no activity at hardisk. I wait for 15 hours , still no movement. file being copy is " naeet.o " , I am not sure how importance is it.
    I try several times, but still similar result....
    Amnuay U.
    [email protected]

    Hi,
    I think that Feedbak forum is not the best place for this problem.
    You should ask this into
    => Installation Forum : Database Installation
    or
    => Linux Forum : Generic Linux
    Anyway, you can find an install doc here :
    http://ivan.kartik.sk/oracle/install_ora9_fedora.html
    Nicolas.

  • 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...

  • 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

  • Cannot stop admin server

    Hi all
    I use scripts to stop and start admin server and cluster.
    After include " -Xmanagement:autodiscovery=true,authenticate=false,ssl=false,port=11202" as JVM parameters, I cannot stop the admin server using stopWebLogic.sh.
    If I stop from console it works.
    This error seems a port conflict when trying to start a new JVM to stop Adminserver...
    Stopping Weblogic Server...
    [ERROR][mgmnt ] JMX connector server communication error: null
    java.lang.RuntimeException: Error: JMX connector server communication error: nul
    l
    at oracle.jrockit.management.server.Messages.error(Messages.java:109)
    at oracle.jrockit.management.server.Messages.error(Messages.java:123)
    at oracle.jrockit.management.server.Agent.main(Agent.java:165)
    at oracle.jrockit.management.server.Agent.agentmain(Agent.java:101)
    at oracle.jrockit.management.server.Agent.start(Agent.java:214)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at jrockit.management.AgentStarter.startAgent(AgentStarter.java:135)
    Caused by: oracle.jrockit.management.server.AgentError
    at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXC
    onnector.java:82)
    at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJ
    MXConnector.java:233)
    at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer
    (RemoteJMXConnectorImpl.java:112)
    at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
    at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
    at oracle.jrockit.management.server.Agent.start(Agent.java:64)
    at oracle.jrockit.management.server.Agent.main(Agent.java:163)
    ... 7 more
    Caused by: java.rmi.server.ExportException: Port already in use: 11202; nested exception is:
    java.net.BindException: Address already in use
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:394)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:130)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
    at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:76)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
    at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
    ... 13 more
    Caused by: java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:97)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
    at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
    at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:75)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
    at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
    at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJMXConnector.java:233)
    at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer(RemoteJMXConnectorImpl.java:112)
    at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
    at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
    at oracle.jrockit.management.server.Agent.start(Agent.java:64)
    at oracle.jrockit.management.server.Agent.main(Agent.java:163)
    at oracle.jrockit.management.server.Agent.agentmain(Agent.java:100)
    at oracle.jrockit.management.server.Agent.start(Agent.java:213)
    ... 5 more
    Could not create the Java virtual machine.
    Done

    This is because the process to stop the JVM is also trying to use the same host/port combination for the remote JRockit monitoring as the same setDomainEnv script is likely called in either case. What you want to do is ignore those options when launching the JVM (the WLST script) that tells the server to shut down.

  • Cannot stop admin or cluster

    Hi all
    I use scripts to stop and start admin server and cluster.
    After include " -Xmanagement:autodiscovery=true,authenticate=false,ssl=false,port=11202" as JVM parameters, I cannot stop the admin server using stopWebLogic.sh.
    If I stop from console it works. Error seems a port conflict when trying to start a new JVM to stop Adminserver...
    Stopping Weblogic Server...
    [ERROR][mgmnt  ] JMX connector server communication error: null
    java.lang.RuntimeException: Error: JMX connector server communication error: nul
    l
    at oracle.jrockit.management.server.Messages.error(Messages.java:109)
    at oracle.jrockit.management.server.Messages.error(Messages.java:123)
    at oracle.jrockit.management.server.Agent.main(Agent.java:165)
    at oracle.jrockit.management.server.Agent.agentmain(Agent.java:101)
    at oracle.jrockit.management.server.Agent.start(Agent.java:214)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at jrockit.management.AgentStarter.startAgent(AgentStarter.java:135)
    Caused by: oracle.jrockit.management.server.AgentError
    at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXC
    onnector.java:82)
    at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJ
    MXConnector.java:233)
    at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer
    (RemoteJMXConnectorImpl.java:112)
    at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
    at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
    at oracle.jrockit.management.server.Agent.start(Agent.java:64)
    at oracle.jrockit.management.server.Agent.main(Agent.java:163)
    ... 7 more
    Caused by: java.rmi.server.ExportException: Port already in use: 11202; nested exception is:
    java.net.BindException: Address already in use
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:394)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:130)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
    at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:76)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
    at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
    ... 13 more
    Caused by: java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:97)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
    at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
    at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
    at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:75)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
    at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
    at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJMXConnector.java:233)
    at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer(RemoteJMXConnectorImpl.java:112)
    at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
    at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
    at oracle.jrockit.management.server.Agent.start(Agent.java:64)
    at oracle.jrockit.management.server.Agent.main(Agent.java:163)
    at oracle.jrockit.management.server.Agent.agentmain(Agent.java:100)
    at oracle.jrockit.management.server.Agent.start(Agent.java:213)
    ... 5 more
    Could not create the Java virtual machine.
    Done
    Edited by: lalbuque on 24/08/2010 06:46

    Where do you add -Xmanagement... to your jvm parameters?
    If you do it in setDomainEnv I guess you will get the described behaviour.
    If so, could you move -Xmanagment.. to startWeblogic or some other script that starts the jvm instance you actually want to monitor with Mission Control?
    (Not sure if this is the proper way to do it, but at least it could work)
    Klara, JRockit Mission Control QA

  • Cannot connect oracle database follwing path.

    Hi experts,
                       cannot connect oracle database in the following path.
    i take sap daily backup on testing server ,but it is fail.
    F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11.
    but the following path not found in the testing server \sapcheck\cegvmynv.chk
    what can i do?
    Text removed by moderator
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000001074, user ID SUPERUSER)
    Execute logical command BRCONNECT On host mpq
    Parameters: -u / -jid CHECK20110923162500 -c -f check
    BR0801I BRCONNECT 7.00 (43)
    BR0477I Oracle pfile D:\oracle\MPQ\102\database\initMPQ.ora created from spfile D:\oracle\MPQ\102\database\spfileMPQ.ora
    BR0805I Start of BRCONNECT processing: cegvmynv.chk 2011-09-23 16.25.51
    BR0252E Function fopen() failed for 'F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file F:\oracle\MPQ\sapcheck\cegvmynv.chk failed
    BR0806I End of BRCONNECT processing: cegvmynv.chk2011-09-23 16.25.54
    BR0280I BRCONNECT time stamp: 2011-09-23 16.25.54
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Regards,
    A.Sithanandan
    Edited by: Matt on Sep 26, 2011 9:07 AM

    Hi Justin,
    I can connect the database where I use Oracle ODBC Driver. But Microsoft driver didn't work.
    However, I can connect to the database where I use Microsoft driver in W2K (server side)...
    Catherine
    Can you connect with the Oracle driver? I'm not sure whether the Microsoft driver is supported against a 9i database (I have no information either way).
    Justin

  • Stopping Background job in Risk Analysis and Remediation

    Hi,
    We have scheduled background job for Batch Risk Analysis in CC 5.3. Later we have terminated that job for some reasons. But that terminated job status is showing as Stopping from past 3 days. How we can cancel that job?
    We have restated the J2E server but the job is still running. Please suggest me how we can stop that job immediately.
    Regards,
    KKRao.
    Edited by: KKRao_2020 on May 12, 2009 9:14 AM

    Hi,
    If you have access to oracle backend then I can tell an work arround for this issue,
    when the job is in stoping status then you can delete an entry from VIRSA_CC_JOBHST table.
    The command is
    SQL> delete from  VIRSA_CC_JOBHST where jobid=your jobid and status=3;
    After running this command the job in the RAR will show aborted status then the delete button will be enabled and if you want then you can delete that job from RAR screen.
    Regards,
    Sudip.

  • Can't stop a job from plsql 27486 - stops fine from sql

    Hi,
    I'm trying to create a simple package that will stop known jobs that the user owns. (Same user owns the jobs and the package)
    the code just does
    dbms_scheduler.disable('JOB_EMAIL_QUEUE', TRUE);
    dbms_scheduler.stop_job('JOB_EMAIL_QUEUE', TRUE);
    At stop_job I get
    ORA-27486 insufficient privilege
    ORA-06512 at "SYS.DBMS_ISCHED", line 164
    ORA-06512 at "SYS.DBMS_SCHEDULER", line 483
    Yet if I put the exact same code in an anon block it runs fine in sqlplus for the same user. The user holds the role SCHEDULER_ADMIN but I have now granted him execute access on both dbms_isched and dbms_scheduler.
    Whassup?
    Thanks,
    Steve

    Hi,
    I think what you're seeing is caused by the following two facts
    - a user must have the manage scheduler system privilege to stop a job with force=>true
    - definer's rights pl/sql stored procedures don't honour system privileges granted through roles. See
    http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10807/08_subs.htm#sthref1072
    The simplest solution is to grant MANAGE SCHEDULER directly to the definer of the definer's rights stored procedure.
    Hope this helps,
    Ravi.

  • Cannot install Oracle 10g rel. 2 on Win Server 2003 SB

    Hello,
    I cannot install Oracle 10g rel. 2 on Win Server 2003 SB, because when the the configuration assistant installer try to copy the db files, it stop with the following errors:
    ORA-24324 Service Handle not Initialized
    ORA-24323 Value not authorized
    ORA-28547 Connection to Server failed probable Oracle NET ADMIN errorRegards
    Siyavuş

    You should be connected as a local administrator to perform the install process.
    Try to perfom a software only install, then once you make sure the installation was successful, launch the dbca. It is important for you to use a local account to perform the installation and db setup process, otherwise, if you have authentication problems, even if you comment the authentication line at the sqlnet.ora file you will be facing issues that will make fail the assistant, since it is designed to work assuming the user is OS authenticated.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • SYS-170111 - Cannot stop memory monitor thread: RWThreadImp::terminate -

    Hi Experts,
                  WE have this warning in pretty much every job in production. But the warnings are not specific to certain jobs they might occur one day and not the other day.
    Cannot stop memory monitor thread: <RWThreadImp::terminate - No thread is active within the runnable>.
    I know looking at the release notes this issue was fixed in 3.0 (12.0.0), we are using 3.2 (12.2.0) and having the same issues. The job server is on a linux 64 bit. I have not seen this issue in any of our windows job server. Is this bug specific to linux or is there a resolution for this.
    Appreciate your help in advance.
    Thanks
    AJ
    Edited by: alangilbi on Sep 28, 2011 5:17 PM

    Hi, AJ.
    As can be seen in the KBA 1455412 this is a known behavior.
    "As a result of fixing the problem identified in ADAPT 00890818 in release 12.0.0.0, this message is displayed by design. If there is really a problem in stopping the memory monitor thread an exception is thrown and an error message is logged.
    Background:
    In the memory monitor's shutdown logic, once it tells the monitor thread to shutdown it waits for the thread to terminate but only for 10 seconds. It could be that at this same time the wait expired when the thread actually terminates. So when this happens in the shutdown logic we force terminate the thread. Since there is no active thread anymore the terminate call throws an exception and then we catch it and then throws the error for the job."
    You can just ignore this warning.
    Leo.

  • How to stop backup job on enterprise manager

    Hi
    I have a rman job on enterprise manager which takes backup of all the datafiles everyday.
    How can I temporaraly stop the job and resume later? The job hasnt started yet.
    Database is oracle 10g. operating system is unix
    regards

    If you stop it, it will not run again and you won't be able to reschedule it. Killing sounds like it will solve your problem.
    To kill:
    Once you click on the "Running" link next to the job_name, you should see these two links (the second one may take a few seconds to show up):
    Step: Prebackup
    Step: Backup
    Click on the "Step: Backup" hyperlink. There will be a "Kill Step" button at the top right corner.
    If you don't see it, you can also connect to the database itself and kill the RMAN SIDs. This should show the job's status as "Problems". You can then edit the "Scheduled" job that should have been created.
    As for the run tomorrow, make sure you delete the O/S files created by the killed job if they are still there and run "crosscheck backup" (from RMAN or Grid/Manage Backup). This will make sure RMAN doesn't skip any datafiles at the next run.

  • Script to STAR/STOP Oracle 11g Std.One DB on Windows Server 2008

    Hi, all
    Every friday we need backup our Windws Server 2008 ( Full backup),
    To do that, we need
    1.- 5:00pm Shutdown our Oracle 11g Std.One Database
    2.- 5:05 Launch the FULL Backup procees 5:05pm.
    3.- 5:10 Wait until the backup is finished (2 hours aprox.) in a external disk.
    3.- 7:15 Startup Oracle 11g 5 min.
    Is there any script we can use in a Windows Server schedule job, to Stop oracle at 5pm and Startup Oracle lets say at 8:00pm??
    Thanks in advance.

    arzamm wrote:
    Hi, all
    Every friday we need backup our Windws Server 2008 ( Full backup),
    To do that, we need
    1.- 5:00pm Shutdown our Oracle 11g Std.One Database
    2.- 5:05 Launch the FULL Backup procees 5:05pm.
    3.- 5:10 Wait until the backup is finished (2 hours aprox.) in a external disk.
    3.- 7:15 Startup Oracle 11g 5 min.
    Is there any script we can use in a Windows Server schedule job, to Stop oracle at 5pm and Startup Oracle lets say at 8:00pm??
    Thanks in advance.Just like any scripting .. same commands you would issue at a command line .. put them in a script file. Unfortuanately, Windows, among it's various scripting limitations (vis a vis *nix) does not all the kind of input redirection needed to do it in a single file.
    Solution is something like this:
    echo shutdown immedate > shutdown.sql
    echo exit >> shutdown.sql
    sqlplus / as sysdba @ shutdown.sql
    del shutdown.sql
    exitput that in a .cmd file. schedule .cmd file

Maybe you are looking for