cancel
Showing results for 
Search instead for 
Did you mean: 

Could not connect to NetBackup Service Layer...with Java Admin Console

Kai2209
Level 4

Hi i am trying to connect with a Java Administration Console to my master server. First i had an issue with an expired certificate but this has been solved now.

My Error is same like "https://www.veritas.com/support/en_US/article.100042035"

----------------

Error Message

NetBackup Administration Console (popup):
Could not connect to NetBackup Service Layer. You may not be able to perform the functions in the Administration Console that depends on connectivity to this service. Please ensure the nbsl service is up and running.

This message is displayed at the bottom of the login screen:

Connecting NetBackup Service Layer...

After clicking on OK from the first message, this second message may be displayed:

Backup Policy Management (popup):
Could not get Class_att_defs information: A connection to <server_hostname> could not be established. Verify services or daemons are up and running.
You will not be allowed to change NetBackup policy attributes for server '<server_hostname>'.

----------

But the solution does not help in my case. I´ve enabled logging on level 4 and have a log file attached. Maybe someone can help.here...

thanks

Kai

30 REPLIES 30

StefanosM
Level 6
Partner    VIP    Accredited Certified

Had you check if nbsl service is up?
If you are not sure, restart netbackup

sure nbatd, nbwmc and nbsl are running. Restarted everything several times...

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

@Kai2209 

Can you show us output of bpps -x ?

sure...

NB Processes
------------
root 60657 433810 0 12:17 ? 00:00:00 /usr/openv/netbackup/bin/admincmd/bpstsinfo -DPSPROXY
root 433295 1 0 Nov03 ? 00:00:06 /usr/openv/netbackup/bin/private/nbatd -c /usr/openv/var/global/vxss/eab/data
root 433299 1 0 Nov03 ? 00:00:06 /usr/openv/netbackup/bin/vnetd -standalone
root 433302 1 0 Nov03 ? 00:00:02 /usr/openv/netbackup/bin/bpcd -standalone
root 433334 1 0 Nov03 ? 00:00:13 /usr/openv/netbackup/bin/nbdisco
root 433496 1 2 Nov03 ? 00:34:41 /usr/openv/db//bin/NB_dbsrv @/usr/openv/var/global/server.conf @/usr/openv/var/global/databases.conf -hn 5
root 433548 1 0 Nov03 ? 00:00:11 /usr/openv/netbackup/bin/nbevtmgr
root 433573 1 0 Nov03 ? 00:00:26 /usr/openv/netbackup/bin/nbaudit
root 433685 1 0 Nov03 ? 00:01:02 /usr/openv/netbackup/bin/nbemm
root 433689 1 0 Nov03 ? 00:00:22 /usr/openv/netbackup/bin/nbrb
root 433724 1 0 Nov03 pts/0 00:00:13 /usr/openv/netbackup/bin/bprd
root 433741 1 0 Nov03 ? 00:00:00 /usr/openv/netbackup/bin/bpcompatd
root 433745 1 0 Nov03 pts/0 00:00:01 /usr/openv/netbackup/bin/bpdbm
root 433752 433745 0 Nov03 pts/0 00:00:24 /usr/openv/netbackup/bin/bpjobd
root 433754 1 0 Nov03 ? 00:00:12 /usr/openv/netbackup/bin/nbjm
root 433768 1 0 Nov03 ? 00:00:09 /usr/openv/netbackup/bin/nbpem
root 433787 433768 0 Nov03 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem
root 433796 1 0 Nov03 ? 00:00:30 /usr/openv/netbackup/bin/nbstserv
root 433810 1 0 Nov03 ? 00:00:17 /usr/openv/netbackup/bin/nbrmms
root 433879 1 0 Nov03 ? 00:00:17 /usr/openv/netbackup/bin/nbsl
root 433907 1 0 Nov03 ? 00:00:19 /usr/openv/netbackup/bin/nbim
root 433943 1 0 Nov03 ? 00:00:32 /usr/openv/netbackup/bin/nbars
nbwebsvc 434104 1 0 Nov03 ? 00:07:10 /usr/openv/java/jre/bin/java -Dnop -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dnbwmc -Xrs -d64 -Xms512m -Xmx1024m -Djava.library.path=/usr/openv/lib -DNB_HOSTNAME=lgwnb01 -DNB_INSTALL_DIR=/usr/openv -DVAR_GLOBAL=/usr/openv/var/global -Djava.util.logging.config.file=/usr/openv/wmc/config/tomcat.logging.properties -Dvrts.NBJAVA_CONF=/usr/openv/wmc/config/nbj.conf -Dvrts.common.utilities.DEBUG_PROPERTIES=/usr/openv/wmc/config/Debug.properties -Dlog.conf.path=/usr/openv/netbackup/nblog.conf -Dvrtsat.home=/usr/openv/netbackup/sec/at -Dvrtsat.datadir=/usr/openv/var/vxss -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:ErrorFile=/usr/openv/wmc/webserver/logs/hs_err_pid%p.log -Djava.endorsed.dirs=/usr/openv/wmc/webserver/endorsed -classpath /usr/openv/wmc/webserver/bin/bootstrap.jar:/usr/openv/wmc/webserver/bin/tomcat-juli.jar -Dcatalina.base=/usr/openv/wmc/webserver -Dcatalina.home=/usr/openv/wmc/webserver -Djava.io.tmpdir=/usr/openv/wmc/webserver/temp org.apache.catalina.startup.Bootstrap start
root 434180 433754 0 Nov03 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbjm
root 434221 1 0 Nov03 ? 00:00:03 /usr/openv/netbackup/bin/nbvault
root 434232 1 0 Nov03 ? 00:00:56 /usr/openv/netbackup/bin/nbsvcmon
root 436111 433768 0 Nov03 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem_cleanup


MM Processes
------------
root 433710 1 0 Nov03 pts/0 00:00:04 /usr/openv/volmgr/bin/ltid
root 433716 1 0 Nov03 pts/0 00:00:08 vmd
root 434209 433710 0 Nov03 pts/0 00:00:00 avrd
root 434212 1 0 Nov03 pts/0 00:00:00 tldcd


Shared Veritas Processes
-------------------------
root 1334 1 0 Oct29 ? 00:00:12 /opt/VRTSpbx/bin/pbx_exchange
[root@lgwnb01 java]#

Hamza_H
Moderator
Moderator
   VIP   

Hello @Kai2209 , as first start, try to restart pbx service I can see that is running since 29th Oct

Hamza_H
Moderator
Moderator
   VIP   

and also do this :


1.  Log into the PC where the console is attempting to be started.
2.   cd C:\Users\<userid>\AppData\Roaming\VERITAS\VSS\
3.  Move the contents of the directory to a temporary location.
4.  Start the Java GUI and answer "Yes" to the pop up.
5.  If everything functions correctly, remove the files from step 3 from the temporary location.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I do not have a Unix or Linux master server to compare processes, but I do not see an individual nbwmc process running?

Maybe someone else in this conversation can check and compare?

I do see the process as part of Java, but I'm not sure if should be running as a standalone process.

Next thing will probably be to dig into nbsl log using vxlogview command.
e.g.
vxlogview -o 132 -t 00:20:00
Above command will display logs for the last 20 minutes.
Adjust this period to cover the restart of NBU.

 

Hi hha_mea,

just restarted pbx but still same issue.

I also did the steps above...without success.

Hamza_H
Moderator
Moderator
   VIP   

Hello @Kai2209 

could you please follow what @Marianne suggested?

Next thing will probably be to dig into nbsl log using vxlogview command.
e.g.
vxlogview -o 132 -t 00:20:00
Above command will display logs for the last 20 minutes.
Adjust this period to cover the restart of NBU.

 

also, take note of the hour and try to access again to the console and share jbp logs 

Hi Marianne,

i do have a linux master server 8.3.0.1 here and there is also no standalone nbwmc process running. It is also a part of java.

below the vxlogview. I have restarted NBU services at 14:45. Java console started at 15:06

11/04/2020 14:46:55.214 [OrbServiceSL::OrbServiceSL()] NBSL logging initialized; Logging level: 1(OrbServiceSL.cpp:70)
11/04/2020 14:46:55.241 [OrbServiceSL::StartFromMain] Starting nbsl in SECURE_AND_INSECURE mode(OrbServiceSL.cpp:371)
11/04/2020 14:46:55.241 [OrbServiceSL::StartFromMain] Since Enhanced Auditing is not enabled we shall allow anonymous JavaGUI SSL/TLS communication.(OrbServiceSL.cpp:380)
11/04/2020 14:46:55.241 [OrbServiceSL::StartFromMain] setting nbac-hooks(OrbServiceSL.cpp:414)
11/04/2020 14:46:55.241 [OrbServiceSL::StartFromMain] Not invoking ServiceContextInterceptors.(OrbServiceSL.cpp:424)
11/04/2020 14:46:55.279 [NBUConfig::getNBUVersionSeq] NBU VERSION string:>8.0<(NBUConfig.cpp:483)
11/04/2020 14:46:55.279 [NBUConfig::NBUConfig] m_hostName:lgwnb01, m_emmServer:lgwnb01(NBUConfig.cpp:166)
11/04/2020 14:46:55.279 [NBUConfig::NBUConfig] info: nbuProductName:NetBackup Enterprise Server nbuProductVersion:8.0 m_productId:1 osName:Linux osVersion:3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 hwDesc:x86_64 bMaster:1 (NBUConfig.cpp:175)
11/04/2020 14:46:55.283 [XMLFileGenerator::XMLFileGenerator] Configuration File location: /usr/openv/var/global/nbsl.xml(XMLFileGenerator.cpp:93)
11/04/2020 14:46:55.284 [XMLFileGenerator::initializeDefault] XML file could open(XMLFileGenerator.cpp:118)
11/04/2020 14:46:55.284 [XMLFileGenerator::parseFile] Handling MemBufInputSource locally.(XMLFileGenerator.cpp:484)
11/04/2020 14:46:55.285 [XMLFileGenerator::parseFile] Parse completed(XMLFileGenerator.cpp:495)
11/04/2020 14:46:55.285 [XMLFileGenerator::initializeDefault] XML is parsed(XMLFileGenerator.cpp:129)
11/04/2020 14:46:55.285 [XMLConfig::validateTree()] Validation unsuccessful for node attribute:Mem(XMLConfig.cpp:324)
11/04/2020 14:46:55.285 [XMLFileGenerator::initializeDefault] XML is failed in validation(XMLFileGenerator.cpp:135)
11/04/2020 14:46:55.285 [XMLConfig::handleError_fileRead] NBSL configuration file does not exist. Creating new file ... (XMLConfig.cpp:65)
11/04/2020 14:46:55.285 [XMLFileGenerator::serializeDOM] Coping XML file path into temp variable(XMLFileGenerator.cpp:427)
11/04/2020 14:46:55.285 [XMLFileGenerator::serializeDOM] Copied XML file path into temp variable(XMLFileGenerator.cpp:431)
11/04/2020 14:46:55.286 [XMLFileGenerator::serializeDOM] Releasing DOMLSOutput(XMLFileGenerator.cpp:441)
11/04/2020 14:46:55.286 [XMLFileGenerator::serializeDOM] Released DOMLSOutput(XMLFileGenerator.cpp:443)
11/04/2020 14:46:55.286 [XMLFileGenerator::initializeDefault] XML is perfect(XMLFileGenerator.cpp:138)
11/04/2020 14:46:55.376 [ChannelManagerUtil::ChannelManagerUtil] Constructed ChannelManagerUtil(ChannelManagerUtil.cpp:37)
11/04/2020 14:46:55.376 [EventConsumer::EventConsumer] Event consumer constructed(EventConsumer.cpp:41)
11/04/2020 14:46:55.376 [EventConsumer::EventConsumer] Event consumer constructed(EventConsumer.cpp:41)
11/04/2020 14:46:55.376 [EventServiceMonitor::EventServiceMonitor] EventServiceMonitor constructed(EventServiceMonitor.cpp:54)
11/04/2020 14:46:55.376 [ChannelManagerExSingleton::initInstance] Reference count is 1(ChannelManagerEx.cpp:206)
11/04/2020 14:46:55.376 [ChannelManagerExSingleton::initInstance] Registering ChannelManagerEx to the list of cleanable objects.(ChannelManagerEx.cpp:208)
11/04/2020 14:46:55.376 [HostSessionFactoryImpl::HostSessionFactoryImpl] Constructing HostSessionFactoryImpl(HostSessionFactoryImpl.cpp:70)
11/04/2020 14:46:55.376 [HostSessionFactoryImpl::HostSessionFactoryImpl] Starting NBSLStateMonitor with interval:1800(HostSessionFactoryImpl.cpp:73)
11/04/2020 14:46:55.376 [NBSLStateMonitor::NBSLStateMonitor] Setting collectionInterval:1800(NBSLStateMonitor.cpp:25)
11/04/2020 14:46:55.376 [NBSLHostSessionFactoryImpl::NBSLHostSessionFactoryImpl] Constructing NBSLHostSessionFactoryImpl(NBSLHostSessionFactoryImpl.cpp:33)
11/04/2020 14:46:55.377 [DbErrorLogPoller::DbErrorLogPoller] Setting collectionInterval:3600, and starting with delay(DbErrorLogInterval/5):720(DbErrorLogPoller.cpp:60)
11/04/2020 14:46:55.377 [DbErrorLogPoller::DbErrorLogPoller] first time polling will be started from:138237904150000000(DbErrorLogPoller.cpp:68)
11/04/2020 14:46:55.377 [NBSLMain::createHostSessionFactoryImpl()] Started DbErrorPolling with interval(sec)3600, on poller:0x55b5ae0(NBSLMain.cpp:85)
11/04/2020 14:46:55.377 [HeartBeatableFacet::HeartBeatableImpl()] Constructing HeartBeatable Singlton(BH_HeartBeatableFacet.cpp:23)
11/04/2020 14:46:55.377 [HeartBeatableFacet::activate()] activating HeartBeatable with IOR:IOR:010000002800000049444c3a566572697461732f4e65744261636b75702f48656172744265617461626c653a312e3000010000000149434fdc00000001010231150000006c67776e6230312e6a6570706573656e2e636f6d00321406050000006e62736c003337331b00000014010f00525354cfb0a25feca205000300000001000000040000006204000000000000000800000001303663004f4154010000001400000001303663010001050000000009010100000000000049434f180000000147a500840000000c0000006e62736c5f736563737663000300000038000000014d74dd0b00000031302e36352e312e3130000514060000050000006e62736c0000a700860000000c0000006e62736c5f73656373766300(BH_HeartBeatableFacet.cpp:41)
11/04/2020 14:46:55.378 [OrbServiceSL::printNBSLConfig] Service Manager Collection interval:40 Catalog PageSize:1000 Job PageSize:200 Media PageSize:100 Policy PageSize:1000 Service PageSize:100 Iterator Eviction Timeout:1800 Eviction Timeout:3600 Orb Connection Timeout:20 Orb Request Timeout:600 Search Request Timeout:7200 Holds Request Timeout:900 Host Id:C8957D52-9FE3-11E8-8000D2D56F39CAF0 NEW_FIELD-oldXMLBasedId :C8957D52-9FE3-11E8-8000D2D56F39CAF0 ORB Thread pool size:20 Memory Usage Logging:0 Telemetry rolloverTimeInHours:12 Telemetry maxTempFiles:32 Telemetry maxFileSizeInMB:40(OrbServiceSL.cpp:351)
11/04/2020 14:46:55.400 [OrbServiceSL::StartFromMain] share OrbService's reactor to NCF(OrbServiceSL.cpp:437)
11/04/2020 14:46:55.401 [register_obv_factories] NBSL-ValueType Registaring(ValuetypeRegistrations.cpp:270)
11/04/2020 14:46:55.402 [register_obv_factories] NBSL-ValueType Registration Completed(ValuetypeRegistrations.cpp:760)
11/04/2020 14:46:55.402 [register_obv_factories] Registering DSM-FSM entities via Registrar(ValuetypeRegistrations.cpp:764)
11/04/2020 14:46:55.402 [register_obv_factories] Registering DSM-FSM HSM and ISM entities via Registrar, completed(ValuetypeRegistrations.cpp:809)
11/04/2020 14:46:55.403 [PeerNBSLNotifierPingTask::pingMaster] Same machine not informaing(PeerNBSLNotifierImpl.cpp:216)
11/04/2020 14:46:55.404 [OrbServiceSL::doRun] NOT doing auto-trust(OrbServiceSL.cpp:115)
11/04/2020 14:47:55.372 [OrbServiceSL::doReconfig] Configuration change detected, NOT doing auto-trust(OrbServiceSL.cpp:475)
11/04/2020 14:58:55.377 [NBSLConfig::emmlibInit()] connecting to emm, initializing(NBSLConfig.cpp:162)
11/04/2020 14:58:55.407 [NBSLConfig::emmlibInit()] emm-initialized with sessionId:1(NBSLConfig.cpp:173)

11/04/2020 15:06:39.942 [HostSessionImpl::HostSessionImpl()] constructing host session:lgwnb01_WEB_Gateway_1604498799940, Session ID: 1(HostSessionImpl.cpp:56)
11/04/2020 15:16:55.376 [NBSLStateMonitor::handle_timeout] State_Start(NBSLStateMonitor.cpp:49)
11/04/2020 15:16:55.377 [NBSLStateMonitor::handle_timeout] who:HostSessionImpl::HostSessionImpl(),freq:1,total:0(s),max:0(NBSLStateMonitor.cpp:58)
11/04/2020 15:16:55.377 [NBSLStateMonitor::handle_timeout] State_Done(NBSLStateMonitor.cpp:61)

[root@lgwnb01 ~]#

Hamza_H
Moderator
Moderator
   VIP   

I don't an error regarding nbsl, could you please post jbp logs for the same attempt?

also, run this on master :

bpclntcmd -pn

bpclntcmd -self

bptestnetconn -a -v -s -p -c

 

one more thing, since you are on linux, try to lunch java console from mobaxterm or any other ssh tool with this command jnbSA and try to access

attached is the jbp log for same attempt like above...

[root@lgwnb01 ~]# bpclntcmd -pn
expecting response from server lgwnb01
lgwnb01 lgwnb01 10.65.1.10 51040
[root@lgwnb01 ~]# bpclntcmd -self
yp_get_default_domain failed: (12) Local domain name not set
NIS does not seem to be running: (1) Request arguments bad
gethostname() returned: lgwnb01
host lgwnb01: lgwnb01 at 10.65.1.10
aliases: lgwnb01 10.65.1.10
getfqdn(lgwnb01) returned: lgwnb01.contoso.com
[root@lgwnb01 ~]# bptestnetconn -a -v -s -p -c
SERVER = lgwnb01
------------------------------------------------------------------------
NBU IP_ADDRESS_FAMILY configured to use Remote Addresses: IPv4(yes) IPv6(no)
FL: lgwnb01 -> 10.65.1.10 : 0 ms FAST (< 5 sec) [local] SRC: ANY
------------------------------------------------------------------------
RL: 10.65.1.10 -> lgwnb01 : 0 ms FAST (< 5 sec)
RL: 127.0.0.1 -> localhost : 0 ms FAST (< 5 sec)
RL: 127.0.0.1 -> localhost : 0 ms FAST (< 5 sec)
------------------------------------------------------------------------
Connecting to 'nbsl/HSFactory'
CN: lgwnb01 : 3 ms [SUCCESS] PBX: Yes VNETD: Yes BPCD: Yes
CN: localhost : 2 ms [SUCCESS] PBX: Yes VNETD: Yes BPCD: Yes
------------------------------------------------------------------------
Total elapsed time: 0 sec

 

Is there maybe an issue with FQDN and short name?

Hamza_H
Moderator
Moderator
   VIP   
I don’t see any issue with short or fqdn name
Did you try opening the console through jnbsa from the master server as suggested before?
In logs I can see there is this error:


PortalException: Status = 0:A connection to lgwnb01 could not be established. Verify services or daemons are up and running.

Telnet the master on 1556 and vnetd from the server from where you are attempting to open the console.

If still not working, try a reboot

ok. just an idea.

No not yet. I tried this some time ago without sucess. But let me check again.

telnet from clients (i used 3 dieffernt installations) is ok. But what means vnetd from server? Do not unstand what you mean.

A reboot was also not sucessful :(

Hamza_H
Moderator
Moderator
   VIP   

@Kai2209 telnet from the machine you are attempting to open the console to the master server:

 

telnet master_server 1556

telnet master_server 13724

yes this works for both ports.

just do not know what vnetd from server to client means

Hamza_H
Moderator
Moderator
   VIP   

did you try jnbSA from master from mobaxterm?

yes but this is not working...

Hamza_H
Moderator
Moderator
   VIP   

Is it the same error using jnbSA?