Code 14
Code 14
Status Code 14: Status 14 (file write failed) occurs when updating host properties on a Windows 2008 Master Server
Error
unable to save data on some hosts. An error occured on host The error is "file write failed (14)"
Solution
Overview: Status 14 (file write failed) occurs when updating host properties on a Windows 2008 Master Server
Workaround: This has been seen in cases where User Account Control (UAC) is enabled under Control Panel User Accounts. This causes a logged in Administrator to run all programs with User-Level rights as opposed to Administrator-Level rights unless the user specifically requests to run an application with Administrator rights.
There are three workarounds: 1) If User Account Control is not required, disabling it may allow the host properties update to complete. This can present a risk to the OS and needs to be evaluated by the appropriate Windows Administrator.
2) In the short-term, to avoid this problem, you can manually launch the NetBackup Administration Console with Administrator rights by rt-clicking on the icon and selecting "Run as administrator").
3) For long-term use, you can change the short-cut icon to always launch with Administrator rights by rt-clicking on it, selecting Properties > Shortcut > Advanced and place a check in the box next to "Run as administrator".
Problem
catalog backup failed: status code 14
Solution
Overview: To facilitate disaster recovery, it is advantageous to configure the hot catalog backup policy to save a DR file at backup time for use at recovery time. If the specified location is not accessible at the time of the catalog backup, the DR file will not be saved and the backup will exit with status 14. Troubleshooting: The job details for the parent job shows this message.
begin catalog backup: database manager query operation status: 14
Resolution: 1) Inspect the hot catalog backup policy and review the pathname to which the disaster recovery file is to be written. 2) Verify that the destination is a directory, that the directory exists, and that processes can 'change directory' to the path and that the directory allows search, read, and write operations. In this instance, the directory existed but did not allow search or write permissions.
Problem
NDMP backups are failing with status 174 (media manager - system error occurred) reported. Status code 14 (file write failed) can also be seen in logs.
Solution
Issue: backup: bptm error: exits status code 174.
03/29/08 03:44:38.300 V-134-19 [NdmpAgent::SetErrorAndHalt] ConnectionToBrm.cpp(209) - error code 14 (file write failed) 03/29/08 03:44:38.301 [Error] V-134-112 FH send to BRM failed - Ddi - 0 0 0 0 764210 0 0 21 764208 Port_grp_name_add.htm 03/29/08 03:44:39.298 [XmServerTape::PassMessageAndReply] attempting tape access when NAS server may be accessing it. message = 769 (NDMP_TAPE_CLOSE) 03/29/08 03:44:39.732 [Error] V-134-32 NDMP backup failed, path = /vol/vol0 03/29/08 03:44:40.421 [NdmpGlueLogCb] myhost: NDMP_LOG_NORMAL 0 DUMP: dumping (Pass IV) [regular files] 03/29/08 03:44:45.992 [NdmpGlueLogCb] myhost: NDMP_LOG_NORMAL 0 Aborted by client 03/29/08 03:44:45.992 [NdmpGlueLogCb] ndmp_wait_for_msg: notify_data_halted already arrived
It was discovered that the touch file MAX_FILES_PER_ADD had been created on the media server, but did not include a value:
# cat MAX_FILES_PER_ADD #
Resolution: The MAX_FILES_PER_ADD file was removed so that the default value (5000) was used. This allowed NDMP backups to succeed.
# rm /usr/openv/netbackup/MAX_FILES_PER_ADD