10-26-2009 01:42 AM
Product: VERSION: 6.0,REV=2005.09.07.19.13
We are facing problem in Netbackup on tape drive, following is snap of logs from BPTM process , kindly syggest what could be the reason for it.
Thanks in Advance.
--------------------------------------
Customer detects an error with the catalog for Netbackup, it shows error in BPTM process.
Note: Kindly see the logs/screenshot attached
Following is the error snippet in bptm logs
----------------------------------------------------------
00:08:03.742 [2276] <16> deassign_media: (-) Translating EMM_ERROR_MediaAllocated(2001049) to 97 in the NetBackup context
00:08:03.753 [2276] <2> db_error_add_to_file: dberrorq.c:midnite = 1255809600
00:08:03.767 [2276] <16> deassign_media: Media Manager error 97, rule does not exist in rule database, host = TE1-A
00:08:03.767 [2276] <2> db_error_add_to_file: dberrorq.c:midnite = 1255809600
00:08:03.779 [2276] <16> deassign_media: Media Manager could not deassign media id A00257, retaining it in NetBackup database
00:08:03.784 [2276] <2> bptm: EXITING with status 177 <----------
02:47:06.295 [8901] <2> bptm: EMMserver_name = TE1-A
02:47:06.295 [8901] <2> bptm: EMMserver_port = 1556
02:47:06.794 [8901] <2> VssGetFQDNHostName: vss_auth.cpp.3984: Function: VssGetFQDNHostName. Search name
02:47:06.795 [8901] <2> VssGetFQDNHostName: vss_auth.cpp.3984: Function: VssGetFQDNHostName. Search name TE1-A
02:47:06.795 [8901] <2> VssGetFQDNHostName: vss_auth.cpp.4322: Function: VssGetFQDNHostName. Match te1-a.etisalat.com
02:47:06.898 [8901] <16> delete_expired_media: (-) Translating EMM_ERROR_DBServerDown(4005006) to 220 in the NetBackup context
02:47:06.909 [8901] <2> bptm: EXITING with status 220 <----------
02:47:52.964 [9030] <2> bptm: INITIATING (VERBOSE = 1): -rptdrv -jobid -1255718320 -jm
02:47:52.964 [9014] <2> bptm: INITIATING (VERBOSE = 1): -unload -dn TE1-A-4mm -dp /dev/rmt/0cbn -dk 2000003 -m A00257 -mk 4000027 -mds 1 -alocid 83 -jobid -1255718319 -jm
02:47:52.983 [9014] <2> bptm: EMMserver_name = TE1-A
02:47:52.983 [9014] <2> bptm: EMMserver_port = 1556
02:47:52.984 [9030] <2> bptm: EMMserver_name = TE1-A
02:47:52.984 [9030] <2> bptm: EMMserver_port = 1556
02:47:52.986 [9014] <2> send_brm_msg: PID of bpxm = 9014
02:47:52.986 [9014] <2> nbjm_media_request: Passing job control to NBJM, type UNLOAD
02:47:52.998 [9030] <2> drivename_open: Called with Create 0, file TE1-A-4mm
02:47:52.998 [9030] <2> drivename_checklock: Called
02:47:53.010 [9030] <2> report_drives: MODE = 0
02:47:53.010 [9030] <2> report_drives: TIME = 1255803005
02:47:53.010 [9030] <2> report_drives: MASTER = TE1-A
02:47:53.010 [9030] <2> report_drives: PATH = /dev/rmt/0cbn
02:47:53.010 [9030] <2> report_drives: MEDIA = A00257
02:47:53.010 [9030] <2> report_drives: REQID = -1255718290
02:47:53.010 [9030] <2> report_drives: ALOCID = 83
02:47:53.010 [9030] <2> report_drives: PID = 27501
02:47:53.010 [9030] <2> report_drives: FILE = /usr/openv/netbackup/db/media/tpreq/drive_TE1-A-4mm
02:47:53.011 [9030] <2> main: Sending [EXIT STATUS 0] to NBJM
02:47:53.011 [9030] <2> bptm: EXITING with status 0 <----------
02:47:53.179 [9014] <2> VssGetFQDNHostName: vss_auth.cpp.3984: Function: VssGetFQDNHostName. Search name
02:47:53.180 [9014] <2> VssGetFQDNHostName: vss_auth.cpp.3984: Function: VssGetFQDNHostName. Search name TE1-A
02:47:53.180 [9014] <2> VssGetFQDNHostName: vss_auth.cpp.4322: Function: VssGetFQDNHostName. Match te1-a.etisalat.com
02:47:53.204 [9014] <2> taolog: can't register signal handler
02:47:55.312 [9014] <2> RequestMultipleResources: returning
---------------------------------------
00:07:03.548 [7435] <16> delete_image: (-) Translating EMM_ERROR_MediaNotFound(2005031) to 95 in the NetBackup context
00:07:03.557 [7435] <2> bptm: EXITING with status 95 <----------
00:08:03.711 [7524] <2> bptm: INITIATING (VERBOSE = 1): -change_exp_date -ev A00256 -date 0
00:08:03.719 [7524] <2> bptm: EMMserver_name = TE1-A
00:08:03.719 [7524] <2> bptm: EMMserver_port = 1556
00:08:03.795 [7524] <2> VssGetFQDNHostName: vss_auth.cpp.3984: Function: VssGetFQDNHostName. Search name
00:08:03.796 [7524] <2> VssGetFQDNHostName: vss_auth.cpp.3984: Function: VssGetFQDNHostName. Search name TE1-A
00:08:03.796 [7524] <2> VssGetFQDNHostName: vss_auth.cpp.4322: Function: VssGetFQDNHostName. Match te1-a.etisalat.com
00:08:03.850 [7524] <16> deassign_media: (-) Translating EMM_ERROR_MediaAllocated(2001049) to 97 in the NetBackup context
00:08:03.859 [7524] <2> db_error_add_to_file: dberrorq.c:midnite = 1255723200
00:08:03.877 [7524] <16> deassign_media: Media Manager error 97, rule does not exist in rule database, host = TE1-A
00:08:03.877 [7524] <2> db_error_add_to_file: dberrorq.c:midnite = 1255723200
00:08:03.889 [7524] <16> deassign_media: Media Manager could not deassign media id A00256, retaining it in NetBackup database
00:08:03.895 [7524] <2> bptm: EXITING with status 177 <----------
Solved! Go to Solution.
11-19-2009 04:20 AM
10-26-2009 02:55 AM
10-26-2009 03:29 AM
10-26-2009 06:06 AM
10-27-2009 03:01 AM
10-27-2009 09:50 PM
Hello Marianne,
I really appreciate your kind help for this case and clearly mentioning the reason for all errors code received for the case.
Yes you are right the version is 6.0 for NetBackup
[root]TE1-A# pkginfo | grep -i netback
application VRTSnetbp VERITAS NetBackup and Media Manager
[root]TE1-A# pkginfo -l VRTSnetbp
PKGINST: VRTSnetbp
NAME: VERITAS NetBackup and Media Manager
CATEGORY: application,tools
ARCH: sparc
VERSION: 6.0,REV=2005.09.07.19.13
BASEDIR: /opt
VENDOR: VERITAS Software Corporation
DESC: NetBackup provides backup and restore services for client systems a
nager has device and media management components for handling tapes drives, opti
PSTAMP: code20050907191337
INSTDATE: Aug 30 2009 13:28
HOTLINE: Please contact your local service provider.
STATUS: completely installed
FILES: 946 installed pathnames
90 directories
409 executables
898202 blocks used (approx)
10-27-2009 11:29 PM
10-28-2009 01:21 AM
Hello Gavrilov,
Thanks for help!
Are these commands read only? In fact we can only execute readonly commnad on the system, and rest we have to request to execute on the system.
I can find only bpsyncinfo & vxlogview. kindly help me with exact syntax for these commnds
bash-3.00# find . -name bpsyncinfo
./bin/admincmd/bpsyncinfo
bash-3.00# find . -name vmrule
bash-3.00# find . -name vmquery
bash-3.00# find . -name vxlogview
./bin/vxlogview
Thanks for your help!
Regards
erasyad
10-28-2009 02:15 AM
10-28-2009 03:48 AM
10-28-2009 04:32 AM
"NetBackup catalog failing VER 6.0", In the post you say "We are facing problem in Netbackup on tape drive" and then you attach bptm log that doesn't explain what your actual problem is. Every single error in bptm that you highlighted is from a different job/process.
If we understand what the real problem is, we can provide more useful assistance.
10-28-2009 05:25 AM
10-28-2009 09:11 PM
10-29-2009 12:22 AM
10-29-2009 01:39 AM
10-29-2009 02:16 AM
10-29-2009 03:00 AM
10-29-2009 03:44 AM
11-02-2009 11:45 PM
Kindly see the output of commands
bash-3.00# /usr/openv/netbackup/bin/admincmd/bpsyncinfo
Frequency of Offline Catalog Backup: after any successful backup/archive
Server: TE1-A
Sequence # 1 Last Media Used: /var/opt/BGw/Backupdg/Netbackup/Catalog_Backup
Written Allocated Type Density Media
------------------- ------------------- ---- ------- -----
1 11/01/2009 15:34:13 n/a Disk "/var/opt/BGw/Backupdg/Netbackup/Catalog_Backup"
2 10/31/2009 09:05:22 n/a Disk "/netbackup_catalog"
Paths Included:
/usr/openv/netbackup/db
/usr/openv/volmgr/database
/usr/openv/var
TE1-A:NETBACKUP_RELATIONAL_DATABASE_FILES
bash-3.00# /usr/openv/volmgr/bin/vmrule -listall
===================================================================
bash-3.00#
bash-3.00# /usr/openv/volmgr/bin/vmrule -listall
===================================================================
bash-3.00# /usr/openv/volmgr/bin/vmquery -pn CatalogBackup -bx
media media robot robot robot side/ volume optical # mounts/ last assigned pool
ID type type # slot face group partner cleanings mount time time
---------------------------------------------------------------------------------------------------------------------------
bash-3.00#
Thanks & regards
erasyad
11-03-2009 02:37 PM
Written Allocated Type Density Media ------------------- ------------------- ---- ------- ----- 1 11/01/2009 15:34:13 n/a Disk "/var/opt/BGw/Backupdg/Netbackup/Catalog_Backup" 2 10/31/2009 09:05:22 n/a Disk "/netbackup_catalog"
Another step should be put VERBOSE into bottom of vm.conf
create:
/usr/openv/volmgr/debug/ltid
/usr/openv/volmgr/debug/reqlib
/usr/openv/volmgr/debug/tpcommand
and restart ltid.
rerun affected policy and check logs.
You should ensure does only one policy affected or all policies. if only one - check volume pool for it. If all it can be drive issue.
You should check how many tapes affected. If only one - freez it any monitor job's logs.