SlideShare a Scribd company logo
1 of 1
Download to read offline
3/4/2014 RMAN Recipes for Oracle Database 11g: A Problem-Solution Approach > CHAPTER 17: Troubleshooting RMAN > 17-7. Logging RMAN Output : …
http://my.safaribooksonline.com/book/databases/oracle/9781590598511/chapter-17-troubleshooting-rman/logging_rman_output 1/1
Free Trial
Download Safari Books Online apps: Apple iOS | Android | BlackBerry
Help Sign In Reactivate Subscribe
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Entire Site
This Book
Search
Contents
RMAN Recipes for
Oracle Database
11g: A Problem-
Solution Approach
CHAPTER 15: Duplicating
Databases and
Transporting Data
CHAPTER 16: Tuning
RMAN
CHAPTER 17:
Troubleshooting RMAN
17-1. Determining
Where to Start
17-2. Resolving
Connection Permission
Issues
17-3. Handling Disk
Space Issues
17-4. Dealing with the
RMAN-06059 Error
17-5. Terminating RMAN
Processes
17-6. Diagnosing NLS
Character Set Issues
17-7. Logging RMAN
Output
17-8. Viewing RMAN
Command History
17-9. Enabling RMAN's
Debug Output
17-10. Enabling Granular
Time Reporting
17-11. Working with
Oracle Support
17-12. Resolving RMAN
Compatibility Issues
17-13. Dealing with an
ORA-19511 Error
17-14. Dealing with an
ORA-27211 Error
17-15. Dealing with an
ORA-04031 Error
17-16. Managing Files in
an ASM Environment
CHAPTER 18: Using a
Media Management Layer
CHAPTER 19: Performing
Backup and Recovery with
Enterprise Manager
CHAPTER 20: Using the
Data Recovery Advisor
CHAPTER 21: Using RMAN
on Windows
Index
CHAPTER 17: Troubleshooting RMAN > 17-7. Logging RMAN Output
Create
Bookmark
Create
Note
or
Tag
Print Html
View
(Key: h)
Thumbnail
View
(Key:
v)
Zoom
Out
Zoom
In
(Key:
+)
Toggle to
Full
Screen
(Key: f)
Previous
(Key:
p)
Next
(Key:
n)
17-7. Logging RMAN Output
Problem
You're trying to debug a difficult issue and want to capture the output of an RMAN session.
Solution
You can enable RMAN logging in two ways:
From the OS prompt
From the RMAN command line
From the OS Prompt
From the OS prompt you can use the logparameter to instruct RMAN to send any output to an OS file (instead of to your
screen):
$ rman target / log=rman_output.log
Note The keyword msgloghas been deprecated in favor of the keyword log.
From the RMAN Command Line
You can also spool the output to a log file from the RMAN command line, as shown here:
RMAN> spool log to rman_output.log
RMAN> set echo on
RMAN> backup database;
To turn off logging, use the log offparameter, as shown here:
RMAN> spool log off;
Get instant access to over $1 million worth of books and videos.
You are currently reading a PREVIEW of this book.
Start a Free Trial
Create
Bookmark
Create
Note
or
Tag
Print Html
View
(Key: h)
Thumbnail
View
(Key:
v)
Zoom
Out
Zoom
In
(Key:
+)
Toggle to
Full
Screen
(Key: f)
Previous
(Key:
p)
Next
(Key:
n)

More Related Content

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Rman recipes for oracle database 11g

  • 1. 3/4/2014 RMAN Recipes for Oracle Database 11g: A Problem-Solution Approach > CHAPTER 17: Troubleshooting RMAN > 17-7. Logging RMAN Output : … http://my.safaribooksonline.com/book/databases/oracle/9781590598511/chapter-17-troubleshooting-rman/logging_rman_output 1/1 Free Trial Download Safari Books Online apps: Apple iOS | Android | BlackBerry Help Sign In Reactivate Subscribe Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources. Entire Site This Book Search Contents RMAN Recipes for Oracle Database 11g: A Problem- Solution Approach CHAPTER 15: Duplicating Databases and Transporting Data CHAPTER 16: Tuning RMAN CHAPTER 17: Troubleshooting RMAN 17-1. Determining Where to Start 17-2. Resolving Connection Permission Issues 17-3. Handling Disk Space Issues 17-4. Dealing with the RMAN-06059 Error 17-5. Terminating RMAN Processes 17-6. Diagnosing NLS Character Set Issues 17-7. Logging RMAN Output 17-8. Viewing RMAN Command History 17-9. Enabling RMAN's Debug Output 17-10. Enabling Granular Time Reporting 17-11. Working with Oracle Support 17-12. Resolving RMAN Compatibility Issues 17-13. Dealing with an ORA-19511 Error 17-14. Dealing with an ORA-27211 Error 17-15. Dealing with an ORA-04031 Error 17-16. Managing Files in an ASM Environment CHAPTER 18: Using a Media Management Layer CHAPTER 19: Performing Backup and Recovery with Enterprise Manager CHAPTER 20: Using the Data Recovery Advisor CHAPTER 21: Using RMAN on Windows Index CHAPTER 17: Troubleshooting RMAN > 17-7. Logging RMAN Output Create Bookmark Create Note or Tag Print Html View (Key: h) Thumbnail View (Key: v) Zoom Out Zoom In (Key: +) Toggle to Full Screen (Key: f) Previous (Key: p) Next (Key: n) 17-7. Logging RMAN Output Problem You're trying to debug a difficult issue and want to capture the output of an RMAN session. Solution You can enable RMAN logging in two ways: From the OS prompt From the RMAN command line From the OS Prompt From the OS prompt you can use the logparameter to instruct RMAN to send any output to an OS file (instead of to your screen): $ rman target / log=rman_output.log Note The keyword msgloghas been deprecated in favor of the keyword log. From the RMAN Command Line You can also spool the output to a log file from the RMAN command line, as shown here: RMAN> spool log to rman_output.log RMAN> set echo on RMAN> backup database; To turn off logging, use the log offparameter, as shown here: RMAN> spool log off; Get instant access to over $1 million worth of books and videos. You are currently reading a PREVIEW of this book. Start a Free Trial Create Bookmark Create Note or Tag Print Html View (Key: h) Thumbnail View (Key: v) Zoom Out Zoom In (Key: +) Toggle to Full Screen (Key: f) Previous (Key: p) Next (Key: n)