RMAN Backup is failling with "RMAN exited with return code '1' " via tape.
Hi Everyone,
Backups are getting failed continously with below error.can you plese suggest me what is problem exactly
L1_OracleL1_Daily completed
Failed: ***-rac-a16-001-vip.*****.dom*
--- Unsuccessful Save Sets ---
** ***-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup savegrp: suppressed 43 lines of output.*
** ***-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup*
** ***-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup Recovery Manager complete.*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup The backup process failed:*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup RMAN exited with return code '1'.*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup Exiting with error:*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup RMAN exited with return code '1'.*
****-rac-a16-001-vip.uidl1.dom: RMAN exited with return code '1'.*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup nsrnmostart returned status of 255*
** ***1-rac-a16-001-vip.uidl1.dom:RMAN:/nsr/res/Daily_IncrDB_Backup /usr/sbin/nsrnmobkp exiting.*
Thanks,
Prasanth
Hi Hemanth/imran,
storage team is shown below error for failure of backup in their log.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12502: TNS:listener received no CONNECT_DATA from client
Recovery Manager complete.
The backup process failed:
RMAN exited with return code '1'.
Exiting with error:
RMAN exited with return code '1'.
uidl1-rac-a16-001-vip.uidl1.dom: RMAN exited with return code '1'.
Any changes we need to do
Thanks,
Prasanth
Similar Messages
-
Install: 10G companion CD install fails with "pingwait exits with 1220332"
Hi,
I am new to all this and am trying to install on a stand alone laptop. I am finding the installation process confusing.
I have:
1. Installed 10GR2 database software and have a sid=testdb. This is fine, I can connect via sql*plus no problem.
2. I have downloaded Oracle 10GR2 companion CD and installed both the HTTP server and HTMLDB in a new Oracle home. This installed OK but one of the config assistants failed:
Starting HTTP server Config assistant failed with:
pingwait exits with 1220332.
I was also expecting to see a flows% user in the database and this doesn't exist?
Any advice would be appreciated.
Thanks.There it should install without problems, even in a VM. Check the Oracle, Java and Path environment variables. Probably a wrong version of java is being invoked instead of the one provided with the OUI.
~ Madrid
http://hrivera99.blogspot.com -
Program ended with error or warning, return code: F
Friends, During client export i am facing below mention error, Pl suggest asap
Client export from 06.04.2011 18:00:44
System ID............................ PPT
R/3 Release.......................... 700
Basis Support Package...............SAPKB70018
Host................................. pptest
Start in background............. .....X
User................................. SUPER
Parameter
Source client........................ 500
Source client user masters............500
Copier profile:.......................SAP_ALL
Table selection
Command file......................... PPTKT00008
Customizing data .....................X
With application data................ X
Initialize and recreate......... X
Change documents are not copied
Transport control program tp ended with error code 0012
Error exporting request PPTKT00008 23:40:31
Program ended with error or warning, return code: F
Runtime (seconds) : 20,390
End of processing: 23:40:33There could be three things possibly causing this error:
1. There is some database issues, that is the connection to the database maybe is lost that's why TP ends.
2. The TP return Code can also arise due to issues at the OS level, where SAP is installed.
3. Due to permission issues also this can creep in. By permission issues I mean there are not enough permissions, please use trace ST01 and run the process again.
Also please paste the Imort Log, as it can help in further analysis and with that please give your database and OS informations. -
Rman backup command hangs for datafile ,works with archivelogs backup.
Issue is archivelogs backup is going fine ,But when we go for datafile backup its hanging there from oracle side as not able to give file handle.
RMAN session started with debug it gives only
DBGRPC: ENTERED krmqgns [expect.cpp/673]
16:00:40.19 DBGRPC: krmqgns: looking for work for channel default (krmqgns) [expect.cpp/673]
16:00:40.19 DBGRPC: krmqgns: commands remaining to be executed: (krmqgns) [expect.cpp/673]
16:00:40.19 DBGRPC: CMD type=backup cmdid=1 status=STARTED [expect.cpp/673]
16:00:40.19 DBGRPC: 1 STEPstepid=1 cmdid=1 status=STARTED [expect.cpp/673]
16:00:40.19 DBGRPC: krmqgns: no work found for channel default (krmqgns) [expect.cpp/673]
16:00:40.19 DBGRPC: (krmqgns) [expect.cpp/673]
16:00:40.19 DBGRPC: EXITED krmqgns with status 1 [expect.cpp/673]
16:00:40.19 DBGRPC: krmxpoq - returning rpc_number: 17 with status: STARTED16 for channel sqlbt_ch1 [expect.cpp/673]
16:00:40.19 DBGRPC: krmxr - sleeping for 10 seconds [expect.cpp/673]
Is any body seen this type of message from rman.
Thanks
ShirishOK. Did you miss the second Oracle document?
RMAN Debug For Backup Shows "krmxr: sleeping for x seconds" [ID 458259.1]
Also a ton of information here :
RMAN backup database as copy from file system to ASM diskgroup very slow
and here :
RMAN Error > Please assist!
and here :
RMAN and Amazon Web Services
http://oravdba.blogspot.com/2011_01_01_archive.html
Best Regards
mseberg -
RMAN backup fails atlast during resync catalog with ORA-00001
Hi Everyone,
Database version:10.2.0.2.0
single instance database
My Rman backups were running fine but today i got the error , almost at the end of backup
Finished Control File and SPFILE Autobackup
released channel: t1
released channel: t2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: error while performing automatic resync of recovery catalog
ORA-00001: unique constraint (RMAN.CKP_P) violated
Recovery Manager complete.
This problem occured 2 days before.I connected to catalog and ran a resync catalog and the backup worked fine for next day.
Now again today iam experiencing the same problem.
Any help would be greatThanks for the reply
SQL> select * from rman.rcver;
VERSION
10.02.00.00
10.02.00.02
when i do the resync catalog manually it works fine.only during the end of backup it throws me the error;
was wondering whether can i disable the primary key constraint on CKP table so that i can avoid the error.
since its a live system im thinking lot before i do anything
Thanks
Edited by: centerB on 14-Apr-2011 06:40
Edited by: centerB on 14-Apr-2011 06:57
Edited by: centerB on 14-Apr-2011 07:03 -
10.1.0.2.0 RMAN backup- What would cause RMAN to hang?
Oracle gurus- Fellow in trouble, need your guidance.
I have a serious issue that has no direct error to examine or fix.
I have a replicated offline server that has a scripted RMAN backup to run nightly, but the backup times flux from what should be only 1 hour 30 minutes. Every other day it takes up to 10 hours to complete a backup that normally takes 1 hr 30 minutes. There is no difference in data loads- the server is offline and the data has not changed to any effect. I use database control instead of grid control, and I turn off emctl every night before the rman backup- I thought maybe emctl was hogging resources. There is nothing else running on the server except replication inserting a couple of rows of data on three tables every other minute.
Where would I look to see where the problem exists when no errors are generated?
Does RMAN wait to backup files if they are being accessed?
Here is my backup script (the OS is Linux AS3) I run an AT job nightly.
at -f /path/path/rman_backup 0600 tomorrow
rman target/
run {
backup database plus archivelog;
delete noprompt obsolete;
sql 'alter system archive log current';
exit;
The Administrators are running a Legato Jukebox backup? a tape backup that backs up my DB files nightly. They run the Legato backup 3 hours after my RMAN backup- the problem is that my RMAN backup may be running during the Legato backup- so I assume that contention occurs and both backups fight for the DB files. This is not an issue when RMAN plays nice and finishes in the normal 1 hour 30 minutes, but when it exceeds 3 hours- we have serious issues, both RMAN and Legato backups take 10 hours.
Please help, I am really puzzled. This is causing me major headaches, how can I assure that RMAN has a consistent backup time to completion. Is there anyway to script it to use more resources to ensure it finishes quickly?Have you monitored CPU and I/O during this process? Are there any other processes running during this time? You mentioned the server is offline, but you also mentioned replication is taking place ?
You could query V$BACKUP_ASYNC_IO and look at EFFECTIVE_BYTES_PER_SECOND, WAITS and IO_COUNT.
During the backup, you can run the following query to monitor RMAN:
SELECT sid, serial#, context, sofar, totalwork,
round(sofar/totalwork*100,2) "% Complete"
FROM v$session_longops
WHERE opname LIKE 'RMAN%'
AND opname NOT LIKE '%aggregate%'
AND totalwork != 0
AND sofar <> totalwork;If the % Complete doesn't seem to be increasing, you should run the following select to determine what waits exist:
SELECT sid, seconds_in_wait AS sec_wait, event FROM v$session_wait
WHERE wait_time = 0
ORDER BY sid; -
Printing on HP Designjet 5500 with foomativ exits with status 9
Printing on HP Designjet 5500 over TCP/IP or Bonjour using Foomatic-RIP fails with status 9. Trying to use other drivers (HP Designjet 750C (gimp-print)) works for page sizes smaller that DIN A3 but crashs the printer for bigger sizes.
For Foomatic-RIP I get following messages in /var/log/cups/error_log:
I \[08/Jul/2009:19:18:29 \+0200] Job 10 queued on '129_247_20514' by ''.
I \[08/Jul/2009:19:18:29 \+0200] Started filter /usr/libexec/cups/filter/pstopdffilter (PID 14639) for job 10.
I \[08/Jul/2009:19:18:29 \+0200] Started filter /usr/libexec/cups/filter/cgpdftopdf (PID 14640) for job 10.
I \[08/Jul/2009:19:18:29 \+0200] Started filter /usr/libexec/cups/filter/foomatic-rip (PID 14641) for job 10.
I \[08/Jul/2009:19:18:29 \+0200] Started backend /usr/libexec/cups/backend/lpd (PID 14642) for job 10.
E \[08/Jul/2009:19:18:30 \+0200] PID 14641 stopped with status 9!
I \[08/Jul/2009:19:18:30 \+0200] Hint: Try setting the LogLevel to "debug" to find out more.
I have the following configuration:
OS-X 10.4.11, gs 8.6.4, pxlmono 1.2, Foomatic-RIP 4.0.2.211, HP DesignJet_5500-cdnj500.ppd
The printer is connected on Ethernet and is in the same network segement (it is visible in AppleTalk and Bonjour. A connection with TCP/IP (lpd) is also possible.
Message was edited by: LeftiI've built foomatic against the ghostscript install as your instructions say; compilation and installation all seems to be fine with no errors but prints still do not appear on the printer.
Is there anything else I can try?
Many Thanks and apologies for the huge length of this post...
Sam
GPL Ghostscript 8.70 (2009-07-31)
gs -h | grep 'cdnj500': cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax
foomatic rip version 4.0.2.211
One thing that I have noticed is that the cups error log has a lot of authentication entries, though they all seem to result in OK;
D [18/Aug/2009:14:17:00 +0100] cupsdReadClient: 15 POST / HTTP/1.1
D [18/Aug/2009:14:17:00 +0100] cupsdAuthorize: No authentication data provided.
D [18/Aug/2009:14:17:00 +0100] Get-Printer-Attributes ipp://localhost/printers/designjet5500__Q1251A___00306ECA2FB9
D [18/Aug/2009:14:17:00 +0100] cupsdProcessIPPRequest: 15 status_code=0 (successful-ok)
This is the output from the foomatic log:
foomatic-rip version 4.0.2.211 running...
called with arguments: '3', 'sam', 'testprint.ps', '1', 'APDInputSlot= pserrorhandler-requested=standard nocollate com.apple.print.PrintSettings.PMColorMatchingMode..n.=0 com.apple.print.JobInfo.PMJobName=testprint.ps APColorMatchingMode=APApplicationColorMatching job-uuid=urn:uuid:1ef0b25d-dd27-3022-64ab-19ebcf88a67f'
Getting input from file
Parsing PPD file ...
Added option PageSize
Added option ImageableArea
Added option PaperDimension
Added option InputSlot
Added option Quality
Added option Font
Parameter Summary
Spooler: cups
Printer: 43_194_241139
Shell: /bin/bash
PPD file: /private/etc/cups/ppd/43_194_241139.ppd
ATTR file:
Printer model: HP DesignJet 5500 Foomatic/cdnj500 (recommended)
Options: APDInputSlot= pserrorhandler-requested=standard nocollate com.apple.print.PrintSettings.PMColorMatchingMode..n.=0 com.apple.print.JobInfo.PMJobName=testprint.ps APColorMatchingMode=APApplicationColorMatching job-uuid=urn:uuid:1ef0b25d-dd27-3022-64ab-19ebcf88a67f
Job title: testprint.ps
File(s) to be printed:
<STDIN>
Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
Printing system options:
Pondering option 'APDInputSlot='
Unknown option APDInputSlot=.
Pondering option 'pserrorhandler-requested=standard'
Unknown option pserrorhandler-requested=standard.
Pondering option 'nocollate'
Unknown boolean option "nocollate".
Pondering option 'com.apple.print.PrintSettings.PMColorMatchingMode..n.=0'
Unknown option com.apple.print.PrintSettings.PMColorMatchingMode..n.=0.
Pondering option 'com.apple.print.JobInfo.PMJobName=testprint.ps'
Unknown option com.apple.print.JobInfo.PMJobName=testprint.ps.
Pondering option 'APColorMatchingMode=APApplicationColorMatching'
Unknown option APColorMatchingMode=APApplicationColorMatching.
Pondering option 'job-uuid=urn:uuid:1ef0b25d-dd27-3022-64ab-19ebcf88a67f'
Unknown option job-uuid=urn:uuid:1ef0b25d-dd27-3022-64ab-19ebcf88a67f.
Options from the PPD file:
Starting process "reset-file" (generation 1)
reset-file exited with status 0
================================================
File: <STDIN>
================================================
Filetype: PostScript
Reading PostScript input ...
--> This document is DSC-conforming!
Found RBINumCopies: 1
Found: %%BeginProlog
Found: %%EndProlog
Found: %%BeginSetup
Found: %%BeginFeature: *PageSize Letter
Option: PageSize=Letter
Setting option
Found: %% FoomaticRIPOptionSetting: PageSize=Letter
Option: PageSize=Letter
Setting option
Found: %%BeginFeature: *Quality normal
Option: Quality=normal
Setting option
Found: %% FoomaticRIPOptionSetting: Quality=normal
Option: Quality=normal
Setting option
Found: %%EndSetup
Inserting PostScript code for CUPS' page accounting
New page: %%Page: 1 1
Found: %%BeginPageSetup
Inserting option code into "PageSetup" section.
Flushing FIFO.
Starting renderer with command: "/usr/local/bin/gs -sstdout=%stderr -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=cdnj500 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dQuality=0 -sOutputFile=%stdout -_"
Starting process "kid3" (generation 1)
Closing renderer
Starting process "kid4" (generation 2)
Starting process "renderer" (generation 2)
JCL: -12345X@PJL
@PJL SET MEDIASOURCE=AUTOSELECT
@PJL SET CUTTER=OFF
<job data> -12345X@PJL RESET
PAGE: 1 1
renderer exited with status 0
kid4 exited with status 0
kid3 finished
kid3 exited with status 0
Closing foomatic-rip.
And the output from CUPS error_log (trimmed to remove duplicates etc.):
D [18/Aug/2009:14:17:00 +0100] Print-Job ipp://localhost/printers/designjet5500__Q1251A___00306ECA2FB9
D [18/Aug/2009:14:17:00 +0100] [Job ???] Auto-typing file...
I [18/Aug/2009:14:17:00 +0100] [Job ???] Request file type is application/postscript.
D [18/Aug/2009:14:17:00 +0100] add_job: requesting-user-name="sam"
D [18/Aug/2009:14:17:00 +0100] Adding default job-sheets values "none,none"...
I [18/Aug/2009:14:17:00 +0100] [Job 2] Adding start banner page "none".
D [18/Aug/2009:14:17:00 +0100] Discarding unused job-created event...
I [18/Aug/2009:14:17:00 +0100] [Job 2] Adding end banner page "none".
I [18/Aug/2009:14:17:00 +0100] [Job 2] File of type application/postscript queued by "sam".
D [18/Aug/2009:14:17:00 +0100] [Job 2] hold_until=0
D [18/Aug/2009:14:17:00 +0100] Discarding unused printer-state-changed event...
D [18/Aug/2009:14:17:00 +0100] [Job 2] job-sheets=none,none
D [18/Aug/2009:14:17:00 +0100] [Job 2] banner_page = 0
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[0]="designjet5500__Q1251A___00306ECA2FB9"
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[1]="2"
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[2]="sam"
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[3]="testprint.ps"
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[4]="1"
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[5]="APDInputSlot= pserrorhandler-requested=standard nocollate com.apple.print.PrintSettings.PMColorMatchingMode..n.=0 com.apple.print.JobInfo.PMJobName=testprint.ps APColorMatchingMode=APApplicationColorMatching job-uuid=urn:uuid:b5be6143-9e7f-3cd7-6719-7df9ce42aa47"
D [18/Aug/2009:14:17:00 +0100] [Job 2] argv[6]="/private/var/spool/cups/d00002-001"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[0]="<CFProcessPath>"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[1]="CUPS_CACHEDIR=/private/var/spool/cups/cache"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[2]="CUPS_DATADIR=/usr/share/cups"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[3]="CUPS_DOCROOT=/usr/share/doc/cups"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[4]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[5]="CUPS_REQUESTROOT=/private/var/spool/cups"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[6]="CUPS_SERVERBIN=/usr/libexec/cups"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[7]="CUPS_SERVERROOT=/private/etc/cups"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[8]="CUPS_STATEDIR=/private/var/run/cups"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[10]="[email protected]"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[11]="SOFTWARE=CUPS/1.3.8"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[12]="TMPDIR=/private/var/spool/cups/tmp"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[13]="USER=root"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[14]="CUPS_SERVER=/private/var/run/cupsd"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[16]="IPP_PORT=631"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[17]="CHARSET=utf-8"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[18]="LANG=en_US.UTF8"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[19]="APPLE_LANGUAGE=en-US"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[20]="PPD=/private/etc/cups/ppd/designjet5500__Q1251A___00306ECA2FB9.ppd"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[21]="RIPMAXCACHE=8m"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[22]="CONTENT_TYPE=application/postscript"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[23]="DEVICEURI=mdns://designjet%205500%20%28Q1251A%29%20%2800306ECA2FB9%29._pdl-datastream.tcp.local./?bidi"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[24]="PRINTER=designjet5500__Q1251A___00306ECA2FB9"
D [18/Aug/2009:14:17:00 +0100] [Job 2] envp[25]="FINALCONTENT_TYPE=printer/designjet_5500__Q1251A___00306ECA2FB9"
I [18/Aug/2009:14:17:00 +0100] [Job 2] Started filter /usr/libexec/cups/filter/pstops (PID 71849)
I [18/Aug/2009:14:17:00 +0100] [Job 2] Started filter /usr/libexec/cups/filter/foomatic-rip (PID 71850)
I [18/Aug/2009:14:17:00 +0100] [Job 2] Started backend /usr/libexec/cups/backend/mdns (PID 71851)
D [18/Aug/2009:14:17:00 +0100] Discarding unused job-state-changed event...
D [18/Aug/2009:14:17:00 +0100] [Job 2] mdns backend exec'ing /usr/libexec/cups/backend/socket to connect to socket://NPICA2FB9.local.:9100/?bidi
D [18/Aug/2009:14:17:02 +0100] [Job 2] Connected to 43.194.241.139:9100 (IPv4)...
D [18/Aug/2009:14:17:02 +0100] [Job 2] backendRunLoop(print_fd=0, device_fd=5, use_bc=1, side_cb=0x765bb388)
D [18/Aug/2009:14:17:02 +0100] Discarding unused printer-state-changed event...
D [18/Aug/2009:14:17:07 +0100] [Job 2] Page = 612x792; 14,34 to 598,778
D [18/Aug/2009:14:17:07 +0100] [Job 2] slow_collate=0, slow_duplex=0, slow_order=0
D [18/Aug/2009:14:17:07 +0100] [Job 2] Before copy_comments - %!PS-Adobe-3.0
D [18/Aug/2009:14:17:07 +0100] [Job 2] %!PS-Adobe-3.0
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%BoundingBox: 0 0 612 792
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%Pages: 1
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%LanguageLevel: 1
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%DocumentData: Clean7Bit
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%DocumentSuppliedResources: procset testprint/1.3
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%Creator: Michael Sweet, Apple Inc.
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%CreationDate: D:20070606214000+0500
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%Title: Test Page
D [18/Aug/2009:14:17:07 +0100] [Job 2] %%EndComments
D [18/Aug/2009:14:17:07 +0100] [Job 2] Before copy_prolog - %%BeginProlog
D [18/Aug/2009:14:17:07 +0100] [Job 2] Before copy_setup - %%Page: 1 1
D [18/Aug/2009:14:17:07 +0100] [Job 2] Before page loop - %%Page: 1 1
D [18/Aug/2009:14:17:07 +0100] [Job 2] Copying page 1...
D [18/Aug/2009:14:17:07 +0100] [Job 2] pagew = 583.7, pagel = 743.8
D [18/Aug/2009:14:17:07 +0100] [Job 2] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [18/Aug/2009:14:17:07 +0100] [Job 2] PageLeft = 14.2, PageRight = 597.8
D [18/Aug/2009:14:17:07 +0100] [Job 2] PageTop = 777.8, PageBottom = 34.0
D [18/Aug/2009:14:17:07 +0100] [Job 2] PageWidth = 612.0, PageLength = 792.0
D [18/Aug/2009:14:17:07 +0100] [Job 2] Wrote 1 pages...
D [18/Aug/2009:14:17:07 +0100] PID 71849 (/usr/libexec/cups/filter/pstops) exited with no errors.
D [18/Aug/2009:14:17:09 +0100] [Job 2] Read 8192 bytes of print data...
D [18/Aug/2009:14:17:09 +0100] [Job 2] Wrote 8192 bytes of print data...
D [18/Aug/2009:14:17:09 +0100] PID 71850 (/usr/libexec/cups/filter/foomatic-rip) exited with no errors.
D [18/Aug/2009:14:17:14 +0100] PID 71851 (/usr/libexec/cups/backend/mdns) exited with no errors.
D [18/Aug/2009:14:17:14 +0100] [Job 2] File 0 is complete.
I [18/Aug/2009:14:17:14 +0100] [Job 2] Completed successfully.
D [18/Aug/2009:14:17:15 +0100] [Job 2] Unloading... -
Rman backup and restore on another box with the same database name
Hi,
I am using the following script to backup the database, I want to restore the backup on another server with same database name but different datafile locations , Can some one help me in the restoration please.
#set oracle_sid=LIVE
run {
allocate channel t1 type disk;
backup database plus archivelog delete input format 'D:\Backup\ORACLE\LIVE\df_t%t_s%s_p%p';
backup current controlfile;
release channel t1;
ThanksYou need to use "set newname" before you restore your database.
You can refer this http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupad.htm
RMAN> connect target /
connected to target database: TEST (DBID=2033933270)
RMAN> run
2> {
3> startup nomount;
4> restore controlfile from 'location/DF_T770331608_S104_P1';
5> alter database mount;
6> restore database;
7> recover database;
8> alter database open resetlogs;
9> }Also, you have connected to the database TEST, so is the TEST database the new database that you want to create using restore method ?
If yes, then how the status of the database is OPEN ? The database status should be nomount before you restore the controlfile.
If the database is not started, then:
RMAN shows as "connected to target database: TEST (not started)
If the database is in nomount stage, then
RMAN shows as "connected to target database: TEST (not mounted)
If the database is in mount stage, then
RMAN shows as "connected to target database: TEST (DBID=xxxxxxxx, not open)
If the database is open mode, then
RMAN shows as "connected to target database: TEST (DBID=xxxxxx)
In the output you mentioned, RMAN is showing the status of the database as opened. So if TEST is the database you are creating, then it has to be in nomount stage. In your case, it looks like TEST is the primary database from which you have taken the backup. -
Text Variable With Customer Exit Logic/ABAP Code
Hi Experts,
Could you please help me with the Logic/Code that i need to use in Calculacting The TEXT Variable Using CUSTOMER EXIT
I had a rolling report in which there are 14 Calculacted Keyfigures (Not Restricted KF),Which are
M-1,M-2,M-3,M-4,M-5........M-14
In MAY2009
M-1 represents (Current Month -1) APR2009
M-2 represents (Current Month -2) MAR2009
M-3 represents (Current Month -3) FEB2009
M-4 represents (Current Month -4) JAN2009
M-5 represents (Current Month -5) DEC2008
M-6 represents (Current Month -6) NOV2008
M-7 represents (Current Month -7) OCT2008
M-13 represents (Current Month -13) APR2008
M-14 represents (Current Month -14) MAR2008
In JUNE2009
M-1 represents (Current Month -1) MAY2009
M-2 represents (Current Month -2) APR2009
M-3 represents (Current Month -3) MAR2009
M-4 represents (Current Month -4) FEB2009
M-5 represents (Current Month -5) JAN2009
M-6 represents (Current Month -6) DEC2008
M-7 represents (Current Month -7) NOV2008
M-13 represents (Current Month -13) MAY2008
M-14 represents (Current Month -14) APR2008
Currently the Description of CKF is named as M-1,M-2..M-14.My requirment is to develop Text Variables that displays the description as MMMYYYYSample code, NO syntax check...!!
CASE i_vnam. " Variablenname
WHEN 'M-1'. "For Variable <M-1>
Data: l_peri type E_BUPER, "Declare variable for Period
l_year type E_GJAHR "Declare variable for year
IF i_step = 2.
DATA l_s_range LIKE LINE OF e_t_range.
CLEAR l_s_range.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' " By providing Date this FM gives period and year
EXPORTING
I_DATE = SY-DATUM "System Date
I_PERIV = V3 "Fiscal Variant
IMPORTING
E_BUPER = l_peri "for period is date is today period = 005
E_GJAHR = l_year. "for Year = 2009
l_peri = l_peri - 1. "To reduce 1 from period (005 - 1 = 004)
IF l_peri = '004' "Check value of period.
Concatenate 'APR' l_year into l_s_range-low. "concatenate 'APR' & Year into Low.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
For M-2 subtract 2 and repeate same. -
I am getting below error while taking RMAN backup.
Friends,
I am getting below error while taking RMAN backup.
The issue is related with a lock while trying to backup the controlfile.
The lock is more likely caused by the autobackup controlfile process started just before RMAN process was also trying the backup controlfile as shown in the following alert.log excerpt.
Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
ORA-00230: operation disallowed: snapshot control file enqueue unavailable
Is there anyway to solve this issue?Thanks in advance.Hi,
SQL> SELECT s.sid, username AS "User", program, module, action, logon_time "Logon", l.*
FROM v$session s, v$enqueue_lock l
WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and l.id2 = 2; 2 3
no rows selected
Oracle version : 10.2.0.3
I am getting this error once in a month not everyday.
Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
ORA-00230: operation disallowed: snapshot control file enqueue unavailable
Please suggest me based on this..Thanks in advance.. -
Restore RMAN from different Database Rman backup
Hi Everybody
I am practicing Rman so I have one query that how to restore rman backup from another database.
For Example :
1. I have Rman backup of DB1 with level 0 and level 1 cumulative database plus archievelog
2. I need to import or restore Rman backup of DB1 to another database DB2.
What is the procedure for doing the above queries. Please anyone one help me out.
I have using oracle 10g r2 running in windows server 2003.
Thanks in advance.These are the steps ; you need to write the appropiate commands for each step: Hope it helps!
1) Take appropriate RMAN backup of the database db1. Note that you should turn on the CONTROLFILE AUTOBACKUP configuration so that we have the controlfile backed up after the database backup. When we restore the controlfile on new host from this autobackup piece, it will have the information of the latest backup.
2) Create a PFILE for the destination database db2 using the database db1
3) Move the backup pieces and the modified INIT.ORA file to the new host. Starting from 10g it is NO longer compulsory to copy the RMAN backup pieces to exactly the same location on the new host as the production location.
4) Use the pfile created above to STARTUP NOMOUNT the database on the new host
5) Now invoke RMAN and restore the controlfile specifying the location where the controlfile autobackup piece is restored on this new server. You can mount the database once the controlfile is restored successfully.
6) You can skip this step if you have restored the RMAN backup pieces to exactly the same location they were backed up on database db1. If this is not the case then you need to catalog the RMAN backup pieces to make RMAN aware of thier new location on the new host. Note that CATALOG BACKUPPIECE command is available only starting from 10g.
7) Having determined the point up to which media recovery should run, start the restore/recovery using for example:
RMAN> run {
2> set until sequence 59 thread 1;
3> set newname for datafile 1 to '/new_location/system01.dbf';
4> set newname for datafile 2 to '/new_location/undotbs01.dbf';
5> set newname for datafile 3 to '/new_location/sysaux01.dbf';
6> set newname for datafile 4 to '/new_location/users01.dbf';
7> restore database;
8> switch datafile all;
9> recover database;
10> } -
Database restore from old rman backup
Hi Friends,
My database version is oracle 10.2.0 O/s : Windows
I have a production database of an outlet. Yesterday night 11pm they have done some wrong transactions and whole stock is showing wrong.
They have taken a export backup at 9.30 pm and latest archives are there.
We have a rman backup on April-30,2008. when I am trying to restore from the old rman backup the controlfile I am unable to do it.
Can any one of you help me out.
thankyou
satyaHi,
I have tried installing in a seperate system and restore the rman backup, as I do not have the controlfile I have taken a standby controlfile and started restoring the rman backup as the old rman backup dbid is different with the current dbid and giving me following error:
ORA-19870: error reading backup piece D:\MPOUTLET\0AJF4BM3_1_1
ORA-19691: D:\MPOUTLET\0AJF4BM3_1_1 is from different database: id=1976833331, name=JEEVAMP
ORA-19870: error reading backup piece D:\MPOUTLET\0BJF4BOE_1_1
ORA-19691: D:\MPOUTLET\0BJF4BOE_1_1 is from different database: id=1976833331, name=JEEVAMP
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 07/13/2008 12:23:23
RMAN-06209: List of failed objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece D:\MPOUTLET\0AJF4BM3_1_1
RMAN-06214: Backup Piece D:\MPOUTLET\0BJF4BOE_1_1 -
Recovery of RMAN backup in third instance
Hi,
is it possible for RMAN to create backups and use these backups to recover the database
in another instance.
For example as a disaster recovery. Is it possible to use the RMAN backups to create a new instance
with the data created by the RMAN backup.
Short answer, perhaps with doc link, is very welcome. ThanksShort Answer : Yes, Of Course !
Links :
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1006453
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814
Hemant K Chitale
http://hemantoracledba.blogspot.com -
JFS2 CIO (concurrent i/o) & RMAN backup files Options
Hello,
Does anyone have good or bad experience storing RMAN backup files &
datapump or export files with CIO enabled jfs2 file systems on AIX 5.3 & Oracle
10gR2? Is that supported? Metalink and IBM documents are not very
clear about these files... i.e. it does not say anywhere it's
supported or not supported.. So asking here..
Thanks in advance for your answers.Can anyone from Oracle comment on this?
Thanks,
Rene -
Rman backup errors..
hi guru's
please tell me the answeres..for this
what will happen if we re run the Rman backup due to the job failure...will take a new backup from the begining? or will start from the first backup end where it left ?
i am deleting some archieved logs on the archieved destination before takeing the RMAN backup, and then running rman backup ...then any error will raised for the missing files during Rman archive log backup for missing files? i have the files like 1 to 10 ...in that 5 and 6 logs are deleted before takeing the Rman backup..how to resolve this?user13014926 wrote:
hi guru's
please tell me the answeres..for this
what will happen if we re run the Rman backup due to the job failure...will take a new backup from the begining? or will start from the first backup end where it left ?
You can continue backup from which files not backed up and this is call restartable backup.Please refer below link
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1008543
>
i am deleting some archieved logs on the archieved destination before takeing the RMAN backup, and then running rman backup ...then any error will raised for the missing files during Rman archive log backup for missing files? i have the files like 1 to 10 ...in that 5 and 6 logs are deleted before takeing the Rman backup..how to resolve this?If you manually delete archivelogs then you will get an error so before executing this backup command you have to execute CROSSCHECK ARCHIVELOG ALL and DELETE EXPIRED ARCHIVELOG ALL then your problem will solve.
Maybe you are looking for
-
New mac Mini 2011/lion Windows 7 black screen at installation
Hi, I'm switching to Mac and finally got the new mini i5 2.5Ghz and I'm trying to install W7 professional. I'm using an external USB dvd r/w unit (a samsung) In bootcamp i was able to create the driver disk and repartition the existing hard drive in
-
Arranging a tight grid of floating divs with varying heights
When creating a grid using floating divs of varying height, the divs that carry over into the next row often find themselves in the second or third column rather than going immediately below the first div in the first column. I'm curious how I could
-
EAM: EQUIPMENT DISPLAY LISTS
Dear SAP Experts, While maintaining the equipment masters in the system. When I maintain the entries through address: IE01 - Create (General) The Equipment is created and saved the Number range comes: 10000006 equipment created. But while creating th
-
How do you turn off a Windows 8 computer?
I set up my new computer afew days ago, and when I went to turn it off, there was no place to do it. I was about to give up and just hit the power button when I found something that said I should just hit the power button. I did, and it turned off, s
-
I have the mid 2010 15" i7 MBP (no hardware upgrades except a replaced logic board in 2014) and I ran the AHT which gave me the 4HDD/11/40000000: SATA(0,0) error. After this I ran the extended test but no errors were found. I ran standard AHT again a