STATUS CODE 241: Oracle backups fail with a NetBackup Status Code 241 (the specified schedule is the wrong type for this request).

STATUS CODE 241: Oracle backups fail with a NetBackup Status Code 241 (the specified schedule is the wrong type for this request).

Article: 100029164
Last Published: 2008-01-28
Ratings: 1 1
Product(s): NetBackup

Problem

STATUS CODE 241: Oracle backups fail with a NetBackup Status Code 241 (the specified schedule is the wrong type for this request).

Error Message

the specified schedule is the wrong type for this request

Solution

Overview:
Oracle backups fail with a NetBackupStatus Code 241 (the specified schedule is the wrong type for thisrequest).  

Troubleshooting:
Review the schedule names ofthe Oracle policy on the master server.

Log files:  N/A

Resolution:
If the Oracle Recovery Manager (RMAN) scriptspecifies the NB_ORA_SCHED keyword, itsvalue must be the name of a schedule with a type of "ApplicationBackup."  

On the master server, from the command line, run thebppllist command (found in the /usr/openv/netbackup/bin/admincmddirectory on a UNIX/Linux master, or the <install_path>\veritas\netbackup\bin\admincmd directory on aWindows master) as shown (bold added foremphasis):

bppllist -U-allpolicies
------------------------------------------------------------

PolicyName:      <oracle_policy>

 PolicyType:        Oracle
 Active:              yes

<SNIP>

 Schedule:          Default-Application-Backup  <=Notethename
   Type:            ApplicationBackup  <= Note the type

The value for the NB_ORA_SCHED keyword, if specified, mustbe the name of the schedule in an Oracle policy which is of type "ApplicationBackup".  So, in the above example, since the schedule that is of type"Application Backup" is named "Default-Application-Backup", the value for the NB_ORA_SCHED keyword must be"Default-Application-Backup".

If a template is being used, the sameinformation applies.  In the "Schedule" parameter, specify the name of theschedule which is of the type "Application Backup".  

Was this content helpful?