cancel
Showing results for 
Search instead for 
Did you mean: 

RMAN Restore failing with MAPI error from sbtbackup: 7501, VxBSACreateObject: Failed with error: Server Status: the specified policy is not of the correct client type

Naveen_Sunkari
Level 4

Hello Team,

We are trying to inititate restore in my new netbackup master server ( Version NBU 7.7.1, OS:Linux)

Client Server NBU Versin 7.6.01, OS : SunOS

Getting below error and even failure lot not generating in nbu console.

 

sbttest test
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=Veritas NetBackup for Oracle - Release 7.6 (2013111313)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
MMAPI error from sbtbackup: 7501, VxBSACreateObject: Failed with error:
   Server Status:  there are no active policies in the configuration database
-- sbtbackup failed
 
 
 
Please provide solution this is a test server.


Thanks
Naveen Sunkari
9962235978
1 ACCEPTED SOLUTION

Accepted Solutions

Naveen_Sunkari
Level 4

Team,

 

Now the restore is completed successfully after creating the folder under the below location in master server

 

/usr/openv/netbackup/db/altnames/No.Restrictions

 



Thanks
Naveen Sunkari
9962235978

View solution in original post

12 REPLIES 12

Naveen_Sunkari
Level 4
sbttest test
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=Veritas NetBackup for Oracle - Release 7.6 (2013111313)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
MMAPI error from sbtbackup: 7501, VxBSACreateObject: Failed with error:
   Server Status:  there are no active policies in the configuration database
-- sbtbackup failed


Thanks
Naveen Sunkari
9962235978

Nicolai
Moderator
Moderator
Partner    VIP   

Please tell us more.

How are you starting this restore ?

Have you followed the guide line in the Netbackup Administrative guide 

http://www.veritas.com/docs/000004633

See "Attachment" - Chapter 5 or 6.

 

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Verify communications with the master/media 

Check

bpclntcmd -self

bpclntcmd -hn "clientname"

bpclntcmd -hn "Master"

bpclntcmd -pn

bpclntcmd -ip "Client IP"

bpclntcmd -ip "Master IP"

 

Make sure that all of it resolves correctly. If you need to make changes to DNS to get it working remember to run bpclntcmd -clear_host_cache berfore testing the above commands agian.

 

 

Naveen_Sunkari
Level 4

@Riaan: I have added this server to test backups, file system backups are completed successfully no issues found. please let me know if you want to check anyother still.

 

@Nicolai: Yes we are fallowing the same as per the recommended by Netbackup and other restores completed successfully with some other servers.



Thanks
Naveen Sunkari
9962235978

Nicolai
Moderator
Moderator
Partner    VIP   

Ensure bp.conf on the Oracle host has the new Netbackup master server at the very top of the server list:

e.g :

Wrong:

SERVER = oldmaster

SERVER = newmaster

OK:

SERVER = newmaster

SERVER = oldmaster

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

It it very common for FS backups to work and Agent backups to fail. Agent backups rely more heavily on name resolution. especially reverse lookups. PLease make sure that is working.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
" We are trying to inititate restore in my new netbackup master server..." Oracle restores cannot be initiated from the master server. It can only be initiated from the destination client. Plus alternate client restore must be authorised with altnames files on the master. Please share details of steps that you have followed on the master and on the destination client.

Naveen_Sunkari
Level 4

@Nicolai: We are using only new Master server not usin old master server and backups completed successful on new netbackup master server as well we have changed all bp.conf entries in both the servers client as well restore destination server with new host entries. still its failing. 

@Marianne: WE are trying to restore from Destination server itselft not from the Master server, we are even not able to see the Restore job log in Netbackup console, in oracle destination server itself we are facing the above issue, getting error as below

sbttest test
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
sbtinit: vendor description string=Veritas NetBackup for Oracle - Release 7.6 (2013111313)
sbtinit: allocated sbt context area of 8 bytes
sbtinit: proxy copy is supported
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
MMAPI error from sbtbackup: 7501, VxBSACreateObject: Failed with error:
   Server Status:  there are no active policies in the configuration database
-- sbtbackup failed



Thanks
Naveen Sunkari
9962235978

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Please share restore script/procedure. The error is about backup that cannot be done : "sbtbackup failed"

Naveen_Sunkari
Level 4

Team,

 

Now the restore is completed successfully after creating the folder under the below location in master server

 

/usr/openv/netbackup/db/altnames/No.Restrictions

 



Thanks
Naveen Sunkari
9962235978

View solution in original post

Naveen_Sunkari
Level 4

Previously altnames/No.Restrictions folder was not there after creating this restore got completed successfully



Thanks
Naveen Sunkari
9962235978

rizwan84tx
Level 6
Certified

The same was advised by Marianne; it would be justice to mark Marianne's post as solution.

 

MarianneTrusted AdvisorPartnerAccreditedCertified
 

" We are trying to inititate restore in my new netbackup master server..."

Oracle restores cannot be initiated from the master server. It can only be initiated from the destination client.
Plus alternate client restore must be authorised with altnames files on the master.

Please share details of steps that you have followed on the master and on the destination client.