bpbackup exit code 12 (file open failed)

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

bpbackup exit code 12 (file open failed)

Post by cah »

While trying to back up on the server with NetBackup command bpbackup, I got an error:

Code: Select all

# /usr/openv/netbackup/bin/bpbackup -w -L /laxm1311/logs/progress.log /laxm1311/oracle/PRD/12102
EXIT STATUS 12: file open failed
It happened only when I was trying to write to /laxm1311/logs. If the log file resides in /tmp, it would work fine.

It turned out I have to add the directory to BPCD_WHITELIST_PATH in bp.conf.

Code: Select all

BPCD_WHITELIST_PATH = /laxm1361/logs
BPCD_WHITELIST_PATH = /laxm1311/logs
BPCD_WHITELIST_PATH = /laxm1321/logs
BPCD_WHITELIST_PATH = /laxm1341/logs
Each directory needs to be specified in a separate line in bp.conf.

After adding BPCD_WHITELIST_PATH , I was able to issue the bpbackup command successfully.
CAH, The Great
Post Reply