Forum Discussion

albatroz19's avatar
albatroz19
Level 5
2 years ago

Netbackup 10 primary server nbrepo errors

Hi,

i try to add sja package in order to install EBB on primary server, but command nbrepo -a fails with this error:

[root@nbprimary tmp]# /usr/openv/netbackup/bin/admincmd/nbrepo -a nbeeb.client_4091698.1_8.3.0.1_redhat_x64.sja
Adding package to the repository. This may take a few minutes...
Error: Package already exists in the repository.

If i try nbrepo -l, it not show package eventually "before" added.

Please someone may help me?

Thanks and Regards

  • Hi albatroz19 

    Check the folder on the server - /usr/openv/var/global/repo - and see if the file exists there - assuming it does not, try copying the sja file directly to this folder and try the "nbrepo -l" command again. It's possible that the repository DB has become confused as to the installation status (it thinks it is, but the file does not exist). This can happen if someone tries to add the same sja file into the repository when it already exists.

    You can also check the nbrepo log files (you may need to create the directory nbrepo first) which should give you more clues (especially with increased verbosity). 

    Cheers
    David

  • Hi albatroz19 

    Didn't I sugest manually copying the sja file directly into the repo directory? I do not see the redhat version listed in the output provided. I'll repeat copy the sja file directly to the repo directory, then run the "nbrepo -l" command - do not try to add the file again.

    Cheers
    David

4 Replies

  • Hi albatroz19 

    Check the folder on the server - /usr/openv/var/global/repo - and see if the file exists there - assuming it does not, try copying the sja file directly to this folder and try the "nbrepo -l" command again. It's possible that the repository DB has become confused as to the installation status (it thinks it is, but the file does not exist). This can happen if someone tries to add the same sja file into the repository when it already exists.

    You can also check the nbrepo log files (you may need to create the directory nbrepo first) which should give you more clues (especially with increased verbosity). 

    Cheers
    David

    • albatroz19's avatar
      albatroz19
      Level 5

      Hi,
      verified like your suggestion, the package not result present and if retry addition on repo, the problem persist:

      [root@nbprimary A1623279]# cd /usr/openv/var/global/repo
      [root@nbprimary repo]# ls
      mongotc_10.0.0.1_redhat_x64.sja nbinstallagent_10.0.0.1_redhat_x64.sja nbproxyagent_10.0.0.1_redhat_x64.sja
      mongotc_10.0.0.1_suse_x64.sja nbinstallagent_10.0.0.1_suse_x64.sja nbproxyagent_10.0.0.1_suse_x64.sja
      nbclient_10.0.0.1_redhat_x64.sja nbinstallagent_10.0.0.1_windows_x64.sja nbproxyagent_10.0.0.1_windows_x64.sja
      nbclient_10.0.0.1_suse_x64.sja nbinstallagent_8.2_suse_x64.sja nbrt_10.0.0.1_redhat_x64.sja
      nbclient_10.0.0.1_windows_x64.sja nbjavajre_10.0.0.1_redhat_x64.sja nbrt_10.0.0.1_suse_x64.sja
      nbclient_8.2_suse_x64.sja nbjavajre_10.0.0.1_suse_x64.sja nbrt_10.0.0.1_windows_x64.sja
      nbeeb_4091698.1_8.3.0.1_windows_x64.sja nbjavajre_10.0.0.1_windows_x64.sja nbrt_8.2_suse_x64.sja
      nbeeb.client_4086374.1_10.0.0.1_debian_x64.sja nbprechecker_10.0.0.1_redhat_x64.sja nbserver_10.0.0.1_redhat_x64.sja
      nbeeb.client_4091698.1_8.3.0.1_solaris_sparc.sja nbprechecker_10.0.0.1_suse_x64.sja nbserver_10.0.0.1_suse_x64.sja
      nbeeb.client_4091698.1_8.3.0.1_solaris_x64.sja nbprechecker_10.0.0.1_windows_x64.sja nbserver_10.0.0.1_windows_x64.sja
      nbeeb.client_4091698.1_8.3.0.1_suse_x64.sja nbprechecker_8.2_suse_x64.sja nbserver_8.2_suse_x64.sja

       

      [root@nbprimary repo]# /usr/openv/netbackup/bin/admincmd/nbrepo -l
      ID Type Version OS File Name
      -- ------------- -------- ------------- ------------------------------------------------
      11 server+client 8.2 suse_x64 vxupdate_nb_8.2_suse_x64.sja
      30 client eeb 10.0.0.1 debian_x64 nbeeb.client_4086374.1_10.0.0.1_debian_x64.sja
      37 server+client 10.0.0.1 redhat_x64 vxupdate_nb_10.0.0.1_redhat_x64.sja
      46 server+client 10.0.0.1 suse_x64 vxupdate_nb_10.0.0.1_suse_x64.sja
      54 server+client 10.0.0.1 windows_x64 vxupdate_nb_10.0.0.1_windows_x64.sja
      62 client eeb 8.3.0.1 solaris_x64 nbeeb.client_4091698.1_8.3.0.1_solaris_x64.sja
      63 client eeb 8.3.0.1 solaris_sparc nbeeb.client_4091698.1_8.3.0.1_solaris_sparc.sja
      64 client eeb 8.3.0.1 suse_x64 nbeeb.client_4091698.1_8.3.0.1_suse_x64.sja
      65 eeb 8.3.0.1 windows_x64 nbeeb_4091698.1_8.3.0.1_windows_x64.sja

       

      [root@nbprimary tmp]# /usr/openv/netbackup/bin/admincmd/nbrepo -a nbeeb.client_4091698.1_8.3.0.1_redhat_x64.sja
      Adding package to the repository. This may take a few minutes...
      Error: Package already exists in the repository.

       

      Any other ideas?
      attached log.

      Thanks and Regards,

      • davidmoline's avatar
        davidmoline
        Level 6

        Hi albatroz19 

        Didn't I sugest manually copying the sja file directly into the repo directory? I do not see the redhat version listed in the output provided. I'll repeat copy the sja file directly to the repo directory, then run the "nbrepo -l" command - do not try to add the file again.

        Cheers
        David