RMAN-06059: expected archived log not found
DB version: 11.1.0.7Operating system: Solaris 10
Our cron job RMAN has met the following error.
-First save attempt (complete bkp more archive log) done by connecting to the catalog
Starting backup at 14-MAR-12
current log archived
released channel: ch00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 03/14/2012 08:09:58
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file +PQWSP_ARCH01/pqwsp_arch/pqwsp_26530_1_764525298.arc
ORA-17503: ksfdopn:2 Failed to open file +PQWSP_ARCH01/pqwsp_arch/pqwsp_26530_1_764525298.arc
ORA-15173: entry 'pqwsp_26530_1_764525298.arc' does not exist in directory 'pqwsp_arch'
Because I didn't share RMAN catalog schema password, I used the control as a catalog file and run the CROSSCHECK command.-Use the control as a catalog file
$ rman target /
Recovery Manager: Release 11.1.0.7.0 - Production on Wed Mar 14 09:45:59 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: PQWSP (DBID=1638594930)
RMAN> crosscheck archivelog all;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=429 instance=pqwsp1 device type=DISK
validation succeeded for archived log
archived log file name=+PQWSP_ARCH01/pqwsp_arch/pqwsp_26563_1_764525298.arc RECID=19019 STAMP=777888587
validation succeeded for archived log
archived log file name=+PQWSP_ARCH01/pqwsp_arch/pqwsp_26564_1_764525298.arc RECID=19022 STAMP=777890270
validation succeeded for archived log
.
.
.
.
.
Crosschecked 14 objects
Cannot find objects expired in the output above. I had * "validation succeeded" * message to arch all newspapers.So I ran a
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
and this backup was successful.No idea why the first attempt failed when there were not all logs archived expired? If I run the command of OVERLAP by connecting to the catalog, I could find out of date newspapers?
No idea why the first attempt failed when there were not all logs archived expired?
this case is not releated archivelog expired, however it seems the requested archivelog 26530 isn't available on destinationas, that it can be removed manually or another taking backup operation the backup and deleted if the execution of the whole.
crosscheck updated detail that its not available for backup... Check the output of you overlap cmd to 26530 archivelog.
Thank you
Tylay Singh
Tags: Database
Similar Questions
-
In the face of error: expected collection item not found in payload
Hello
I use persistence for my MAF Application Accelerator.
I have generated the DataControl by specifying the details of service rest via the Wizard "business of the CRG of Rest WebService object.
Using the DataControl I dropped the iterator on my page as an af:listview
When the page opens the service's get called but I am told error
"Collection item 'Job' not found in payload expected.
Please see the attached persistent mapping .xml.
(I've highlighted the specific classmapping descriptor for which I am faced with the question.)
I am also attaching the object of service payload remains below.
I also checked the payloadelementname specified in the classmapping descriptor matches the name of the element in the payload. However, I still get the error.
Please let me know if I'm missing out on anything.
Massari
===================================================================================================================
Persistent map file
<? XML version = "1.0" encoding = "UTF-8"? >
" < mobileObjectPersistence xmlns =" http://www.Oracle.com/Ateam/mobile/persistenceMapping "> "
< classMappingDescriptor className = "teamup.mobile.model.ProjectsResponse" persisted = "true" > ""
< className = "teamup.mobile.model.service.ProjectsResponseService" autoIncrementPrimaryKey = "true" crudServiceClass
localPersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager"
remotePersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"
remoteReadInBackground = "true" remoteWriteInBackground = "true".
showWebServiceInvocationErrors = 'false' autoQuery = "true" / >
< table name = "PROJECTS_RESPONSE" >
< name primaryKeyColumn = "Project" / >
< /table >
< attributeMappings >
< directMapping attributeName = "projectId" payloadAttributeName = "ProjectId" columnName = "project".
columnDataType = "NUMERIC" required = "true" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< directMapping attributeName = "projectName" payloadAttributeName = "ProjectName" columnName = 'PROJECT_NAME '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "description" payloadAttributeName = "Description" columnName = "DESCRIPTION".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "activeFlag' payloadAttributeName = 'ActiveFlag" columnName = "ACTIVE_FLAG."
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "lastUpdatedBy' payloadAttributeName ="LastUpdatedBy"directMapping
columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< attributeName = "lastUpdateDate" payloadAttributeName = "LastUpdateDate" directMapping
columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< / attributeMappings >
<>methods
< findAllMethod uri connectionName = "/ projects/getprojects/projects / {username}" = "MyTask" requestType = 'GET '.
warranty = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true".
payloadElementName = "ProjectsResponse" >
< name headerParameter = "Content-Type" value = "application/json" / >
< name of the parameter = "userId" value = "#{pageFlowScope.userId}" valueProvider = 'ELExpression' "
dataObjectAttribute = 'projectId' pathParam = "true" / >
< / findAllMethod >
< / methods >
< / classMappingDescriptor >
< classMappingDescriptor className = "teamup.mobile.model.TeamMember" persisted = "true" > ""
< className = "teamup.mobile.model.service.TeamMemberService" autoIncrementPrimaryKey = "true" crudServiceClass
localPersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager"
remotePersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"
remoteReadInBackground = "true" remoteWriteInBackground = "true".
showWebServiceInvocationErrors = 'false' autoQuery = "true" / >
< table name = "TEAM_MEMBER" >
< name primaryKeyColumn = "USER_ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = "userId" payloadAttributeName = "USER_ID" columnName = 'USER_ID '.
columnDataType = "NUMERIC" required = "true" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< directMapping attributeName = "userName" payloadAttributeName = "Username" columnName = 'user_name '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "projectTeamMemberId" payloadAttributeName = "PROJECT_TEAM_MEMBER_ID" directMapping
columnName = "PROJECT_TEAM_MEMBER_ID" columnDataType = "NUMERIC" required = "false".
has persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "lastName", payloadAttributeName = "Name" columnName = "name".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "firstName" payloadAttributeName = "First name" columnName = "first name".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "projectId" payloadAttributeName = "Project" columnName = "project".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< / attributeMappings >
<>methods
< findAllMethod uri connectionName = "/ user/getteammember/members / {projectId}" = "MyTask" requestType = 'GET '.
warranty = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true".
payloadElementName = "TeamMember" >
< name headerParameter = "Content-Type" value = "application/json" / >
< name of the parameter = value = "#{pageFlowScope.projectId"projectId"}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< / findAllMethod >
< / methods >
< / classMappingDescriptor >
< className = classMappingDescriptor "teamup.mobile.model.Task ' persisted 'true' orderBy = 'START_DATE' = >" "
< className = "teamup.mobile.model.service.TaskService" autoIncrementPrimaryKey = "true" crudServiceClass
localPersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager"
remotePersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"
remoteReadInBackground = "true" remoteWriteInBackground = "true".
showWebServiceInvocationErrors = 'false' autoQuery = "true" / >
< table name = "TASK" >
< name primaryKeyColumn = "ACTIVITY_ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = "activityId" payloadAttributeName = "ACTIVITY_ID" columnName = "ACTIVITY_ID.
columnDataType = "NUMERIC" required = "true" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< directMapping attributeName = "projectid" payloadAttributeName = "PROJECTID" columnName = "PROJECTID".
columnDataType = "NUMERIC" required = "false" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "false" / >
< directMapping attributeName = "activityName" payloadAttributeName = "ACTIVITY_NAME" columnName = "ACTIVITY_NAME."
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "description" payloadAttributeName = "DESCRIPTION" columnName = "DESCRIPTION".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "parentActivityId" payloadAttributeName = "PARENT_ACTIVITY_ID" directMapping
columnName = "PARENT_ACTIVITY_ID" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = 'status' payloadAttributeName = 'STATUS' columnName = 'STATUS '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "priority" payloadAttributeName = "PRIORITY" columnName = "PRIORITΘ."
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "percentageComplete" payloadAttributeName = "PERCENTAGE_COMPLETE" directMapping
columnName = "PERCENTAGE_COMPLETE" columnDataType = "NUMERIC" required = "false" persisted = 'true '.
javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "startDate" payloadAttributeName = "START_DATE" columnName = "START_DATE".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "endDate" payloadAttributeName = "End_date" columnName = "end_date".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = 'eta' payloadAttributeName = 'ETA' columnName = 'ETA' columnDataType = "VARCHAR".
required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< attributeName = "estimatedHours" payloadAttributeName directMapping = "ESTIMATED_HOURS".
columnName = "ESTIMATED_HOURS" columnDataType = "NUMERIC" required = "false" persisted = 'true '.
javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< attributeName = "actualHours" payloadAttributeName = "ACTUAL_HOURS" columnName directMapping = "ACTUAL_HOURS".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "ownerUserId" payloadAttributeName = 'OWNER_USER_ID' columnName = 'OWNER_USER_ID '.
columnDataType = "NUMERIC" required = "false" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "false" / >
< directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" directMapping
columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" directMapping
columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< attributeName = 'comments' payloadAttributeName = 'COMMENTS' columnName directMapping = 'COMMENTS '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "discussionCount" payloadAttributeName = "DISCUSSION_COUNT" directMapping
columnName = "DISCUSSION_COUNT" columnDataType = "NUMERIC" required = "false" persisted = 'true '.
javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "favoriteFlag" payloadAttributeName = "FAVORITE_FLAG" columnName = "FAVORITE_FLAG."
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "taskAssignment" payloadAttributeName = "TaskAssignment" oneToManyMapping
referenceClassName = "teamup.mobile.model.TaskAssignment" sendAsArrayIfOnlyOneEntry = "true" > "
< foreignKeyColumnReference sourceTable = sourceColumn "TASK_ASSIGNMENT" = "TASK_ACTIVITY_ID."
targetTable = "TASK" targetColumn = "ACTIVITY_ID" / >
< / oneToManyMapping >
< attributeName = "discussion oneToManyMapping."
accessorMethod = "/ projects/getdiscussion/activity/discussion / {username} / {projectId} / {TaskId} / {parentDiscId} '"
referenceClassName = "teamup.mobile.model.Discussion" sendAsArrayIfOnlyOneEntry = "true" > "
< foreignKeyColumnReference sourceTable = "DISCUSSION" sourceColumn = "ACTIVITY_ID" targetTable = "TASK".
targetColumn = "ACTIVITY_ID" / >
< foreignKeyColumnReference sourceTable = "DISCUSSION" sourceColumn = "Project" targetTable = "TASK".
targetColumn = "PROJECTID" / >
< / oneToManyMapping >
< / attributeMappings >
<>methods
< findAllMethod uri = "newgettasks/projects / / projects/activities / {username}" connectionName = "MyTask" "
requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true".
payloadElementName = "Task" >
< name headerParameter = "Content-Type" value = "application/json" / >
< name of the parameter = "userId" value = "#{pageFlowScope.userId}" valueProvider = "ELExpression" pathParam = "true" / > "
< / findAllMethod >
< createMethod uri = "/ projects/postTask/activity" connectionName = "MyTask" requestType = 'POST' guaranteed = "false".
sendDataObjectAsPayload = "true" payloadElementName = "Task" >
< name headerParameter = "Content-Type" value = "application/json" / >
< / createMethod >
< updateMethod uri = "/ projects/putTask/activity" connectionName = "MyTask" requestType = 'PUT' secure = "false".
sendDataObjectAsPayload = "true" payloadElementName = "Task" >
< name headerParameter = "Content-Type" value = "application/json" / >
< / updateMethod >
< / methods >
< / classMappingDescriptor >
< classMappingDescriptor className = "teamup.mobile.model.TaskAssignment" persisted = "true" > ""
< className = crudServiceClass "teamup.mobile.model.service.TaskService" autoIncrementPrimaryKey = "true" / > "
< table name = "TASK_ASSIGNMENT" >
< name primaryKeyColumn = "ASSIGNMENT_ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = "assignmentId" payloadAttributeName = "ASSIGNMENT_ID" columnName = "ASSIGNMENT_ID."
columnDataType = "INTEGER" required = "true" persisted = "true" = "java.lang.Integer" javaType
keyAttribute = "true" / >
< attributeName = "projectTeamMemberId" payloadAttributeName = "PROJECT_TEAM_MEMBER_ID" directMapping
columnName = "PROJECT_TEAM_MEMBER_ID" columnDataType = "NUMERIC" required = "false".
has persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "startDate" payloadAttributeName = "START_DATE" columnName = "START_DATE".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "endDate" payloadAttributeName = "End_date" columnName = "end_date".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" directMapping
columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" directMapping
columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "favoriteFlag" payloadAttributeName = "FAVORITE_FLAG" columnName = "FAVORITE_FLAG."
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "taskActivityId" columnName = "TASK_ACTIVITY_ID" columnDataType = "DIGITAL."
required = "false" persisted = 'true' parentClass = "teamup.mobile.model.Task"
parentAttributeName = "Activity ID" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< / attributeMappings >
< methods / >
< / classMappingDescriptor >
< classMappingDescriptor className = "teamup.mobile.model.Discussion" persisted = "true" > ""
< className = "teamup.mobile.model.service.DiscussionService" autoIncrementPrimaryKey = "true" crudServiceClass
localPersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager"
remotePersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"
remoteReadInBackground = "true" remoteWriteInBackground = "true".
showWebServiceInvocationErrors = 'false' autoQuery = "true" / >
< table name 'DISCUSSION' = >
< name primaryKeyColumn = "DISCUSSION_ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = 'discussionId' payloadAttributeName = "DISCUSSION_ID" columnName = "DISCUSSION_ID."
columnDataType = "NUMERIC" required = "true" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< directMapping attributeName = "activityId" payloadAttributeName = "ACTIVITY_ID" columnName = "ACTIVITY_ID.
columnDataType = "NUMERIC" required = "false" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "false" / >
< attributeName = "discussionDate" payloadAttributeName = "DISCUSSION_DATE" directMapping
columnName = "DISCUSSION_DATE" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "userId" payloadAttributeName = "USER_ID" columnName = 'USER_ID '.
columnDataType = "NUMERIC" required = "false" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< attributeName = "discussionMessage" payloadAttributeName = "DISCUSSION_MESSAGE" directMapping
columnName = "DISCUSSION_MESSAGE" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE '.
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" directMapping
columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" directMapping
columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = 'true '.
javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "projectId" payloadAttributeName = "Project" columnName = "project".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "parentDiscussionId" payloadAttributeName = "PARENT_DISCUSSION_ID" directMapping
columnName = "PARENT_DISCUSSION_ID" columnDataType = "NUMERIC" required = "false" persisted = 'true '.
javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "firstName" payloadAttributeName = "First name" columnName = "first name".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< directMapping attributeName = "lastName", payloadAttributeName = "Name" columnName = "name".
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< attributeName = "discussionAssignment" payloadAttributeName = "DiscussionAssignment" oneToManyMapping
referenceClassName = "teamup.mobile.model.DiscussionAssignment"
sendAsArrayIfOnlyOneEntry = "true" >
< foreignKeyColumnReference sourceTable = sourceColumn "DISCUSSION_ASSIGNMENT" = "DISCUSSION_ID."
targetTable = "DISCUSSION" targetColumn = "DISCUSSION_ID" / >
< foreignKeyColumnReference sourceTable = sourceColumn 'DISCUSSION_ASSIGNMENT' = 'USER_ID '.
targetTable = "DISCUSSION" targetColumn = 'USER_ID' / >
< / oneToManyMapping >
< / attributeMappings >
<>methods
< findAllMethod uri = "/ projects/getdiscussion/activity/discussion / {username} / {projectId} / {TaskId} / {parentDiscId} '"
connectionName = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false".
deleteLocalRows = "true" payloadElementName = "Discussion" >
< name of the parameter = "userId" value = "#{pageFlowScope.userId}" valueProvider = "ELExpression" pathParam = "true" / > "
< name of the parameter = value = "#{pageFlowScope.projectId"projectId"}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< name of the parameter = "TaskId" value = "#{pageFlowScope.activityId}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< name of the parameter = value = "#{pageFlowScope.parentDiscId"parentDiscId"}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< / findAllMethod >
< name findAllInParentMethod = 'debate '.
URI = "projects, getdiscussion, activity, discussion / {username} / {projectId} / {TaskId} / {parentDiscId} '"
connectionName = "MyTask" requestType = 'GET' guaranteed = "false".
sendDataObjectAsPayload = "false" payloadElementName = "Discussion" >
< name of the parameter = "userId" value = "#{pageFlowScope.userId}" valueProvider = "ELExpression" pathParam = "true" / > "
< name of the parameter = value = "#{pageFlowScope.projectId"projectId"}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< name of the parameter = "TaskId" value = "#{pageFlowScope.activityId}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< name of the parameter = value = "#{pageFlowScope.parentDiscId"parentDiscId"}" valueProvider = 'ELExpression' "
pathParam = "true" / >
< / findAllInParentMethod >
< createMethod uri = "/ projects/newpostdiscussion/discussion" connectionName = "MyTask" requestType = "POST".
warranty = "false" sendDataObjectAsPayload = "true" payloadElementName = "Discussion" >
< name headerParameter = "Content-Type" value = "application/json" / >
< / createMethod >
< updateMethod uri = "/ projects/putdiscussion/discussion" connectionName = "MyTask" requestType = "PUT".
warranty = "false" sendDataObjectAsPayload = "true" payloadElementName = "Discussion" >
< name headerParameter = "Content-Type" value = "application/json" / >
< / updateMethod >
< / methods >
< / classMappingDescriptor >
< classMappingDescriptor className = "teamup.mobile.model.DiscussionAssignment" persisted = "true" > ""
< className = crudServiceClass "teamup.mobile.model.service.DiscussionService" autoIncrementPrimaryKey = "true" / > "
< table name = "DISCUSSION_ASSIGNMENT" >
< name primaryKeyColumn = "DISCUSSION_ID" / >
< name primaryKeyColumn = "USER_ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = 'discussionId' payloadAttributeName = "DISCUSSION_ID" columnName = "DISCUSSION_ID."
columnDataType = "NUMERIC" required = "true" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< directMapping attributeName = "userId" payloadAttributeName = "USER_ID" columnName = 'USER_ID '.
columnDataType = "NUMERIC" required = "false" persisted = "true" = "java.math.BigDecimal" javaType
keyAttribute = "true" / >
< directMapping attributeName = "likedFlag" payloadAttributeName = "LIKED_FLAG" columnName = "LIKED_FLAG."
columnDataType = "VARCHAR" required = "false" persisted = "true" = "java.lang.String" javaType
keyAttribute = "false" / >
< / attributeMappings >
< methods / >
< / classMappingDescriptor >
< classMappingDescriptor className = "teamup.mobile.model.Search" persisted = "true" > ""
"< crudServiceClass className ="teamup.mobile.model.service.SearchService"autoIncrementPrimaryKey ="true"localPersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager "remotePersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.RestXMLPersistenceManager"remoteReadInBackground ="true"remoteWriteInBackground ="true"showWebServiceInvocationErrors ="true"autoQuery ="true"/ >"
< table name = "SEARCH" >
< name primaryKeyColumn = "ACTIVITY_ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = "activityId" payloadAttributeName = "ACTIVITY_ID" columnName = "ACTIVITY_ID" columnDataType = "NUMERIC" required = "true" = "true" javaType = persisted "java.math.BigDecimal" keyAttribute = "true" / > "
< directMapping attributeName = "projectid" payloadAttributeName = "PROJECTID" columnName = "PROJECTID" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "activityName" payloadAttributeName = "ACTIVITY_NAME" columnName = "ACTIVITY_NAME" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "description" payloadAttributeName = "DESCRIPTION" columnName = "DESCRIPTION" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "parentActivityId" payloadAttributeName = "PARENT_ACTIVITY_ID" columnName = "PARENT_ACTIVITY_ID" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = 'status' payloadAttributeName = 'STATUS' columnName = 'STATUS' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "priority" payloadAttributeName = "PRIORITY" columnName = "PRIORITY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "percentageComplete" payloadAttributeName = "PERCENTAGE_COMPLETE" columnName = "PERCENTAGE_COMPLETE" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "startDate" payloadAttributeName = "START_DATE" columnName = "START_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "endDate" payloadAttributeName = "End_date" columnName = "End_date" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = 'eta' payloadAttributeName = 'ETA' columnName = 'ETA' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "estimatedHours" payloadAttributeName = "ESTIMATED_HOURS" columnName = "ESTIMATED_HOURS" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "actualHours" payloadAttributeName = "ACTUAL_HOURS" columnName = "ACTUAL_HOURS" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "ownerUserId" payloadAttributeName = 'OWNER_USER_ID' columnName = 'OWNER_USER_ID' columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< directMapping attributeName = "discussionCount" payloadAttributeName = "DISCUSSION_COUNT" columnName = "DISCUSSION_COUNT" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "
< directMapping attributeName = "comments" payloadAttributeName = "COMMENTS" columnName = "COMMENTS" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "
< / attributeMappings >
<>methods
< findAllMethod uri = "/ projects/searchtasks/search/spot / {id} / {id1} / {id2} / {id3}" connectionName = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true" payloadElementName = "Task" > "
< name headerParameter = "Content-Type" value = "application/json" / >
< name of the parameter = "id" value = "#{pageFlowScope.searchId1}" valueProvider = "ELExpression" pathParam = "true" / > "
< name of the parameter = "id1" value = "#{pageFlowScope.searchId2}" valueProvider = "ELExpression" pathParam = "true" / > "
< name of the parameter = "id2" value = "#{pageFlowScope.searchId3}" valueProvider = "ELExpression" pathParam = "true" / > "
< name of the parameter = "id3" value = "#{pageFlowScope.searchId4}" valueProvider = "ELExpression" pathParam = "true" / > "
< / findAllMethod >
< / methods >
< / classMappingDescriptor >
< className = "oracle.ateam.sample.mobile.v2.persistence.service.DataSynchAction" classMappingDescriptor
dateFormat "dd-MMM-yyyy" = >
< table name = "DATA_SYNCH_ACTIONS" >
< name primaryKeyColumn = "SERVICE_CLASS_NAME" / >
< name primaryKeyColumn = "ID" / >
< /table >
< attributeMappings >
< directMapping attributeName = "id" columnName = "ID" columnDataType = "NUMERIC" required = "true".
javaType = "java.lang.Integer" keyAttribute = "true" / > "
< directMapping attributeName = "serviceClass" columnName = "SERVICE_CLASS_NAME" columnDataType = "VARCHAR".
required = "true" javaType = "java.lang.String" keyAttribute = "true" / > "
< directMapping attributeName = "entityClassString" columnName = "ENTITY_CLASS_NAME" columnDataType = "VARCHAR".
javaType="java.lang.String"/ >
< directMapping attributeName = "entityAsJSONString" columnName = "JSON_PAYLOAD" columnDataType = "VARCHAR".
javaType="java.lang.String"/ >
< directMapping attributeName = "action" columnName = "ACTION" columnDataType = "VARCHAR".
javaType="java.lang.String"/ >
< directMapping attributeName = "dateCreated" columnName = 'DATE_CREATED' columnDataType = 'DATE '.
javaType="java.util.Date"/ >
< directMapping attributeName = "lastSynchAttempt" columnName = "DATE_LAST_SYNCH" columnDataType = "DATE".
javaType="java.util.Date"/ >
< directMapping attributeName = "lastSynchError" columnName = "LAST_SYNCH_ERROR" columnDataType = "VARCHAR".
javaType="java.lang.String"/ >
< directMapping attributeName = "customMethodName" columnName = "CUSTOM_METHOD_NAME" columnDataType = "VARCHAR".
javaType="java.lang.String"/ >
< / attributeMappings >
< / classMappingDescriptor >
< / mobileObjectPersistence >
===========================================================================================================================
Rest Service payload
{
"Task": [{}
"ACTIVITY_ID": 426.
"PROJECTID": 3.
"ACTIVITY_NAME': 'solve the performance issue."
"DESCRIPTION': 'solve the performance issue."
'PARENT_ACTIVITY_ID': null,
"STATUS': 'IN_PROGRESS."
'PRIORITY': null,
'PERCENTAGE_COMPLETE': 50,.
"START_DATE": null;
"END_DATE": "2015-04 - 05 T 23: 55:47.000 - 04:00", ".
'ETA': null,
'ESTIMATED_HOURS': null,
'ACTUAL_HOURS': null,
'OWNER_USER_ID': 8,.
'CREATED_BY': 'elilani ',.
'CREATION_DATE': ' 2015-04 - 10 T 19: 13:49.000 - 04:00 ",".
"LAST_UPDATED_BY": "elilani",
"LAST_UPDATE_DATE": "2015-04 - 10 T 19: 13:49.000 - 04:00", ".
'DISCUSSION_COUNT': 1,.
"OBSERVATIONS": "poor response time during the updating of the homepage and create the task.»
"TaskAssignment": [{}
'ASSIGNMENT_ID': 962,.
"PROJECT_TEAM_MEMBER_ID": 3.
"START_DATE": null;
"End_date": null;
'CREATED_BY': 'elilani ',.
'CREATION_DATE': ' 2015-04 - 10 T 19: 13:49.000 - 04:00 ",".
"LAST_UPDATED_BY": "elilani",
"LAST_UPDATE_DATE": "2015-04 - 10 T 19: 13:49.000 - 04:00", ".
'FAVORITE_FLAG': null
}, {
'ASSIGNMENT_ID': 960,.
"PROJECT_TEAM_MEMBER_ID": 3.
"START_DATE": null;
"End_date": null;
'CREATED_BY': 'elilani ',.
'CREATION_DATE': ' 2015-04 - 10 T 19: 13:49.000 - 04:00 ",".
"LAST_UPDATED_BY": "elilani",
"LAST_UPDATE_DATE": "2015-04 - 10 T 19: 13:49.000 - 04:00", ".
'FAVORITE_FLAG': null
}, {
'ASSIGNMENT_ID': 961.
'PROJECT_TEAM_MEMBER_ID': 2.
"START_DATE": null;
"End_date": null;
'CREATED_BY': 'elilani ',.
'CREATION_DATE': ' 2015-04 - 10 T 19: 13:49.000 - 04:00 ",".
"LAST_UPDATED_BY": "elilani",
"LAST_UPDATE_DATE": "2015-04 - 10 T 19: 13:49.000 - 04:00", ".
'FAVORITE_FLAG': null
} ]
} ]
}
----------------------------------------------------------------------------------------------------------------------------
Massari,
The data object to "Seek", you have misconfigured persistence distance Manager:
remotePersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager. RestXMLPersistenceManager".
This should be
remotePersistenceManager = "oracle.ateam.sample.mobile.v2.persistence.manager. RestJSONPersistenceManager".
My guess is that when running the wizard, you have forgotten initially set the Content Type application/JSON and when the wizard runs the servce REST to inspect the payload, payload has been returned in XML format. Would this be possible?
Also note that a new version of AMPA is available, see this blog post.
Steven Davelaar,
Oracle Mobile & Cloud A-team.
-
DataGuard archiving log not applied
Hello
I met archive log apply errors in the physical standby database. Below are the errors.
SQL > SELECT SEQUENCE #, FIRST_TIME, NEXT_TIME, APPLIED from V$ ARCHIVED_LOG SEQUENCE ORDER #;
SEQUENCE # FIRST_TIM NEXT_TIME APP
---------- --------- --------- ---
10 24 AUGUST 11 NO. 24 AUG 11
10 24 AUGUST 11 NO. 24 AUG 11
11 AUGUST 24, 11 NO. 24 AUG 11
12 24 AUGUST 11 NO. 25 AUG 11
13 25 AUGUST 11 NO. 25 AUG 11
14-25 AUGUST 11 NO. 25 AUG 11
6 selected lines.
SQL > select database_role, open_mode from v$ database;
DATABASE_ROLE OPEN_MODE
---------------- ----------
FIRST READING WRITING
SQL > select message from v$ dataguard_status;
ARCs: Started archiving
CRAT: Started archiving
CJACBR: become the "no FAL' ARCH
CJACBR: become the "no SRL" ARCH
ARCm: Become the heartbeat ARCH
Message
--------------------------------------------------------------------------------
Again shipping customer logged in as PUBLIC
-User is valid
RFS [1]: assigned to the RFS 3389 process
RFS [1]: do not use real application clusters
LGWR: Error 16009 creation archivelog file "DBSOURCE.
LNS: Impossible to archive log 3 thread 1 sequence 15 (16009)
Again shipping customer logged in as PUBLIC
-User is valid
RFS [2]: assigned to the RFS 3393 process
RFS [2]: do not use real application clusters
FAL [server, ARCo]: error 16009 file creation remote archivelog 'DBSOURCE.
Message
--------------------------------------------------------------------------------
Again shipping customer logged in as PUBLIC
-User is valid
RFS [3]: assigned to the RFS 3397 process
RFS [3]: do not use real application clusters
Heartbeat PING [ARCm]: Unable to connect to the eve "DBSOURCE. The error is 16009.
Again shipping customer logged in as PUBLIC
-User is valid
RFS [4]: assigned to the RFS 3429 process
RFS [4]: do not use real application clusters
Heartbeat PING [ARCm]: Unable to connect to the eve "DBSOURCE. The error is 16009.
54 selected lines.
Of the primary alerts on DB log errors
Using the default value for the parameter STANDBY_ARCHIVE_DEST as/u01/app/oracle/oradata/DBSOURCE
Again shipping customer logged in as PUBLIC
-User is valid
RFS [1]: assigned to the RFS 3389 process
RFS [1]: do not use real application clusters
Errors in the /u01/app/oracle/diag/rdbms/dbsource/DBSOURCE/trace/DBSOURCE_rfs_3389.trc file:
ORA-16009: destination of the journal archive remote must be a database of the EVE
Game Aug 25 12:17:10 2011
Errors in the /u01/app/oracle/diag/rdbms/dbsource/DBSOURCE/trace/DBSOURCE_lns1_3349.trc file:
ORA-16009: destination of the journal archive remote must be a database of the EVE
LGWR: Error 16009 creation archivelog file "DBSOURCE.
LNS: Impossible to archive log 3 thread 1 sequence 15 (16009)
Game Aug 25 12:17:30 2011
Again shipping customer logged in as PUBLIC
-User is valid
RFS [2]: assigned to the RFS 3393 process
RFS [2]: do not use real application clusters
Errors in the /u01/app/oracle/diag/rdbms/dbsource/DBSOURCE/trace/DBSOURCE_rfs_3393.trc file:
ORA-16009: destination of the journal archive remote must be a database of the EVE
initDBSOURCE.ora params
DB_NAME = DBSOURCE
DB_UNIQUE_NAME = DBSOURCE
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (DBSOURCE, DBTARGET)'
LOG_ARCHIVE_DEST_1 =
"LOCATION = / u01/app/oracle/oradata/DBSOURCE"
VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
DB_UNIQUE_NAME = DBSOURCE'
LOG_ARCHIVE_DEST_2 =
"SERVICE = DBSOURCE LGWR ASYNC
VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
DB_UNIQUE_NAME = DBTARGET'
LOG_ARCHIVE_DEST_STATE_1 = ENABLE
LOG_ARCHIVE_DEST_STATE_2 = ENABLE
REMOTE_LOGIN_PASSWORDFILE = EXCLUSIVE LOCK
LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
LOG_ARCHIVE_MAX_PROCESSES = 30
I have 1 more question. I copied all db files, control files, and archived logs of the remote db DBTARGET but with the standby control file I could mount the db in the remote server but the dbname is always DBSOURCE instead of DBTARGET.
I tried running NEST to change on the site of relief the dbname but it errored out with
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to database DBSOURCE (DBID = 977273159)
NEST-00131: control file is not current
Change of database name failed during validation - database is intact.
Could if apply the newspaper ceased due to the DBNAME is the same on the eve of primary and physical please help
Edited by: 880215 August 25, 2011 10:02dbname is still DBSOURCE instead of DBTARGET
The database must be DBSOURCE on both. It's the same data in two different roles, role PRINCIPAL and ROLE of the day BEFORE.
Oracle, said by the DB_UNIQUE_NAME parameter.
What I have is copy the control file before on the basis of pending data down and then copy and rename the control file that are there.
Does make sense?
I have some notes here if it helps:
http://www.Visi.com/~mseberg/data_guard_on_oracle_11_step_by_step.html
Best regards
mseberg
-
Archiving logs not applied to sleep!
Hi guys,.
I'm implementing physical standby on windows 2003 server. I use oracle 10.2.0.4.0. I get the following error in my alert pending file
You cannot request the gap sequence
Here are the results of some queries:
SQL > SELECT PROCESS, STATUS, THREAD #, SEQUENCE #, BLOCK #, BLOCKS FROM V$ MANAGED_STANDBY;
STATUS OF PROCESS THREAD # SEQUENCE # BLOCK # BLOCKS
--------- ------------ ---------- ---------- ---------- ----------
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
Mr (FG) 1 10004 WAIT_FOR_GAP 0 0
SQL > select * from v$ archive_gap;
no selected line
SQL > select message from v$ dataguard_status;
Message
-------------------------------------------------------------
Arc0: Started archiving
Arc1: Started archiving
ARC2: Started archiving
ARC3: Started archiving
Arc4: Started archiving
ARC5: Started archiving
ARC6: Started archiving
ARC7: Started archiving
ARC8: Started archiving
ARC9: Started archiving
Arc0: become the "no FAL' ARCH
Message
-------------------------------------------------------------
Arc0: become the "no SRL" ARCH
Arc1: Become the heartbeat ARCH
Try to start inside the managed standby recovery process
MRP0: Background Managed Standby recovery started
Managed Standby recovery not using real time applies
Media, recovery waiting for thread 1 sequence 10004
Pick up the empty sequence in thread 1, sequence gap 10004-10017
FAL [client]: you cannot request the gap sequence
GAP - thread 1 sequence 10004-10017
2422302575 670594799 DBID branch
FAL [client]: all defined FAL servers have been tried.
Message
-------------------------------------------------------------
MRP0: Background Media Recovery cancelled with status 16037
MRP0: Stopping the process background Media Recovery
Managed recovery cancelled pending
Start of recovery media: managed standby recovery
Managed Standby recovery not using real time applies
Media, recovery waiting for thread 1 sequence 10004
Pick up the empty sequence in thread 1, sequence gap 10004-10017
FAL [client]: you cannot request the gap sequence
GAP - thread 1 sequence 10004-10017
2422302575 670594799 DBID branch
FAL [client]: all defined FAL servers have been tried.
SQL > SELECT THREAD #, SEQUENCE #, APPLIED TO V$ ARCHIVED_LOG
in case of application = 'YES '.
no selected line
##Modification in primary #.
* .log_archive_dest_2 = "SERVICE = STANDBY"
* .fal_client = "STUTEST".
* .fal_server = "STUSTANDBY".
* .log_archive_config = 'DG_CONFIG = (STUTEST, STUSTANDBY)'
##Modification on Eve #.
* .db_unique_name = "STANDBY".
* .log_archive_dest_2 = "SERVICE = STANDBY"
* .log_archive_dest_state_2 = 'ENABLE '.
*. Fal_server = STUTEST
*. Fal_client = STUSTANDBY
* .db_file_name_convert = "H:\ORACLE\ORADATA\STUTEST\",' I: \ORACLE\ORADATA\STUTEST\s_'
* .log_file_name_convert = a: \oracle\oradata\STUTEST\',: \oracle\oradata\STUTEST\s_'
Nore: I used RMAN to create the database on hold. Here's the brief steps
Here are the steps to accomplish the task:
Step 1: Back up the database that includes the backup of the data files, archivelogs and controlfile to standby
backup current controlfile to sleep;
Step 2: Move the backups to the server backup and restore of backup control file
Step 3: Change the database parameter files primary and standby
Step 4: Do the restore and recover on the backup database
Step 5: Put the database sleep in managed recovery mode
Thanks for the help guys!jazz81,
If I were you I copy the archivelog 10119 Eve primary number and run the following command.
ALTER DATABASE REGISTER LOGFILE '/PATH_HERE/ARCH_10119.arch';
+This clause allows the registration of manually archived redo logs. The SQL statement syntax is:+ +ALTER DATABASE REGISTER [OR REPLACE] [PHYSICAL | LOGICAL] LOGFILE filespec;+
The database that you need to cancel the process MRP0, then re-run the MRP0 with the disconnection of the clause of session of the altar.
Ogan
-
We use authentication for the external table. Are not filtering of data by user. All records are displayed for all users. I am trying to display 'view Log' session Management, but I am getting error no paper found. Please can you help me, how can I view log file. Should I change something for the authentication of the external table?
My second question is why aren't data filtering? I created all the joins between the tables S & V with the fact table. Could you please help on this issue too?
I thank very you much for your time.Hi user,
You need to set the recording level (variable LOGLEVEL) an appropriate value in order to get logs to be generated. In this article, Vincent shows how to increase the level registration and applications for standard users to RPD.
In your case, since you are using the external table and not internal RPD users, you want to set the LOGLEVEL variable in a block of initialization of the RPD or at the State level. Nico has an article about how do to the level of demand. See his article here.
For the level of the RPD, simply create a new block of initialization and the whole to a query is a source. Use the "SELECT 7 FROM DUAL" query that the query to initialize and set the LOGLEVEL variable. 7 is the highest level of logging. Save the RPD, restart services and each user must generate a log file.
Good luck!
-Joe
-
trying 2 Remove Games in vista Control Panel bot whenever I have try 2 do it all I get is (missing log files) appreciate all help
Hi bobg1946,
What game you try to uninstall? Not all programs are removed via Control Panel. Sometimes an application will have its own routine which is located in the folder with the application itself to uninstall. And, of course, that does not work just to go into the folder and delete all files. Which can lead to disastrous results. Let us know what games are, or go to the manufacturer's Web site to see if there is a utility or other useful information.
Dave D
Dave D
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Application of an rman duplicate database archiving log
I have databtase orcl2, which I've restored to orcl1 since the last incremental backup of nights. I need to roll up before orcl2 max log archive I have on orcl1 for today. What are the steps to do this, or if you could point me to the documentation it would be also useful.
Thanks in advanceWhen restore operations are completed successfully, you have a database that is separate and independent. You cannot apply any archivelogs of orcl1, even when orcl2 was built from orcl1 backups. If you want to have 2 databases that are synchronized with each other, you need a solution of dataguard (primary and physical relief databases).
Refer to the documentation of dataguard corresponding to your version of unknown data.Werner
-
Hi friendz,.
I'm under our full database with RMAN backup, using the following scripts.
But I encountered error:rman1.sh ======== #!/bin/sh export ORACLE_SID=OAPROD export ORACLE_HOME=/u02/oracle/oaproddb/9.2.0 export PATH=$PATH:$ORACLE_HOME/bin rman target / @/u01/RMAN/backup.cmd log=/u01/RMAN/backup.log backup.cmd ========== run { CONFIGURE CONTROLFILE AUTOBACKUP ON; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/rman/ %F'; backup format '/u03/rman/%d_LVL0_%T_%u_s%s_p%p' database plus archivelog; delete obsolete; }
Archived log files are deleted manually every hour, after I applied it to our "manual standby database".Starting backup at 17-FEB-11 current log archived allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=116 devtype=DISK RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup command at 02/17/2011 21:57:56 RMAN-06059: expected archived log not found, lost of archived log compromises recoverability ORA-19625: error identifying file /u02/oracle/oaproddb/9.2.0/dbs/arch/1_50784.dbf ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3 Recovery Manager complete.
I want just RMAN full backup of database and does not mind or check the archived logs because they are taken
Healthcare database pending scripts.
How to solve this?
I read that I have to run every time > ' change archivelog any overlap;
Is this a good solution? Are there other options?
Thank you very muchBut I check our space home still have freespace.
but not enough freespace
SQL> select round(8192*5692801/(1024*1024)) BACKUP_SIZE from dual; BACKUP_SIZE ----------- 44475
-
When I try to access my account, as I recover a message not found user ID. I have 1) deleted all cookies, cache, history etc... (2) run as Administrator 3) renamed cookies-sprite 4) restarted
I am currently using Windows 7 Home Premium SP1, Firefox 26
I was going to take a look at the form, but I was surprised to find that there are many pages of different connection: http://www.ml.com/index.asp?id=7695_14227_14228.
When I enter a username of random test here: https://www.mymerrill.com/ml/home.aspx?site=mymerrill
I get the expected error: "user not found. Click here to retrieve your user code. "The link here goes to ml.com instead of being on the same site.
If I'm looking for the thisisatest username then I get the page to enter a password, which is also on ml.com. So there is an interaction between the areas here which may be covered by restrictions on third party cookies or external scripts.
-
Hi guys,.
Can advise you on the syntax for the rman backup of archive logs generated in the last 2 days?
Wouldn't be 1 or 2?
Thank you!
1 BACKUP ARCHIVELOG UNTIL ' SYSDATE-2';
2 BACKUP ARCHIVELOG FROM TIME ' SYSDATE-2';Run the commands and see what is RMAN - it will show you what files it runs a backup of!
OR
Search the documentation
http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/TOC.htmHemant K Collette
-
Hi all
11.2.0.3
I'm migrating to a new server so I installed oracle new to this all the old server db Server export then import to the new server.
on the new server, I have to first deactivate archivelogs so he used to generate a lot of newspapers while I import the entire db. I also delete backupset and achivelogs to FRA it will clean them all since I use not anyway archivelog. After completing the import, I'm back once again archivelogging and run the backup RMAN. To my surprise, he is looking for a missing achivelog? How is it possible when I came from noarchivelog option? It's the error in the log RMAN:
channel ORA_DISK_1: SID = 130 type device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of command thus backup archivelog at 08/03/2014 20:12:57
RMAN-06059: expected found archived newspaper, loss of archived newspaper compromised recoverability
ORA-19625: error identification of file /rmanonline/flash_recovery_area/BATCHPROD/archivelog/2014_02_14/o1_mf_1_36420_9hw65dyj_.arc
ORA-27037: unable to get file status
IBM AIX RISC System/6000 error: 2: no such file or directory
Please help the RMAN execution for a new archivelog began.
Thank you
pK
overlap archivelog all;
remove expired archivelog all;
-
Hello
I get this error when running the backup. The o1_mf_1_74429_7kwmykb0_.arc file exists in the backend and relief. What is the problem?
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to 27/01/2012 15:07:07
RMAN-06059: journal archived expected not found, lost of archived newspaper compromised recoverability
ORA-19625: error identification of file /orafra/PRODSTB/archivelog/2012_01_24/o1_mf_1_74429_7kwmykb0_.arc
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3Looks like your rman session is confused as to what he does then. I suggest to read this doc:
http://docs.Oracle.com/CD/B28359_01/server.111/b28294/RMAN.htm#BAJEDHFB
RMAN catalog use DB_UNIQUE_NAME with to differentiate DR envs, but I don't know how your env is set up, so, I guess right here. Aren't you offer a lot to solve this, but I think you probably have everything you need to understand this. Read about it, read the guides RMAN and DG.
We have access to your data, so if you want to help you will need to allow us to see what you're doing.
Good luck, you can do it completely.
-
try to uninstall programs, "Journal of instalation not found".
I would be very gratful if someone could help me... once again please! Yesterday, after the acquisition of the programe of thugs 'CYBERSECURITY' I came here asking if someone could help me to get rid of it, thanks to those who responded, unbelivably, I managed to get rid of it myself with system restore in safe mode (it may work for other people, I answered some telling them to try this) that I never thought would work , but, touch wood, looks ok now Ive cleaned it. I just have a problem now try to uninstall the programs that I got rid of the day, I acquired of cybersecurity. I guess it's because the restore point, I gave him too much. I want to get rid of these again, but every time I try to unistal them, he said: (Ghost Installer) "Not found Setup log" happens then "this program might not be properly uninstalled" it gives the choice 'Uninstall using recommended settings' or 'this program uninstalled corectly' when I click to uninstall using recommended, then goes back to "instalation log not found" again. I don't know that there is a very simple answer to that, unfortunately, I don't know much, just a little more before the program of thugs! would be very gratful for help.
Thank you
Sarah
Hello
If possible and not malware try to reinstall the program, so you can uninstall them.
For all THE tools here when possible - download - RECORD - go where you put them - click on - RUN AS ADMIN
(do not use RUN AS ADMIN for the program that you just want to load and then uninstall unless it takes and it is
not malware).A great tool to use is Revo
Revo Unintaller - free
http://www.revouninstaller.com/------------------------------------
In your cleaning have you run SFC/scannow, and then checkdisk?
Follow these steps to remove corruption and missing/damaged file system repair or replacement.
Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN
sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html================================
I would also like to do the following:
Spotlight utility Windows Installer CleanUp Utility
http://TechNet.Microsoft.com/en-us/magazine/2008.08.UtilitySpotlight.aspxDescription of the Windows Installer CleanUp utility
http://support.Microsoft.com/kb/290301Windows install 4.5 Redistributable
http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=enI hope this helps.
Rob - bicycle - Mark Twain said it is good. -
With RMAN for backup, but not with the archive logs
We run a 10.2.0.4 database and the rest 11.2.0.3. All databases are on RHEL 5.7.
Our backups are via RMAN, with the data files, controlfiles and spfile saved to disk, then each day, it is copied off site to a backup server.
My question is around logs archiving and RMAN.
Our current situation is:
-We do not save the logs to archive via RMAN. for example: backup of the list of the archivelog all; gives "specification does not match backups in the repository.
-We set the archive_lag_target so archiving logs is produced every 30 minutes.
-a cron job running on a remote server runs periodically to synchronize data (rsync server) the directory of archives with a remote control.
-daily archive logs on the server host are bzip. Purge of these newspapers is scheduled for more than 3 days rman 'window of recovery '.
I'm interested in feedback as to if our strategy around archiving logs is correct or not.
Should we be backup logs archiving via RMAN? Are there potential problems with our approach?
We just kept our backups in this way the DBA in the past want to see newspapers archived as opposed to it while a backupset.
Curious to know what others are doing.Hello
Welcome to OTN!
Archivelogs with RMAN backup is a better option. When the archives are supported by RMAN, RMAN would be aware of the backup items which are required at the time of the recovery archives. You don't have to do it manually.
On the disk space, you can delete the archives once they were saved by RMAN.
RMAN > delete any backup archivelog entry;
This supports the archivelogs and then remove the archives from the disk.
If you have a dataguard configured, you can set the deletion policy 'applied on Eve', which removes the archives as and when they are applied to the database ensures there by the management of disk space again.
RMAN > configure archivelog political of deletion to applied pending;
-
Problem with the archive log when you use RMAN for backup and restore (11g 2)
Hello world
Please help me solve this problem.
I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
-First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}
D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}Repeat 7 times (Monday-> Saturday). And I got these files:
[oracle@rac ~]$ ls -l /u01/backup/
total 400280
-rw-r----- 1 oracle oinstall 10158080 Jan 20 07:23 c-1428943247-20160120-01
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:04 c-1428943247-20160120-02
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:05 c-1428943247-20160120-03
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:06 c-1428943247-20160120-04
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-05
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-06
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:09 c-1428943247-20160120-07
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:32 c-1428943247-20160120-08
-rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
-rw-r----- 1 oracle oinstall 2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
-rw-r----- 1 oracle oinstall 4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
-rw-r----- 1 oracle oinstall 11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
-rw-r----- 1 oracle oinstall 146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
-rw-r----- 1 oracle oinstall 884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
-rw-r----- 1 oracle oinstall 82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
-rw-r----- 1 oracle oinstall 294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
-rw-r----- 1 oracle oinstall 18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
-rw-r----- 1 oracle oinstall 155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
-rw-r----- 1 oracle oinstall 131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
-rw-r----- 1 oracle oinstall 647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
-rw-r----- 1 oracle oinstall 8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
-rw-r----- 1 oracle oinstall 2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
-rw-r----- 1 oracle oinstall 1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
-rw-r----- 1 oracle oinstall 327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1And
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
80 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
81 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
82 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
83 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
84 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
85 B F A DISK 20-JAN-16 1 1 NO TAG20160120T072332
86 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
87 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
88 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
89 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080440
90 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
91 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
92 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
93 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080545
94 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
95 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
96 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
97 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080657
98 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
99 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
100 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
101 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080801
102 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
103 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
104 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
105 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080844
106 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
107 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
108 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INCMy configuration of rman:
RMAN> show all;
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/backup/backup_df%t_s%s_s%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default- Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
Starting restore at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=20 device type=DISK
channel ORA_DISK_2: skipped, AUTOBACKUP already found
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
output file name=/u01/app/oracle/oradata/orcl/control01.ctl
output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
Finished restore at 20-JAN-16
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
released channel: ORA_DISK_2
RMAN> restore database;
Starting restore at 20-JAN-16
Starting implicit crosscheck backup at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=18 device type=DISK
Crosschecked 29 objects
Finished implicit crosscheck backup at 20-JAN-16
Starting implicit crosscheck copy at 20-JAN-16
using channel ORA_DISK_1
using channel ORA_DISK_2
Finished implicit crosscheck copy at 20-JAN-16
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
using channel ORA_DISK_2
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
Finished restore at 20-JAN-16-Fourth, the problem here, I got the database;
.. .every oky until this line...starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=15
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/20/2016 08:50:22RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841
The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
82 2.16M DISK 00:00:00 20-JAN-16
BP Key: 82 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1
List of Archived Logs in backup set 82
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1154833 20-JAN-16 1177422 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
83 3.88M DISK 00:00:00 20-JAN-16
BP Key: 83 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1
List of Archived Logs in backup set 83
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1162729 20-JAN-16 1188784 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
84 10.68M DISK 00:00:01 20-JAN-16
BP Key: 84 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1
List of Archived Logs in backup set 84
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 2 1177422 20-JAN-16 1201833 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
88 1.81M DISK 00:00:01 20-JAN-16
BP Key: 88 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1
List of Archived Logs in backup set 88
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 3 1201833 20-JAN-16 1204844 20-JAN-16
1 4 1204844 20-JAN-16 1204893 20-JAN-16
1 5 1204893 20-JAN-16 1204958 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
92 143.00K DISK 00:00:00 20-JAN-16
BP Key: 92 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1
List of Archived Logs in backup set 92
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 6 1204958 20-JAN-16 1205034 20-JAN-16
1 7 1205034 20-JAN-16 1205253 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
96 80.00K DISK 00:00:00 20-JAN-16
BP Key: 96 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1
List of Archived Logs in backup set 96
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 8 1205253 20-JAN-16 1205354 20-JAN-16
1 9 1205354 20-JAN-16 1205433 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
100 18.00K DISK 00:00:00 20-JAN-16
BP Key: 100 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1
List of Archived Logs in backup set 100
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 10 1205433 20-JAN-16 1205519 20-JAN-16
1 11 1205519 20-JAN-16 1205559 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
104 128.00K DISK 00:00:00 20-JAN-16
BP Key: 104 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1
List of Archived Logs in backup set 104
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 12 1205559 20-JAN-16 1205624 20-JAN-16
1 13 1205624 20-JAN-16 1205739 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
108 8.00K DISK 00:00:00 20-JAN-16
BP Key: 108 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1
List of Archived Logs in backup set 108
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 14 1205739 20-JAN-16 1205796 20-JAN-16
1 15 1205796 20-JAN-16 1205840 20-JAN-16
If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.Sorry for a long post.
> 1 and from the 1205841 SNA sequence
The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).
The message
channel ORA_DISK_1: restoring archives Journal
Archives journal thread = 1 sequence = 15
channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading
channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC
indicates that he has restored the sequence up to 15
You can check the log file alert database instance for messages on the fact of recovery.
He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.
Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve. An uncomitted transaction is cancelled.
Hemant K Collette
Maybe you are looking for
-
Hi everyone, after upgrading my MacBook Pro (retina, 13 inches, early 2015) to OS X El Capitan my Krom Kull guard mouse disconnect randomly, this happens on both USB ports. T It's problem is really annoying you know a fiz for her?
-
acerEXTEND does not load on the computer (Windows 7)
acerEXTEND does not load on the computer (Windows 7/10). Error message says I need to be administrator. Computer said that I am logged on as administrator.
-
OK, so I just format my WD my passport ultra 1 TB to my xbox 1. Its now not show on my windows vista computer, worked and connected very well before, but now nothing appears. Anything to help. Thank you OT: Please help with this
-
Only 1 of the 2 computers in my LAN recognizes my static IP address assigned by my ISP - HELP!
I have an IP address from my ISP, but only one of the two computers in my LAN presents this static IP address in the "ipconfig" and it connects to the internet, the other computer Watch has "169.254.XXX.XXX' IP address and does not connect to the int
-
Hello DELL powerconnect 6224 reference. I want to access the management of a different VIRTUAL LAN VLAN. The management of VLANS is 100 of VLAN. not the routing My computer is vlan 60 (192.168.60.10) and I want to connect via ssh or http (192.168.100