There is two server in my test environment, one is a real server with NetBackup Master & Media Server installed, another is a VM with NetBackup client.
My purpose is to test backup of Oracle DB on client in two ways:
a) Create script or specify backup path on Master server and run it with policy on master server;
b) Backup from client, Files or DB backups should be automanticly backed up to specified path on the Master Server.
Then I come to the problems:
1. I can do file backup with both method a and method b;
2. I can do Oracle backup only method a, but the backups of Oracle only locate on client, nothing on Master Server;
3. When I do Backup of Oracle on client, there is nothing in task progress list, and I checkout the logs under bpdbsora, there is always see the belowing ...
bpdbsora logs:
---------------------------------------------------------------------- split line ------------------------------------------------------------------------------
***************** FINISHED LOGGING RMAN INPUT *****************
11:02:23.682 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:23.682 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.10347 TO 10.10.12.252.1556 fd = 6
11:02:23.724 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:23.724 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
11:02:23.729 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:23.730 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.52925 TO 10.10.12.252.1556 fd = 6
11:02:23.768 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:23.768 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
11:02:23.769 [7120] <2> Run_cmd():
***************** BEGIN LOGGING RMAN OUTPUT *****************
11:02:23.772 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:23.772 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.64015 TO 10.10.12.252.1556 fd = 5
11:02:23.812 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:23.812 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
恢复管理器: Release 11.2.0.1.0 - Production on 星期四 11月 28 11:02:24 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12546: TNS: 权限被拒绝
恢复管理器完成。
11:02:25.525 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:25.525 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.49484 TO 10.10.12.252.1556 fd = 5
11:02:25.594 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:25.595 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
11:02:25.595 [7120] <2> Run_cmd():
***************** FINISHED LOGGING RMAN OUTPUT *****************
11:02:25.597 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:25.597 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.32957 TO 10.10.12.252.1556 fd = 5
11:02:25.650 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:25.650 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
11:02:25.651 [7120] <16> Run_rman_cmd(): error occured while trying to execute command </home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/rman target / nocatalog>
11:02:25.651 [7120] <16> RMAN_ExecTemplate(): Run_rman_cmd() failed
11:02:25.655 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:25.655 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.34386 TO 10.10.12.252.1556 fd = 4
11:02:25.694 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:25.694 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
11:02:25.696 [7120] <2> vnet_pbxConnect: pbxConnectEx Succeeded
11:02:25.697 [7120] <2> logconnections: BPRD CONNECT FROM 10.10.15.198.31016 TO 10.10.12.252.1556 fd = 4
11:02:25.739 [7120] <16> writeToServer: ERR - send() to server on socket failed: 错误的文件描述符 (9)
11:02:25.739 [7120] <16> dbc_RemoteWriteFile: ERR - could not write progress status message to the NAME socket
11:02:25.739 [7120] <16> main bpdbsbora: Error in call to DBSB_ExecTemplate()
11:02:25.739 [7120] <16> main bpdbsbora: Could not execute /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/rman target / nocatalog
11:02:25.739 [7120] <16> main bpdbsbora: Exited with status <1>
------------------------------------------------------- split line --------------------------------------------------------