cancel
Showing results for 
Search instead for 
Did you mean: 

Help bpexpdate

Nathan_Kippen
Level 6
Certified
Here's the log:


07:53:35.525 <2> get_stunit_primary_hname: gethostbyname failed for oldhost: HOST_NOT_FOUND (1)
07:53:44.726 <2> bperror: INITIATING: version NetBackup 5.1 created: 2005081402
07:53:44.726 <2> logparams: -l -problems -X -d 1147873953 -e 1147960424 -client someclient -M myserver
07:53:44.767 <2> logconnections: BPDBM CONNECT FROM xxx.xxx.38.250.55219 TO xxx.xxx.38.250.13721
07:53:45.727 <2> bperror: EXIT status = 0
07:53:46.807 <16> compare_list_to_fragments: Host oldhost not found for at least one fragment, -deassignempty operation terminated
07:53:46.808 <16> check_for_empty_media: Could not update media list, host is unreachable
07:53:46.809 <16> bpexpdate: host is unreachable
07:53:46.809 <2> bpexpdate: EXIT status = 47



It appears that its trying to query/check an old server name that doesn't exist anymore. Anybody know how to resolve this?
4 REPLIES 4

Nathan_Kippen
Level 6
Certified
I was told that to solve this problem I had to do remove the the tapes that are associated with the oldhost from the Netbackup DB by issuing a vmquery -deassignbyid command ...


however the tapes have multiple images on them from different hosts ... so would going into the catalog gui and expiring the oldhost's images work?

Chia_Tan_Beng
Level 6
Try reading this document first
http://support.veritas.com/docs/247898

It may not exactly applicable to your scenario but I think is helpful in your case.

Nathan_Kippen
Level 6
Certified
For future reference ...

The error that I was getting was being caused because the images belonged to a media server that no longer existed.

In order to solve the problem with bpexpdate I had to run bpimage -newserver -oldserver to update the image files.

Another solution that I was given by Veritas was to add the following line to the vm.conf file:

RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL

If you add this to your vm.conf then all tapes will return to scratch pool no matter their original pool after they expire.

(You have to restart netbackup for this to take affect.)

nk

Stumpr2
Level 6
Nathan,

I wish I could reward you with some points!

RETURN_UNASSIGNED_MEDIA_TO_SCRATCH_POOL


thank you for posting this.
Stumpr