Forum Discussion

bcsupport's avatar
bcsupport
Level 4
3 years ago
Solved

Missing nbstlutil

I tried to cancel a SLP job utilizing the Nnbstlutil, but the file size is showing 0.  Is there a way to copy the utility from a media server to the master server?

  •  

    Ok

    • login to new appliance clish
    • go to support -> maintenance and from CLI run elevate command
    • copy the binaries to logs directory
      cp /usr/openv/netbackup/bin/admincmd/nbstlutil /usr/openv/netbackup/logs/
      cp /usr/openv/netbackup/bin/admincmd/bpimmedia /usr/openv/netbackup/logs/
    • from clish go to support -> logs -> share open
    • open a windows explorer and go to
      \\appliance IP\logs\NBU\log\netbackup
    • copy the binaries to your PC. If you get access denied, you have to change the owner of the files to admin (at the log directory
      chown admin /usr/openv/netbackup/logs/bpimmedia
      chown admin /usr/openv/netbackup/logs/nbstlutil )
    • close the share (share close )

     

    • log in to the "failed" appliance clish
    • go to manage -> software ->share open
    • open a windows explorer and go to /inst/patch/incoming/
    • copy the binaries to the appliance
    • close the share (share close )
    • go to support -> maintenance and form CLI run elevate command
    • delete the corrupted files
      rm  /usr/openv/netbackup/bin/admincmd/nbstlutil
      rm  /usr/openv/netbackup/bin/admincmd/bpimmedia
    • copy the new files
      mv /inst/patch/incoming/nbstlutil  /usr/openv/netbackup/bin/admincmd/
      mv /inst/patch/incoming/bpimmedia  /usr/openv/netbackup/bin/admincmd/
    • check the file permissions and owner and change them if needed
      the properties must be
      -r-xr-xr-x 1 root bin 
      if not change the owner  
      chown root:bin /usr/openv/netbackup/bin/admincmd/bpimmedia  
      chown root:bin /usr/openv/netbackup/bin/admincmd/nbstlutil  
      and permissions
      chmod 555 /usr/openv/netbackup/bin/admincmd/bpimmedia  
      chmod 555 /usr/openv/netbackup/bin/admincmd/nbstlutil 

    Read it twice, understand it, double check it and test it
    I have test the procedure, except the file replace as I have only working appliances.

    You can do it at your own risk. I'm NOT responsible for any problem you may cause

     

     

     

  •  

    Ok

    • login to new appliance clish
    • go to support -> maintenance and from CLI run elevate command
    • copy the binaries to logs directory
      cp /usr/openv/netbackup/bin/admincmd/nbstlutil /usr/openv/netbackup/logs/
      cp /usr/openv/netbackup/bin/admincmd/bpimmedia /usr/openv/netbackup/logs/
    • from clish go to support -> logs -> share open
    • open a windows explorer and go to
      \\appliance IP\logs\NBU\log\netbackup
    • copy the binaries to your PC. If you get access denied, you have to change the owner of the files to admin (at the log directory
      chown admin /usr/openv/netbackup/logs/bpimmedia
      chown admin /usr/openv/netbackup/logs/nbstlutil )
    • close the share (share close )

     

    • log in to the "failed" appliance clish
    • go to manage -> software ->share open
    • open a windows explorer and go to /inst/patch/incoming/
    • copy the binaries to the appliance
    • close the share (share close )
    • go to support -> maintenance and form CLI run elevate command
    • delete the corrupted files
      rm  /usr/openv/netbackup/bin/admincmd/nbstlutil
      rm  /usr/openv/netbackup/bin/admincmd/bpimmedia
    • copy the new files
      mv /inst/patch/incoming/nbstlutil  /usr/openv/netbackup/bin/admincmd/
      mv /inst/patch/incoming/bpimmedia  /usr/openv/netbackup/bin/admincmd/
    • check the file permissions and owner and change them if needed
      the properties must be
      -r-xr-xr-x 1 root bin 
      if not change the owner  
      chown root:bin /usr/openv/netbackup/bin/admincmd/bpimmedia  
      chown root:bin /usr/openv/netbackup/bin/admincmd/nbstlutil  
      and permissions
      chmod 555 /usr/openv/netbackup/bin/admincmd/bpimmedia  
      chmod 555 /usr/openv/netbackup/bin/admincmd/nbstlutil 

    Read it twice, understand it, double check it and test it
    I have test the procedure, except the file replace as I have only working appliances.

    You can do it at your own risk. I'm NOT responsible for any problem you may cause

     

     

     

  • if it is the same version, yes you can copy it.

    Else you can install a master server (same version) to a VM and get it from there.

    But ....
    Is your problem only with nbstlutil or you have other binaries corrupted?

  • The bpimmedia binary is also showing 0 bytes.  How would I go about copying it from one appliance to another?

  • I can think a way, but I suggest you to open a case to veritas support.
    If you do know know how this happen, it is possible that other files are corrupted

  • Our veritas support ended last week for our version(3.1.2, netbackup 8.1.2), so Veritas will not help with technical support.  Everything is running properly, and it appears that those two file are the only one affected.  We are going to be upgrading very soon but until then, this job just keeps running and is impacting our jobs going to tape.

  • if your appliances are in the same netbackup domain, you can backup the files from the "working" appliance and restore them to the failed.
    If the appliance does not allow you to do an override restore, restore them to the /tmp and move them using elevated CLI.

    If your appliances are in different netbackup domain, post it and I will try to help you. 

  • It is actually a media server that is not on our domain, it was in the process of being added when my predecessor left and I took over his position.  So it is the same appliance and version of netbackup and it does have a good copy of the nbstlutility and bpimmedia.

     

  • I got it successfully copied from the media server to the master server and permissions changed!  

    Do i need to suspend secondary operations to cancel the SLP job that is in process or can i just cancel it?

     

  • Nevermind, I got it cancelled!  You are a genius my man!  StefanosM should = level 100