cancel
Showing results for 
Search instead for 
Did you mean: 

nbars process is being killed

Alexis_Cimpu
Level 3

Hi,

 

On Netbackup 7.0.1 the process nbars is being killed all the time.

I am using Netbackup 7 on a Unix server.

Can you please adivce me on how to solve this issue?

Thanks

7 REPLIES 7

revarooo
Level 6
Employee

Increase logging level:

 vxlogcfg -a -p 51216 -o 362 -s DebugLevel=6 -s DiagnosticLevel=6
 
 

Restart it and get it to fail

Then run:

vxlogview -i 362 -d all -t 00:10:00 > nbars.txt

What's in the file?

 

Don't forget to change logging level back to 1

 

 vxlogcfg -a -p 51216 -o 362 -s DebugLevel=1 -s DiagnosticLevel=6
 

Alexis_Cimpu
Level 3

08/10/12 07:12:40.341 [Application] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] [Info] V-137-74 =====================================================
08/10/12 07:12:40.341 [Application] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] [Info] V-137-13         Starting service: nbars
08/10/12 07:12:40.341 [Application] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] [Info] V-137-74 =====================================================
08/10/12 07:12:40.351 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [file_to_addrinfo] ../../libvlibs/vnet_addrinfo.c.5661: 1: fopen() failed: 2 0x00000002
08/10/12 07:12:40.351 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [file_to_addrinfo] ../../libvlibs/vnet_addrinfo.c.5662: 1: fopen() failed: /usr/openv/var/host_cache/14f/6cf9fd4f+0,1,41,2,1,0+127.0.0.1.txt
08/10/12 07:12:40.377 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [vnet_get_machine_credential_path_for_name] ../../libvlibs/vnet_vxss.c.780: 1: could not find any credential for host: server_hostname
08/10/12 07:12:40.377 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [vnet_get_machine_credential_path_for_name] ../../libvlibs/vnet_vxss.c.781: 1: Function failed: 35 0x00000023
08/10/12 07:12:40.378 [Diagnostic] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 2 V-137-76 [ClientNbacEvaluator::getOurCredential] Machine credential not available
08/10/12 07:12:40.380 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [OrbService::setMaxDataLimit] successfully set max data limit: current=9223372036854775807, max=9223372036854775807(OrbService.cpp:245)
08/10/12 07:12:40.427 [Application] NB 51216 libraries 137 PID:23920766 TID:1 File ID:362 [No context] [Info] V-137-74 =====================================================
08/10/12 07:12:40.428 [Application] NB 51216 libraries 137 PID:23920766 TID:1 File ID:362 [No context] [Info] V-137-20         Now Running as Daemon: nbars
08/10/12 07:12:40.428 [Application] NB 51216 libraries 137 PID:23920766 TID:1 File ID:362 [No context] [Info] V-137-74 =====================================================
08/10/12 07:12:40.435 [Debug] NB 51216 libraries 137 PID:23920766 TID:1 File ID:362 [No context] 1 [Orb::init] endpointvalue is : pbxiop://1556:nbars(Orb.cpp:648)
08/10/12 07:12:40.436 [Debug] NB 51216 libraries 137 PID:23920766 TID:1 File ID:362 [No context] 1 [Orb::init] initializing ORB nbars with: nbars -ORBSvcConfDirective "-ORBDottedDecimalAddresses 0" -ORBSvcConfDirective "static PBXIOP_Factory '-enable_keepalive'" -ORBSvcConfDirective "static EndpointSelectorFactory ''" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory PBXIOP_Factory'" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory IIOP_Factory'" -ORBSvcConfDirective "static PBXIOP_Evaluator_Factory '-orb nbars'" -ORBSvcConfDirective "static Resource_Factory '-ORBConnectionCacheMax 1024 '" -ORBEndpoint pbxiop://1556:nbars -ORBSvcConf /dev/null -ORBSvcConfDirective "static Server_Strategy_Factory '-ORBMaxRecvGIOPPayloadSize 268435456'"(Orb.cpp:759)
08/10/12 07:12:40.653 [Debug] NB 51216 nbars 362 PID:23920766 TID:1 File ID:362 [No context] 6 [FrameworkRegistrar::init] +++ ENTERING +++ : obj = 11042a290 (../FrameworkRegistrar.cpp:116)
08/10/12 07:12:40.653 [Debug] NB 51216 nbars 362 PID:23920766 TID:1 File ID:362 [No context] 6 [FrameworkRegistrar::init] +++ ENTERING +++ : obj = 11042a290 (../FrameworkRegistrar.cpp:131)
08/10/12 07:12:40.653 [Debug] NB 51216 nbars 362 PID:23920766 TID:1 File ID:362 [No context] 6 [FrameworkRegistrar::init] --- EXITING --- : obj = 11042a290 (../FrameworkRegistrar.cpp:131)
08/10/12 07:12:40.653 [Debug] NB 51216 nbars 362 PID:23920766 TID:1 File ID:362 [No context] 6 [FrameworkRegistrar::init] --- EXITING --- : obj = 11042a290 (../FrameworkRegistrar.cpp:116)

I belive it may have something to do with VXSS..

Also in bp.conf i have this config for VXSS:

USE_VXSS = PROHIBITED
VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY
 

revarooo
Level 6
Employee

Curious

08/10/12 07:12:40.377 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [vnet_get_machine_credential_path_for_name] ../../libvlibs/vnet_vxss.c.780: 1: could not find any credential for host: server_hostname
08/10/12 07:12:40.377 [Debug] NB 51216 libraries 137 PID:32047180 TID:1 File ID:362 [No context] 1 [vnet_get_machine_credential_path_for_name] ../../libvlibs/vnet_vxss.c.781: 1: Function failed: 35 0x00000023

 

Is this a new system or an existing old system?

When did the issue occur?

How did you notice the issue?

 

Alexis_Cimpu
Level 3

Hi,

We have just moved to NB 7, I saw this problem in the Daemons tab from NB Console.

It seems that everything works ok now after i restarted the nb

$ sudo bp.kill_all
$ sudo bpps -a
$ sudo netbackup start

 

Alexis_Cimpu
Level 3

i still have the problem.. the restart of nb and bp was just as a workaround, do you have any solutions for this ? :(

mph999
Level 6
Employee Accredited

Do you have any core files ?

Is the server set to save core files.

Martin

Alexis_Cimpu
Level 3

No, the server is not set to save core files.

How can i get the core files and where are the files saved?