NetBackup Java Console fails to connect - status 526

Article: 100032275
Last Published: 2016-04-15
Ratings: 0 1
Product(s): NetBackup

Problem

Attempts to connect the NetBackup Java Console to a Windows Master Server fails with the following message:

Unable to login, status: 526
NB-Java application server interface error:
Unknown error code was returned by the NB-Java
application server. Check the log file for more
details.


Example:
User-added image


Note: pbx_exchange.exe is running and the rest of NetBackup runs properly.

Cause

This error is due to C:\Program Files\Veritas\NetBackup\ logs being a symlink on the Master Server.

Example:
C:\Program Files\Veritas\NetBackup>dir /a
 Volume in drive C has no label.
 Volume Serial Number is DC0B-3B6D

 Directory of C:\Program Files\Veritas\NetBackup

04/15/2016  02:37 PM    <DIR>          .
04/15/2016  02:37 PM    <DIR>          ..
06/30/2015  10:06 AM    <DIR>          BareMetal
04/15/2016  02:38 PM    <DIR>          bin
02/04/2016  10:58 AM    <DIR>          bin.7.7
02/04/2016  11:00 AM    <DIR>          Client
02/04/2016  11:00 AM    <DIR>          db
06/30/2015  10:06 AM    <DIR>          DbExt
02/04/2016  11:00 AM    <DIR>          Java
02/04/2016  10:58 AM    <DIR>          jre
04/15/2016  02:37 PM    <SYMLINKD>     logs [L:\NetBackup\Logs]



Because of this, bpjava-msvc.exe can not start properly:
C:\Program Files\Veritas\NetBackup> bpjava-msvc -standalone
cannot make required directory

Attempts to start bpjava-msvc.exe result in this bpjava-msvc log content:
14:49:40.342 [5568.4760] <16> mkdir_p: can't create directory C:\Program Files\Veritas\NetBackup\Logs
14:49:40.342 [5568.4760] <16> printErrorAndExit: code = 35, type = BP_ERROR, message = cannot make required directory


The console is unable to connect to the server-side java processes (because they won't stay running).

The last several lines of the jbp.xxx.log:
BpjavaLoginModule:Setting ServerRequest, debugLevel:262144
BpjavaLoginModule:connectServer:[WINREF\Administrator][WINREF][0]
From Logon, Connecting to vnetd service over PBX port = 1556, authService is true
Acknowledgement from PBX1
ServerInterface:Logon:Exception encountered Connection reset
ServerInterface:Logon - Initial host:null, Current host:WINREF, PBX port:1556
Can not connect to the NB-Java authentication service on WINREF on port 1556.  Exception:
java.net.SocketException: Connection reset

 

Solution

The only way to resolve this issue is to remove the symlink and recreate the "logs" folder without the link.

Currently, redirecting the NetBackup "logs" folder using a symlink does not allow the Java processes to operate properly.
 

Was this content helpful?