Netbackup7.5 access to the client was not allowed(59)問題解決


備份策略backup_oracle_rmanbak_files原在master機器Win2008NBU上執行,因Win2008NBU運行在虛擬機上,經常看到No robot daemon or robotics are unavailable 或Robotic library is down on server, Media Server: dbrac02 這樣的錯誤,Symantec公司建議將其轉到轉到另外2個Media Server上。轉過來后發現執行策略是出現下面錯誤:

 

2013/2/22 17:12:00 - Info nbjm(pid=4784) starting backup job (jobid=359) for client jsgcb-fu, policy backup_oracle_rmanbak_files, schedule backup_oracle_rmanbak_files 

2013/2/22 17:12:00 - Info nbjm(pid=4784) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=359, request id:{8479B66B-0717-4AF5-95B5-899607B391C7}) 

2013/2/22 17:12:00 - requesting resource dbrac02-hcart2-robot-tld-0

2013/2/22 17:12:00 - requesting resource win2008nbu.NBU_CLIENT.MAXJOBS.jsgcb-fu

2013/2/22 17:12:00 - requesting resource win2008nbu.NBU_POLICY.MAXJOBS.backup_oracle_rmanbak_files

2013/2/22 17:12:00 - granted resource win2008nbu.NBU_CLIENT.MAXJOBS.jsgcb-fu

2013/2/22 17:12:00 - granted resource win2008nbu.NBU_POLICY.MAXJOBS.backup_oracle_rmanbak_files

2013/2/22 17:12:00 - granted resource T724L5

2013/2/22 17:12:00 - granted resource IBM.ULT3580-TD5.000

2013/2/22 17:12:00 - granted resource dbrac02-hcart2-robot-tld-0

2013/2/22 17:12:00 - estimated 0 Kbytes needed

2013/2/22 17:12:00 - Info nbjm(pid=4784) started backup (backupid=jsgcb-fu_1361524320) job for client jsgcb-fu, policy backup_oracle_rmanbak_files, schedule backup_oracle_rmanbak_files on storage unit dbrac02-hcart2-robot-tld-0

2013/2/22 17:12:01 - started process bpbrm (6492)

2013/2/22 17:12:03 - end writing

2013/2/22 17:13:22 - Error bpbrm(pid=6492) bpcd on jsgcb-fu exited with status 59: access to the client was not allowed

access to the client was not allowed(59)

 

解決辦法:

1.  確認各機器名沒錯:檢查hosts文件

2.  檢查bp.conf(各種UNIX,Windows需要改注冊表)

3.  檢查NetBackup Console/Gui Double Click on Host Properties -> Clients -> jsgcb-fu -> Servers:是否有dbrac01, dbrac02 (沒有則加入)

 

2014.07.01 今天在做Oracle11gRAC異機恢復時發現(OracleRestore: 23.22):

2014/7/1 14:53:39 - begin Restore
2014/7/1 14:53:41 - 1 images required
2014/7/1 14:53:41 - media T721L5 required
2014/7/1 14:53:43 - restoring image dbrac02_1404058152
2014/7/1 14:53:47 - requesting resource T721L5
2014/7/1 14:53:49 - granted resource T721L5
2014/7/1 14:53:49 - granted resource IBM.ULT3580-TD5.000
2014/7/1 14:58:13 - Error bpbrm(pid=10728) bpcd on OracleRestore exited with status 59: access to the client was not allowed
2014/7/1 14:58:13 - Info bpbrm(pid=10728) telling media manager to start restore on client     
2014/7/1 14:58:15 - Warning bptm(pid=8204) failure logging message to client OracleRestore in log /C/Program罓Files/Veritas/NetBackup/Logs/user_ops/dbext/logs/1408.0.1404198058:  server not allowed access (46)
2014/7/1 14:58:15 - Error bpbrm(pid=11080) bpcd on OracleRestore exited with status 59: access to the client was not allowed
2014/7/1 14:58:16 - Info bpbrm(pid=11080) listening for client connection         
2014/7/1 14:58:16 - Info bpbrm(pid=10728) child done, status 25         
2014/7/1 14:58:16 - Info bpbrm(pid=10728) sending message to media manager: STOP RESTORE dbrac02_1404058152     
2014/7/1 14:54:46 - restored image dbrac02_1404058152 - (cannot connect on socket(25)); restore time 00:01:03
2014/7/1 14:58:13 - Error bpbrm(pid=10728) bpcd on OracleRestore exited with status 59: access to the client was not allowed
2014/7/1 14:58:13 - Info bpbrm(pid=10728) telling media manager to start restore on client     
2014/7/1 14:58:15 - Warning bptm(pid=8204) failure logging message to client OracleRestore in log /C/Program罓Files/Veritas/NetBackup/Logs/user_ops/dbext/logs/1408.0.1404198058:  server not allowed access (46)
2014/7/1 14:58:15 - Error bpbrm(pid=11080) bpcd on OracleRestore exited with status 59: access to the client was not allowed
2014/7/1 14:58:16 - Info bpbrm(pid=11080) listening for client connection         
2014/7/1 14:58:16 - Info bpbrm(pid=10728) child done, status 25         
2014/7/1 14:58:16 - Info bpbrm(pid=10728) sending message to media manager: STOP RESTORE dbrac02_1404058152     
2014/7/1 14:54:50 - end Restore; elapsed time: 00:01:11
2014/7/1 14:58:13 - Error bpbrm(pid=10728) bpcd on OracleRestore exited with status 59: access to the client was not allowed
2014/7/1 14:58:13 - Info bpbrm(pid=10728) telling media manager to start restore on client     
2014/7/1 14:58:15 - Warning bptm(pid=8204) failure logging message to client OracleRestore in log /C/Program罓Files/Veritas/NetBackup/Logs/user_ops/dbext/logs/1408.0.1404198058:  server not allowed access (46)
2014/7/1 14:58:15 - Error bpbrm(pid=11080) bpcd on OracleRestore exited with status 59: access to the client was not allowed
2014/7/1 14:58:16 - Info bpbrm(pid=11080) listening for client connection         
2014/7/1 14:58:16 - Info bpbrm(pid=10728) child done, status 25         
2014/7/1 14:58:16 - Info bpbrm(pid=10728) sending message to media manager: STOP RESTORE dbrac02_1404058152     
Restore error(2850)

 

在dbrac02上有看到bpcd進程(OracleRestore上同樣看到該進程)執行:

C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd -client OracleRestore

<16>bptestbpcd main: Function ConnectToBPCD(OracleRestore) failed: 46
server not allowed access

 

C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd -client OracleRestore -debug
11:42:45.954 [9468.6708] <2> bptestbpcd: VERBOSE = 0
11:42:45.954 [9468.6708] <2> ConnectionCache::connectAndCache: Acquiring new connection for host win2008nbu, query type 223
11:42:45.985 [9468.6708] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:42:45.985 [9468.6708] <2> logconnections: BPDBM CONNECT FROM aaa.bb.23.12.63176 TO aaa.bb.104.113.1556 fd = 672
11:42:45.985 [9468.6708] <8> vnet_check_vxss_client_magic_with_info: [vnet_vxss_helper.c:871] Ignoring VxSS authentication 2 0x2
11:42:46.017 [9468.6708] <2> db_CLIENTsend: reset client protocol version from 0 to 8
11:42:46.266 [9468.6708] <2> db_end: Need to collect reply
11:42:46.266 [9468.6708] <2> db_freeEXDB_INFO: ?
11:42:46.297 [9468.6708] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:42:46.313 [9468.6708] <2> logconnections: BPCD CONNECT FROM aaa.bb.23.17.63177 TO aaa.bb.23.22.1556 fd = 672
11:42:46.344 [9468.6708] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:42:46.360 [9468.6708] <8> do_pbx_service: [vnet_connect.c:2108] via PBX VNETD CONNECT FROM aaa.bb.23.17.63178 TO aaa.bb.23.22.1556 fd = 696
11:42:46.360 [9468.6708] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:443] VN_REQUEST_CONNECT_FORWARD_SOCKET 10 0xa
11:42:46.547 [9468.6708] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:460] ipc_string 60890
11:42:46.984 [9468.6708] <2> ConnectToBPCD: bpcd_connect_and_verify(OracleRestore, OracleRestore) failed: 46
<16>bptestbpcd main: Function ConnectToBPCD(OracleRestore) failed: 46
11:42:46.984 [9468.6708] <16> bptestbpcd main: Function ConnectToBPCD(OracleRestore) failed: 46
<2>bptestbpcd: server not allowed access
11:42:46.984 [9468.6708] <2> bptestbpcd: server not allowed access
<2>bptestbpcd: EXIT status = 46
11:42:46.984 [9468.6708] <2> bptestbpcd: EXIT status = 46
server not allowed access

aaa.bb.23.17 是OracleRAC的scan地址,在OracleRestore上安裝NBU Client時並未指定該scan地址加入Additional Server,參照上面的辦法將dbrac-scan加入Server項中

或HKLM\Software\Veritas\Netbackup\CurrentVersion\Config下的Server項增加dbrac-scan(每個Server一行,同時也在hosts文件中增加對應解析項)可以解決。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM