cancel
Showing results for 
Search instead for 
Did you mean: 

netbackup install fails with run_nbdb_cmd: Exiting with rc = 77

thiru1
Level 2

Hi,

Need help installing Netbackup 7.6 on HP-UX  11.31.

 

# uname -a
HP-UX hpia B.11.31 U ia64 3489367755 unlimited-user license

install trace file :


nbatd is successfully configured on NetBackup Master Server.
Operation completed successfully.
Creating /usr/openv/tmp/sqlany

Installed SQL Anywhere Version 12.0.1.3894
Installation completed successfully

set_value: Key "AZDBPasswordFilePath" successfully updated
AZ database setup complete.

Database server is NB_hpia
Creating the NetBackup database.
Creating NetBackup staging directory in: /usr/openv/db/staging
Starting the NetBackup database.
Authenticating the NetBackup database.
Error updating VXDBMS_NB_DATA entry in bp.conf.
You must be Security Administrator to execute /usr/openv/db/bin/nbdb_admin >>>>>>>>>>>>>>>>>>>
Creating the NetBackup database files.
Exiting from create_nbdb, status[13].>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

nbdb logfile:

 

 
18:42:05.174 [22803] <4> startDBServer: Running "/usr/openv/netbackup/bin/nbdbms_start_stop" start -initial
18:42:06.583 [22803] <4> startDBServer: "/usr/openv/netbackup/bin/nbdbms_start_stop" start -initial successful.
18:42:06.583 [22803] <4> startDBServer: Exiting. rc = 0

18:42:16.177 [22803] <2> create_database: Successfully executed create database '/usr/openv/db/data/NBDB.db' TRANSACTION LO
G ON '/usr/openv/db/data/NBDB.log' BLANK PADDING ON  COLLATION 'UTF8(case=respect)'  PAGE SIZE 4096
18:42:16.184 [22803] <2> create_database: Exiting with 0
18:42:16.184 [22803] <4> UpdateSettinginHostConfig: Entering.
18:42:16.199 [22803] <16> getUnameInfoData: couldn't retrieve uname values
18:42:16.199 [22803] <4> getUnameInfoData:    errno = 72 - Value too large to be stored in data type>>>>>>>>>>>>>>>>>>>>>
18:42:16.200 [22803] <16> UpdateSettinginHostConfig: Can't open host configuration file
18:42:16.200 [22803] <4> UpdateSettinginHostConfig: Exiting with rc = 12 >>>>>>>>>>>>>>>>>>

18:42:16.547 [22803] <16> db_error_add_to_file: wait_lock(/usr/openv/netbackup/db/error/errordb.lock) failed: -1, errno: 2
(No such file or directory)

18:42:16.554 [22803] <2> ConnectionCache::connectAndCache: Acquiring new connection for host hpia, q
uery type 1
18:42:16.566 [22803] <8> async_connect: [vnet_connect.c:1471] connect failed 239 0xef

 


18:43:05.273 [22853] <4> getUnameInfoData:    errno = 72 - Value too large to be stored in data type
18:43:05.273 [22853] <16> check_for_secadmin: ReadHostConfig() failed (1)
18:43:05.273 [22853] <16> nbdb_admin: You must be Security Administrator to execute /usr/openv/db/bin/nbdb_admin
18:43:05.273 [22853] <4> nbdb_admin: Exiting with rc = 140
18:43:05.282 [22803] <16> NBDBsystem: System call failed with status: 35840
18:43:05.282 [22803] <16> run_nbdb_cmd: "/usr/openv/db/bin/nbdb_admin" -quiet -dba ****** failed.
18:43:05.282 [22803] <4> run_nbdb_cmd: Exiting with rc = 77

18:43:05.282 [22803] <8> createdb: Error initializing NetBackup database password on server [NB_hpia].
18:43:05.282 [22803] <4> create_nbdb_dbspaces: Creating the NetBackup database files.
18:43:05.283 [22803] <4> run_sql_from_file: Entering.
18:43:05.368 [22803] <16> create_nbdb_stored_procedures: create procedure NBDB_DisconnectOthers failed
18:43:05.368 [22803] <16> create_nbdb_stored_procedures: ErrMsg [Sybase][ODBC Driver][SQL Anywhere]Authentication violation
, ErrCode -1, Sqlstate 08001
18:43:05.368 [22803] <16> disconnect_from_database: Can't create stored procedures
18:43:05.368 [22803] <4> run_sql_from_file: Running /usr/openv/db/scripts/create_nbdbspaces.sql in NBDB
18:43:05.393 [22803] <16> run_sql_from_file: Execute SQL failed: BEGIN DECLARE script_content LONG VARCHAR; SELECT xp_read_
file(?) INTO script_content; EXECUTE IMMEDIATE script_content; END;
18:43:05.393 [22803] <16> run_sql_from_file: ErrMsg [Sybase][ODBC Driver][SQL Anywhere]Authentication violation, ErrCode -1
, Sqlstate 08001
18:43:05.393 [22803] <4> accept_connections: Executing:  call sa_server_option ('disable_connections', 'OFF')
18:43:05.403 [22803] <4> run_sql_from_file: Exiting. rc = 13
18:43:05.403 [22803] <4> createdb: Exiting with rc = 13
18:43:05.403 [22803] <4> create_nbdb: Exiting with rc = 13

 

appreciate any help. 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

Root cause is same with TECH168260 - uname() returns errno 72. This problem is observed various software other than NBU. Try to set uname_overflow to 0.

http://www.symantec.com/docs/TECH168260

View solution in original post

3 REPLIES 3

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

Root cause is same with TECH168260 - uname() returns errno 72. This problem is observed various software other than NBU. Try to set uname_overflow to 0.

http://www.symantec.com/docs/TECH168260

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Please confirm additional requirements for HP-UX as well in NetBackup Installation Guide 

See this topic:
Special installation guidelines for HP-UX systems

thiru1
Level 2

I can't thank you enough for this!!  you pointed me to the exact solution, it's one parameter made a big difference. very hard to debug as it is internal to SQLanywhere. I was struggling with this installation from last 24 hours. I'm not sure why it is not documented in installation guide. Thank you so much!!