Forum Discussion

turguns's avatar
turguns
Level 5
8 years ago
Solved

Webservice error ( Netbackup Upgrade from 7.1 to 8.0 )

Hello All,

OS : Redhat 2.6

Netbackup 8

I have completed to upgrade from Netbackup 7.1 to Netbackup 8.0.

But  when I'm trying to enter to GUI (jnbSA) , getting the following error "the host does not have netbackup host id-based security certificate installed ...."

After that I'm trying to generate certificate :

nbcertcmd -getCertificate
Request to get the certificate deployment level failed.
EXIT STATUS 26: client/server handshaking failed

Again error with 26 code.

I'm testing  the wmc connection.

 bptestnetconn -wnbwmc/netbackup -T 5 -e 2 -H nbumedia

Getting the following error

 nbwmc/netbackup web service test for host: nbumedia :  50012 ms  [FAIL]

Now I've checked  from webservice logs

cd /usr/openv/wmc/webserver/logs/
# tail -2000  catalina.2017-09-04.log

.........

04-Sep-2017 16:18:35.090 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
04-Sep-2017 16:18:36.873 SEVERE [Catalina_NetBackup_Web_Services-startStop-1] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
 java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError

......

I have tried to reinstall the Netbackup 8 , Then many times restarted wmc.

/usr/openv/var/global/server.conf  is OK.
-c 200M -ch 1951M -cl 200M -gd DBA -gk DBA -gl DBA -gna 1 -gp 4096 -k -m -n NB_nbumedia
-o /usr/openv/db//log/server.log -os 1M -ti 0 -ua -ud -wc- -x tcpip(LocalOnly=YES;ServerPort=13785)

How should I proceed ?

Any suggestions?

 

 

 

 

 

 

 

  • Hello ALL,

    I have opened case to Veritas support.

    They confirmed,that memory was not enough.

    I have added more swap space.

    As a result, webservice daemon worked properly.

    Approx. 6GB swap space
    dd if=/dev/zero of=/swapfile bs=1024 count=6500536
     mkswap /swapfile
    swapon /swapfile
    Adding to fstab for permanent
    /swapfile               swap                    swap    defaults        0 0

    Br,

    Turgun

     

    • turguns's avatar
      turguns
      Level 5

      Hi Thiago,

      Yes I have added web server user,

      Preinstallation check was successful.

      Just now I have upgraded again.

      After upgrade , giving the following error:

      WARNING: NetBackup web services could not start on this host. This will cause
               failure of certain NetBackup operations. For details, refer to:
               http://www.veritas.com/docs/000115774

      Ports are ok. pbx listening. System keeping to give out of memory error.

      but I've free 5GB .

      root@nbumedia logs]# free -m
                   total       used       free     shared    buffers     cached
      Mem:          6864       1716       5147          0         25        687
      -/+ buffers/cache:       1003       5861
      Swap:          291          0        291
      [root@nbumedia logs]#

       

      [root@nbumedia logs]# /usr/openv/netbackup/bin/nbwmc

      [root@nbumedia logs]# more  hs_err_pid18671.log
      #
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
      # Possible reasons:

       

       

       

       

       

       

       

      • turguns's avatar
        turguns
        Level 5

        Hello ALL,

        I have opened case to Veritas support.

        They confirmed,that memory was not enough.

        I have added more swap space.

        As a result, webservice daemon worked properly.

        Approx. 6GB swap space
        dd if=/dev/zero of=/swapfile bs=1024 count=6500536
         mkswap /swapfile
        swapon /swapfile
        Adding to fstab for permanent
        /swapfile               swap                    swap    defaults        0 0

        Br,

        Turgun