OEM ERROR: Run backup job from Enterprise Maneger failed

After configuring backup policy on my database by means of OEM console (Oracle 9.2, OEM 9.2.0.1) scheduled job failed. Job Output show:
"Could Not Find C:\WINNT\TEMP\3212132705.44]" (square bracket at the end of filename). This file (without bracket) exist and contain rman's script.
But how can I force OEM (or RMAN or other product) remove last square bracket!

I had the same problem of not discovering nodes and teh problem escalated to a point that jobs remained in "submitting" or "deleting" status. I couldn't delete nodes becuase jobs were dependent on it, and couldn't delete jobs because the node was manually configures.
The following steps are by trial and error and got me back to a working status where nodes are discovered. Try them at your own risk :)
Oracle Agent doens't seem to like changing IPs... if your machine IP has changed do the following:
1. Stop the Agent service (under control panel)
2. under Oracle's folder, ora92/network/agent, backup all the .q and .ora files and delete them. If it does not allow you to delete, disable the Agent service, reboot the computer and try to delete them
3. Start the agent service (if you had disabled it, change the startup back to "automatic"
4. I dropped the OEM repository and recreated it. Not sure if it helped or not, you can do the same or just go ahead and start OMS.
Hope it helps, again, no garantee this works. It did work on my computer.

Similar Messages

  • Backup problems from Enterprise Manager Database control

    I'm having a problem with performing backups from EM DB Control on two of my Oracle 10g 10.2.0.4 systems. When I configure and submit any backup job from EM (either online or offline), the following happens:
    - When the job is due to run a Pre backup task has status of 'Scheduled'
    - Prebackup task completes and status changes to 'Succeeded'
    - Backup task appears with status of 'Scheduled' and value of started time within the next minute
    - Status of backup task never changes from 'Scheduled', and the started time keeps updating to the current time
    - This goes on indefinitely until I abort the job
    At the moment I have scheduled tasks configured to run an RMAN job every night, but I need to get this working through Enterprise Manager Database control. Please help!
    Something else which has happended on one of these systems is that after applying some Microsoft Critical updates the database control service would not start. The only way I could find to resolve this was to recreate the Enterprise Manager repository. Could there be a link here at all?
    Cheers,
    Strak

    I think Rodney may have the cause, because the database has been copied. I have looked in every property file I can think of, and then all the rest anyway, and there is no reference to the old host name. And I have ralready e-installed EM using emca -config -dbcontrol db. And I'm definately on the correct port.
    So it must be held internally in the database. I've seen partial instructions on deleting the EM repository in the database & java files, does anyone have a full set I can use ? Once that is done, does emca reinstall everything ?
    Many thanks, Duncan

  • DBMS_JOB.RUN: cannot run a job from a job

    I'm trying to set up a job to automatically run every October 1st. The "submit" part of this job is pretty simple, but I am getting some errors on the "run" part:
    declare
    job_nbr binary_integer;
    BEGIN
    dbms_job.submit(job => job_nbr,
              what => 'RESET_ORDER_NBR_SEQ;',
              next_date => to_date('10/1/2008', 'mm/dd/yyyy'),
              interval => 'add_months(sysdate,12)');
    dbms_job.run(job_nbr);
    COMMIT;
    END;
    When I run this script, I get the following error: "ORA-32317: cannot run a job from a job". I know this is due to the dbms_job.run because I don't get the error when I comment this line out. Also, even when I moved the dbms_job.run into its own script (and even hard-coded the job_nbr, so the dbms_job.run was the only line in the script), it still gave me the same error. This is working in SQL Developer when but not in Application Express. It seems to be something specific to the "run", since "submit" and "remove" work fine. Has anyone had any problems like this?

    MBETTIS,
    Rather than including dbms_job.run in your PL/SQL block, why don't you just schedule the job to run via next_date?
    Also, the interval will be computed after the job successfully executes. So if your job takes 5 minutes to run, the value of SYSDATE in your interval may "slide" after each execution. Consider using some form of TRUNC against the SYSDATE in your interval if you want to achieve a consistent execution time.
    Joel

  • Monitor backup job from db control

    Dear Oracle users,
    My database version is standard edition 10.2.0.3. I set up some database backup jobs from db console on our test db server including ‘schedule oracle-suggested backup’ and ‘schedule customized backup’.
    The jobs are running very well at daily schedule. However, I need to monitor them in case they failed. Is there any way I can monitor these jobs through db console?
    Thanks,
    Belinda

    [email protected] wrote:
    Dear Oracle users,
    Is there any way I can monitor these jobs through db console?It seems like one way is mentioned in documentation
    Thanks,ok

  • Receiving errors (RUN BL on) (PASS BL blink) (FAIL BL off)

    I am receiving the errors (RUN BL on) (PASS BL blink) (FAIL BL off) om IPOD screen, It will not reset, I plugged into Itunes and Itunes/compiter will not recognize my IPOD either. Any suggestions as to why I am getting this error all of a sudden. The IPOD had been working fine without any problems before this.
    Thank You

    I just came upon a few queries in 2006 and 2007 who had similar problems. Then I found one GUY who found a solution which read, as follows: "Have both of you used the reset process with the HOLD button and then press MENU and Select at the same time?"
    I tried the same and had to hold on to two buttons (at random, since I was not aware as to which button was the HOLD button (but I knew which was the MENU button), and suddenly my Ipod became normal. And as soon as I connected it to my laptop, things became exactly as what it should be.
    Thanks a lot guys....... My Ipod is probably Ipod Classic 5 version. Anyways the point is clear...... TO RESET TO FACTORY SETTINGS ONE HAS TO PRESS THE HOLD & MENU BUTTON FOR 10 SECONDS CONTINUOUSLY, AND THE PROBLEM IS SOLVED.
    BRAVO

  • DBACOCKPIT job error when running backup job to LAN network folder

    Hello all
    I have set up a network location through MSSQL Server Management Studio from
    Server Objects -> Backup devices
    and using SQL Server Managemnt Studio i can backup Full or Log to that network locaion.
    When in SAP using DBACOCKPIT i can see the backup device which i defined in the SQL but when i run a job to backup FULL or LOG then i get the following error :
    SQL Job information   ******************************
    Jobname:    SAP CCMS Full DB Backup of master,msdb,GDW [20110725095438-1-095438]
    Type:       TSQL
    DB-Name:    GDW
    For Run:    20110725  09:54:38
    Job history information  *****************************
    Stepname:   CCMS-step 1
    Command:    declare @exeStmt nvarchar(2000) exec gdw.sap_backup_databases @dbList=
                "master,msdb,GDW",@r3Db="GDW",@bDev="@FisticFULL",@expDays= 27,@jobNam
                e= "SAP CCMS Full DB Backup of master,msdb,GDW [20110725095438-1-09543
                8]",@bkupChecksum="N",@bkupCompress="N",@bkupType="F",@nativeBkup="N",
                @exeDate = "20110725095438",@bkupSim = "N",@format = 0,@init = 0,@bkup
                Db = "master",@unload = 0,@exeStmt = @exeStmt OUTPUT
    Status:     (failure)
    Message:    2528
    Severity:                                                                                15
    Duration:   0  hours(s)  0  min(s) 0  sec(s)
    Last msg:   Executed as user: NT AUTHORITY\SYSTEM. Must declare the scalar variabl
                e "@FisticFULL". [SQLSTATE 42000] (Error 137)  Incorrect syntax near t
                he keyword 'with'. If this statement is a common table expression, an
                xmlnamespaces clause or a change tracking context clause, the previous
                 statement must be terminated with a semicolon. [SQLSTATE 42000] (Erro
                r 319)  DBCC execution completed. If DBCC printed error messages, cont
                act your system administrator. [SQLSTATE 01000] (Error 2528).  The ste
                p failed.
                        <----
    End of Job Step History -
    >
    Job history information  *****************************
    any ideas?
    thx in advance

    Hello Marcus
    I went to the link which you mentioned and there is nothing mentioned about hot to give rights to the user NTAUTHORITY\SYSTEM  in order to do network backup.
    I have done the following:
    at server A which i my backup server i have a folder which i have it shared with full permissions for everyone.
    At the SECURITY there is also full rights for everyone and for local admins.
    From Server B i went to services and i stoped the SQL SERVER service and i set it up to log on with a user which has Administrator rights in the DOMAIN.
    From server B i logged on with administrator and i defined at the SQL Server Management Studio at Server Objects -> Backup devices a new backup device with the network path.
    The thing is that i have to go with windows explorer to the network location of where i want to do backup in order to put my domain username and password and after i can run the backup by the SQL Server Management Studio.
    Do you know where do i need to give authority to NTAUTHORITY\SYSTEM in order for my backup to work from the SAP - DBACOCKPIT?
    thx in advance.

  • Error: Sheduled Backup Job Problem

    Dear all.
    I've been getting a problem with a scheduled backup job through OEM since yesterday which I'm not able to find out why as it was working fine. When I access OEM I can see that I have a problem execution and when I investigate why it says "Unable to perform the backup because the database is closed". But my db is open for sure and I'm able to execute the backup from RMAN command line normally. I shut my db down and started it up again but didn't work. Does anybody know why this is happening?
    OS: Oracle Enterprise Linux 5
    DB: Oracle Database 10g
    Thanks a lot.

    **** Job Definition ****
    Status: Scheduled
    Scheduled: 09-Jun-2009 20:00:00 o'clock GMT-03:00
    Repeating: Daily beginning 09-Jun-2009 20:00:00 (because I changed to do tests)
    Type: Database Backup
    Owner: SYS
    Description: Whole Database Backup
    Database Connect String: (DESCRIPTION=(ADDRESS_LIST=(ADDR...
    Version 10g or higher: YES
    Backup Strategy: advanced
    Offline Backup: NO
    Blackout: NO
    Database Name: ORCL
    **** Script ****
    $rman_script="backup incremental level 0 cumulative device type disk filesperset = 3 tag '%TAG' database;
    backup device type disk filesperset = 3 tag '%TAG' archivelog all not backed up;
    allocate channel for maintenance type disk;
    delete noprompt obsolete device type disk;
    release channel;
    &br_save_agent_env();
    &br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "TRUE");
    my $result = &br_backup();
    exit($result);

  • Error in Backup job scheduling in DB13

    Hi All
    Backup job scheduled in DB13 kicks error ,I am using Oracle as database and ERP6.0
    database and application are on diffrent servers.Before it was working fine,I didn't changed any password
    I can run backupjob sucessfully directly from BRtools on database server.Please provide any hint
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000060, user )
    No application server found on database host - rsh/gateway will be used
    Execute logical command BRBACKUP On host DLcSapOraG08
    Parameters:-u / -jid INLOG20090120204230 -c force -t online -m incr -p initerd.sap -w use_dbv -a -c force -p in
    iterd.sap -cds -w use_rmv
    BR0051I BRBACKUP 7.00 (31)
    BR0128I Option 'use_dbv' ignored for 'incr'
    BR0055I Start of database backup: bdztcorv.ind 2009-01-20 20.42.31
    BR0484I BRBACKUP log file: D:\oracle\ERD\sapbackup\bdztcorv.ind
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance ERD failed
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance ERD failed
    BR0056I End of database backup: bdztcorv.ind 2009-01-20 20.42.32
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
    BR0291I BRARCHIVE will be started with options '-U -jid INLOG20090120204230 -d disk -c force -p initerd.sap -cds -w use_rmv'
    BR0002I BRARCHIVE 7.00 (31)
    BR0181E Option '-cds' not supported for 'disk'
    BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance ERD failed
    BR0007I End of offline redo log processing: adztcorw.log 2009-01-20 20.42.32
    BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
    BR0005I BRARCHIVE terminated with errors
    BR0280I BRBACKUP time stamp: 2009-01-20 20.42.33
    BR0292I Execution of BRARCHIVE finished with return code 3
    External program terminated with exit code 3
    BRBACKUP returned error status E
    Job finished

    Hi,
    not sure if the recommendations given will address this issue.
    You are getting this error:
    BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    the log file indicates:
    > No application server found on database host - rsh/gateway will be used
    This indicated that the user that is connecting from the AS to the DB server is not properly configured to perform the DB tasks on it.
    So, first question would be to know if you have configured a gateway on the DB server and how, or if you are using remote shell.
    Second question, you can do backups on the DB server.
    > I can run backupjob sucessfully directly from BRtools on database server
    How did you run exactly the backup job (what is the exact command line, what is the exact OS user that executed it)?
    What is the OS of the DB server?
    I have reread your post, your OS is windows therefore you fall in the "typical" error in Windows.
    You have executed your backup as <sid>ADM and it works. Unfortunatelly, in windows, SAP is exectuted by SAPSERVICE<sid>, and this is the user who should be connecting to your DB server, and this is the user who cannot execute the backup.
    The fact that you can run the backup with <sid>ADM in Windows does not means that you have SAPService<sid> properly configured.
    For the error (see before) I think your ops$ user for this user is not properly configured in the DB server. take a look at the note mentioned by KT and pay attention to the SAPSERVICE<sid> configuration
    Edited by: Fidel Vales on Jan 24, 2009 12:45 AM

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

  • Error deploy shared library from Enterprise Manager IAS10.1.3.5.0

    Hi,
    I am trying deploy one shared library in my OC4J instance (prd_oc4j) from Enterprise Manager, but when i run my application its not loading this library (error missing class), but when i put this shared library in file server.xml without Enterprise Manager my application run sucessfully.
    Help me please or this problem is a bug?
    Tks,
    Haysar Lelis

    If finally found the cause of the problem, lack of PermGen space for the home instance;
    When opening the EM Console most of the times i was able to open the login page, under stress opening this page failed most of the times.
    The ascontrol-application.log pointed me in the right direction;
    10/09/07 15:26:59.111 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    When monitoring the PermGen of the home instance, is showed that the system was running out of PermGen space.
    Increasing the PermGen size for the home instance in opmn.xml did the trick
    <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M......"

  • Error running 9i reports from forms.

    Hi folks,
    i am having problems running 9i reports from a form.
    i have installed Oracle 9iDS on a Win XP machine with 256 MB RAM and a Pentium 1.4Ghz processor.
    i also have a local Oracle 9i database. i have created several reports that i am trying to run from some forms but all efforts to date have failed.
    below is some sample code.
    declare
    v_rid report_object;
    v_rjob varchar2(100);
    v_rptstatus varchar2(100);
    v_jobid varchar2(100);
    BEGIN
    /*get handle to report object itself*/
    v_rid := find_report_object('pbranchlist');
    set_report_object_property(v_rid,REPORT_EXECUTION_MODE,BATCH);
    set_report_object_property(v_rid,REPORT_DESFORMAT,'htmlcss');
    set_report_object_property(v_rid,REPORT_DESTYPE,'CACHE');
    set_report_object_property(v_rid,REPORT_SERVER,'repsrv');
    set_report_object_property(v_rid,REPORT_COMM_MODE,synchronous);
    v_rjob := run_report_object(v_rid);
    v_rptstatus := report_object_status(v_rjob);
    while v_rptstatus in ('RUNNING','OPENING_REPORT','ENQUEUED') loop
         v_rptstatus := report_object_status(v_rjob);
         message(v_rptstatus);
    end loop;
    if v_rptstatus = 'FINISHED' then
         /*display report in browser*/
    --      web.show_document('http://steve:8888/reports/rwservlet/getjobid'||
    --      substr(v_rptsvrjob,instr(v_rptsvrjob,'_',-1)+1)||'?'||'server=repsrv','_blank');
    web.show_document('/reports/rwservlet/getjobid'||substr(v_rjob,instr(v_rjob,'_',-1)+1)||'?'||'server=repsrv','_blank');
    else
         message('error running Report');
    end if;
    end;
    pbranchlist is defined in the form,
    repsrv is a report server i installed and explicitly started.
    on clicking the button to run the above code, i get a message on the browser status bar as follows
    opening http://steve:8888/reports/rwservlet/getjobid11?server=repsrv...
    that's it. it stays like that forever and a progress bar showing the status of the operation gets to the halfway mark and stays there for up to 15 minutes.
    I eventually halted the operation by clicking the stop button of the browser. The form then becomes totally non-responsive with the mouse indicator changing to the hour-glass shape and a small vertical bar moving rapidly back and forth at the bottom of the form window.
    My only recourse then is to explicitly close the browser window.
    I have already configured Reports to run in non single sign-on mode by setting SINGLESIGNON=NO in the rwservlet.properties file.
    Is there anything i have not done properly?
    Thanks in advance.

    Steve,
    can you check the Reports cache directory if the Reports file got created? I would assume yes, but better check.
    Frank

  • Error when executing job from BW

    Hi,
    We have created a job that transfers a set of data to BW PSA.
    When executing from data services designer or from the management console the job works fine.
    When executing the job from BW administration workbench, the job is executed and does not report failures (we can consult the log in the management console).
    But nothing arrives in the PSA, and on the workbench we get the following errors:
    Error in a data conversion in record
    data record      1 of the fragmented entry is too long.
    Error in a data conversion in record
    Please advice what to check next.
    Best regards
    Thomas

    Hi,
    Thank you for your help.
    I tried changing the BW datastore to UTF-8 but am still not able to load these data when it is trigged from BW.
    After changing the datastore to UTF-8 I get some additional information in the log but no errors
    Additional information in the log:
    The specified locale  and datastore codepage
    Br
    Søren Ejlersen

  • Error running batch files from java source file???

    Dear Friends,
    hi,
    this is with response to a doubt i had earlier ,
    i want to run batch files from the java source file ,i tried using this code (here batrun is the batch file name that contains commands to run other java files)
    try
    String [] command = {"c:\\vishal\\finalmain\\batrun"};
    Runtime.getRuntime().exec(command);
    catch(Exception e)
    but i got the following error.
    java.io.IOException: CreateProcess: gnagarrun error= 2
    plz. help me, i tried all combination w/o success,
    in anticipation(if possible give the code after testing)
    Vishal.

    hello there,
    i solved the prob. by using
    cmd /c start filename ,but i need to pass parameters ie
    cmd /c start java "c:/vishal/runfile a b" where a and b are the parameters. but it is not accepting this in Runtime.getRuntime.exec(),
    any solutions ?????????
    regards,
    Vishal

  • Error running the report from Form

    Hi,
    I am try to run the report from the form by using these code of line
    DECLARE
         RPT_OBJECT      REPORT_OBJECT;
         RPT_RUN          VARCHAR2(100);
    BEGIN
    RPT_OBJECT := FIND_REPORT_OBJECT('REPORT7');
    SET_REPORT_OBJECT_PROPERTY(RPT_OBJECT, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(RPT_OBJECT, REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(RPT_OBJECT, REPORT_OTHER,'P_CITYCODE'||:CITYCODE||'PARAMFORM = YES');
    RPT_RUN := RUN_REPORT_OBJECT(RPT_OBJECT);
    END;
    but i m not using any Form server and Report Server i m completly using Oracle9iDS
    It gives the error rep-0110 file not found and
    rep-1070 error while opening and saving the file
    please give me the solution
    Shehzad

    Shehzad,
    this means that Reports Server cannot access the Reports module. You can test this assumption by copying your Reports module into <Oracle Home>\reports\samples\demo. The demo directory is out of the box accessible fro Reports.
    If this allows you to run the Report, then all you need to do is to specify the Reports_Path to include the reports modules.
    btw.: An other reason can be that your Reports contains uncompiled PLSQL, so you may want to check this too.
    Frank

  • Error run a procedure from select sql

    Hi,
    I want run a procedure from a easy sql select.
    I have write this code to run this procedure, but response with a oracle error:
    select [procedure_name](:data1, :data2) as test from dual
    the oracle error is this:
    ORA-00904: "procedurename": invalid identifier
    how to resolve this problem?
    thanks
    Edited by: user10943416 on 12-mag-2010 3.12

    select [procedure_name](:data1, :data2) as test from dualAside from the error Oracle already reported, you can't execute a procedure from a select statement.
    You need to do this:
    SQL> exec procedure_name(:data1, :data2);

Maybe you are looking for