今天在做備份時發現了這個報錯。經過ping, nslookup, bpclntcmd命令檢查沒有發現連接或域名解析存在問題。
參考文檔http://www.symantec.com/docs/TECH59927,在檢查時發現/use/openv/netbackup/db/client/<client_name>目錄下存在一個名為fi_info.<client_backup_policy>.class的文件,而並不存在名為host_info的文件或目錄。為了安全起見,我沒有直接刪除<client_name>這個目錄,而是做了重命名。
mv /use/openv/netbackup/db/client/<client_name> /use/openv/netbackup/db/client/<client_name_bk>
然后重新執行備份,備份成功完成。
附參考文檔:http://www.symantec.com/docs/TECH59927
Problem
STATUS CODE 48: Backups of a UNIX client fail with a NetBackup Status Code 48 (client hostname could not be found), but hostname lookup and DNS issues are not the problem
Error
client hostname could not be found
Solution
Overview:
A NetBackup client backup fails with NetBackup Status Code 48 (client hostname could not be found), even when no hostname lookup issues exist. Traditional troubleshooting techniques using bpclntcmd, bptestbpcd, telnet, ping, nslookup, all show good connectivity and name resolution. Other clients are backing up correctly.
Troubleshooting:
Review the contents of the /usr/openv/netbackup/db/client/<client_name> directory on the master server.
This directory should contain client attribute information, and by default is not present under the db/clientdirectory. Client attributes may be added under the master server host properties in the NetBackup Administration Console, or by command line using the bpclient command. When client attributes are set correctly, the <client_name> directory should contain the client attributes in a subdirectory called host_info.
Log files:
The bpbrm log file shows the following:
18:02:08.516 [21626] <2> verify_client: bpbrm.c.32914: Could not find a host name for DHCP client: <client_name>
18:02:08.516 [21626] <2> bpbrm process_start_backup_msg: bpbrm.c.11705: verify_client failed: 48 48 0x00000030
Resolution:
The above symptoms and error messages are seen if the/usr/openv/netbackup/db/client/<client_name> directory on the master server does not contain any client attribute information, or contains otherwise corrupt information.
If the client directory is empty, the directory may be removed manually in one of three ways:
1. Using the rm -r command.
2. Using the NetBackup Administration Console to remove the client from the client attributes in the master server host properties.
3. By running bpclient -client <client_name> -delete. If the client directory is not empty, the directory may be renamed to eliminate any data corruption as the cause of the issue.