使用Symantec Backup Exec將幾台Linux伺服器上的RMAN備份收帶時,偶爾會遇到作業備份失敗的情況,檢查Job History,就會發現有“Access denied to directory u05/backup/backupsets" 這類錯誤,當然實際路徑為/u05/bac ...
使用Symantec Backup Exec將幾台Linux伺服器上的RMAN備份收帶時,偶爾會遇到作業備份失敗的情況,檢查Job History,就會發現有“Access denied to directory u05/backup/backupsets" 這類錯誤,當然實際路徑為/u05/backup/backupsets. 另外錯誤代碼為E0008488
在官方文檔" Troubleshooting error "Access is denied" with Backup Exec Remote Agent for Linux/UNIX server (RALUS) backups"這篇文章有下麵介紹:
Problem
Troubleshooting error "Access is denied" with Backup Exec Remote Agent for Linux/UNIX server (RALUS) backups.
Error Message
V-79-57344-33928 - Access is denied
or
Error in the job log
Backup -\\<linuxservername>\[ROOT]
V-79-57344-33928 - Access is denied
Access denied to directory home/jdoering/.
V-79-57344-33928 - Access is denied
or
Final error: 0xe0008488 - Access is denied.
Error in the job log
Backup - $$testlab.veritas.com $ [ROOT]
V-79-57344-33928 - Access is denied
Access denied to file p01/orabackup/devp/u01/control01.ctl
V-79-57344-33928 - Access is denied
Solution
The error 0xe0008488 - Access is denied can occur due to following issues with RALUS:
- The Backup Exec Remote Agent for Linux/UNIX Servers is unable to browse directories on remote Linux/UNIX computers with filenames containing non EUC encoded characters.
- Job Fails with "V-79-57344-33928 - Access is Denied" on few folders on SUSE Enterprise Linux 11.
- 0xe0008488 - Access is denied when a backup up of Solaris Snapshot Volume runs.
- The Backup Exec Remote Agent for Linux/UNIX Servers is unable to browse directories on remote Linux/UNIX computers with filenames containing non EUC encoded characters.
The above error occurs because Backup Exec is unable to read the characters in the UNIX/Linux file system that are non EUC encoded. EUC (Extended Unix Code) is a multi byte encoding standard used to represent large Asian character sets.
As a workaround, the Backup Exec Remote Agent for Linux and UNIX Servers (RALUS) config file can be edited so that Backup Exec will override the agent's localization detection and cause it to use an encoding that should allow the Unicode characters to be translated correctly. Perform the following at the remote Linux/UNIX computer:
- Stop the RALUS by executing the command /etc/init.d/VRTSralus.init stop
- The configuration file of the RALUS is ralus.cfg, located in the path /etc/VRTSralus on the remote UNIX/Linux server.
- Open ralus.cfg in a text editor such as vi and locate the following line:
Software\VERITAS\Backup Exec\Engine\RALUS\Encoder=
- Add the following to the above line: LATIN-1. The new line should like this:
- Software\VERITAS\Backup Exec\Engine\RALUS\Encoder=LATIN-1
- Execute the command /etc/init.d/VRTSralus.init start to start the RALUS on the remote Linux/UNIX server.
- Job Fails with "V-79-57344-33928 - Access is Denied" on few folders on SUSE Enterprise Linux 11.
Issue is caused if the customer is or was using GNOME Desktop and has mounted the .gvfs directory in the folder
- Unmount the .GVFS Directory Mount from the folder
Note: GVFS is the virtual filesystem for the GNOME desktop.
- 0xe0008488 - Access is denied when a backup up of Solaris Snapshot Volume runs.
As a workaround, the Backup Exec Remote Agent for Linux and UNIX Servers (RALUS) needs to be restarted after the snapshot has been mounted.
Terms of use for this information are found in Legal Notices.
那麼我們來分析一下Symantec Backup Exec 報“Access is denied”錯誤的幾種原因
1:The Backup Exec Remote Agent for Linux/UNIX Servers is unable to browse directories on remote Linux/UNIX computers with filenames containing non EUC encoded characters.
目錄/u05/backup/backupsets/,以及/u05/backup/backupsets/下的所有文件名稱均不包含非EUC編碼字元。也沒有使用任何中文字元。那麼這個原因可以排除。
2: Job Fails with "V-79-57344-33928 - Access is Denied" on few folders on SUSE Enterprise Linux 11.
我們系統版本為Red Hat Enterprise Linux Server release 5.7 ,不是SUSE企業版本. 但是報的錯誤信息“V-79-57344-33928 - Access is Denied”跟文檔一模一樣。 另外桌面系統也確實為gnome,但是找了一下沒有找到掛載.gvfs目錄。
3:0xe0008488 - Access is denied when a backup up of Solaris Snapshot Volume runs.
As a workaround, the Backup Exec Remote Agent for Linux and UNIX Servers (RALUS) needs to be restarted after the snapshot has been mounted.
關於這個我們這幾台確實都設置了Snapshot Volume.因為DR方案使用了paltespin進行複製。看來很有可能就是這個原因造成的。
參考資料:
https://www.veritas.com/support/en_US/article.TECH38357