cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

can't create nbdb when Installing nbu 7.5

iaw
Level 5

Hello,

Iam doing fresh install nbu 7.5 and get error when creating nbdb. PFB the details error.
Please help

Database server is NB_osdbkpbsdpapp1
Creating the NetBackup database.
Creating NetBackup staging directory in: /usr/openv/db/staging
Starting the NetBackup database.
Authenticating the NetBackup database.
VXDBMS_NB_DATA entry in bp.conf updated successfully.
Setting of database authentication for NBDB successful.
Change of dba password for NBDB successful.
Database [NBDB] can't be started on server [NB_osdbkpbsdpapp1].
Creating the NetBackup database files.
Error at line 1
Specified database not found

 

07:47:14.598 [15466] <4> execute_asynch_cmd: Created child process < 17303 >
07:47:14.598 [15466] <4> nbars_terminate: nbars successfully terminated
07:47:14.598 [17303] <4> execute_asynch_cmd: Mapping standard handles to /dev/null
07:47:14.598 [17303] <4> remap_std_handles: Input : /dev/null
07:47:14.598 [17303] <4> remap_std_handles: Output : /dev/null
07:47:14.598 [17303] <4> remap_std_handles: Succesfully remapped std files
07:47:14.598 [17303] <4> execute_asynch_cmd: Setting inheritence options
07:47:14.599 [17303] <4> execute_asynch_cmd: Performing exec
07:47:14.642 [15466] <4> shutdown_nb_databases: Stop database NBDB successful
07:47:14.642 [15466] <16> db_error_add_to_file: wait_lock(/usr/openv/netbackup/db/error/errordb.lock) failed: -1, errno: 2 (No such file or directory)
07:47:14.642 [15466] <2> ConnectionCache::connectAndCache: Acquiring new connection for host osdbkpbsdpapp1, query type 1
07:47:14.643 [15466] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
07:47:15.643 [15466] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
07:47:17.644 [15466] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
07:47:21.644 [15466] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
07:47:29.644 [15466] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
07:47:29.645 [15466] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO osdbkpbsdpapp1 10.53.99.99 bpdbm
07:47:29.645 [15466] <8> vnet_connect_to_service: [vnet_connect.c:215] connect_to_service() failed 18 0x12
07:47:29.645 [15466] <2> ConnectionCache::connectToBpdbm: vnet_connect_to_service(osdbkpbsdpapp1) failed: Success (0), vnet status 18
07:47:29.645 [15466] <2> ConnectionCache::connectAndCache: connect_to_bpdbm(osdbkpbsdpapp1) failed status 25 err 0
07:47:29.645 [15466] <2> ConnectionCache::connectAndCache: Return value is (21)
07:47:29.645 [15466] <2> db_begin: Could not connect  and returned with exceptionNo connection established
07:47:29.645 [15466] <2> db_ERROR_ex: db_begin() failed: cannot connect on socket
07:47:29.645 [15466] <16> shutdown_nb_databases: cannot log message to error database, error = cannot connect on socket
07:47:29.645 [15466] <4> shutdown_nb_databases: Removing /usr/openv/db/bin/util_db.ini
07:47:29.748 [15466] <4> startup_nb_databases: Starting up ASA locally on osdbkpbsdpapp1
07:47:29.757 [15466] <2> ReadVxDBMS_ConfFile: Acquiring mutex
07:47:29.757 [15466] <2> ReadVxDBMS_ConfFile: Acquiring read lock on /usr/openv/db/data/vxdbms_conf.lock
07:47:29.757 [15466] <2> ReadVxDBMS_ConfFile: Acquired read lock on /usr/openv/db/data/vxdbms_conf.lock successfully with fd (5)
07:47:29.757 [15466] <2> ReadVxDBMS_ConfFile: unlocking on fd (5) for /usr/openv/db/data/vxdbms_conf.lock
07:47:29.758 [15466] <2> ReadVxDBMS_ConfFile: Releasing mutex
07:47:29.771 [15466] <2> ReadVxDBMS_ConfFile: Acquiring mutex
07:47:29.771 [15466] <2> ReadVxDBMS_ConfFile: Acquiring read lock on /usr/openv/db/data/vxdbms_conf.lock
07:47:29.771 [15466] <2> ReadVxDBMS_ConfFile: Acquired read lock on /usr/openv/db/data/vxdbms_conf.lock successfully with fd (6)
07:47:29.771 [15466] <2> ReadVxDBMS_ConfFile: unlocking on fd (6) for /usr/openv/db/data/vxdbms_conf.lock
07:47:29.771 [15466] <2> ReadVxDBMS_ConfFile: Releasing mutex
07:47:29.927 [15466] <2> ReadVxDBMS_ConfFile: Acquiring mutex
07:47:29.927 [15466] <2> ReadVxDBMS_ConfFile: Acquiring read lock on /usr/openv/db/data/vxdbms_conf.lock
07:47:29.927 [15466] <2> ReadVxDBMS_ConfFile: Acquired read lock on /usr/openv/db/data/vxdbms_conf.lock successfully with fd (7)
07:47:29.927 [15466] <2> ReadVxDBMS_ConfFile: unlocking on fd (7) for /usr/openv/db/data/vxdbms_conf.lock
07:47:29.927 [15466] <2> ReadVxDBMS_ConfFile: Releasing mutex
07:47:29.927 [15466] <4> create_util_db_file: Creating /usr/openv/db/bin/util_db.ini
07:47:30.001 [15466] <16> startup_nb_databases: Start database NBDB failed
07:47:30.001 [15466] <16> startup_nb_databases: ErrMsg [Sybase][ODBC Driver][SQL Anywhere]Unable to start specified database: Permission denied, ErrCode -
1, Sqlstate 08001
07:47:30.001 [15466] <4> startup_nb_databases: Removing /usr/openv/db/bin/util_db.ini
07:47:30.090 [15466] <8> createdb: Database [NBDB] can't be started on server [NB_osdbkpbsdpapp1].
07:47:30.090 [15466] <4> create_nbdb_dbspaces: Creating the NetBackup database files.
07:47:30.103 [15466] <4> run_sql_script: Entering.
07:47:30.103 [15466] <4> run_sql_script: Running . /usr/openv/db/vxdbms_env.sh && "/usr/openv/db/bin/dbisqlc"  -q -nogui -c "CS=utf8;UID=dba;PWD=******;LI
NKS=shmem,tcpip{PORT=13785};ENG=NB_osdbkpbsdpapp1;DBN=NBDB" "/usr/openv/db/scripts/create_nbdbspaces.sql" >"/usr/openv/db/scripts/create_nbdbspaces.sql.lo
g"
07:47:30.460 [15466] <16> NBDBsystem: System call failed with status: 1024
07:47:30.460 [15466] <16> run_sql_script: . /usr/openv/db/vxdbms_env.sh && "/usr/openv/db/bin/dbisqlc"  -q -nogui -c "CS=utf8;UID=dba;PWD=******;LINKS=shm
em,tcpip{PORT=13785};ENG=NB_osdbkpbsdpapp1;DBN=NBDB" "/usr/openv/db/scripts/create_nbdbspaces.sql" >"/usr/openv/db/scripts/create_nbdbspaces.sql.log" fail
ed.
07:47:30.460 [15466] <4> run_sql_script: Exiting with rc = 77
07:47:30.460 [15466] <4> createdb: Exiting with rc = 77
07:47:30.471 [15466] <4> create_nbdb: Exiting with rc = 77

5 REPLIES 5

sksujeet
Level 6
Partner Accredited Certified

Are you upgrading or fresh install?

Which OS you are running the setup?

Found below TN with the related error message

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

 

watsons
Level 6

Check if partition of /usr/openv/db  has sufficient diskspace.

But more likely a connection issue to the hostname osdbkpbsdpapp1, check if it resolves to a proper IP address and the reverse IP lookup works.

Nicolai
Moderator
Moderator
Partner    VIP   

07:47:29.645 [15466] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO osdbkpbsdpapp1 10.53.99.99 bpdbm

Do you have a software firewall activated like iptables ?

Try doing a "iptables -L".

Also verify name resolution is in place like Watson suggested.

huanglao2002
Level 6
1 please check hostname and localhost resolve. 2 disable iptables and SELINUX

Marianne
Level 6
Partner    VIP    Accredited Certified

Double-check that you have following entries in /etc/hosts file on the master server:

127.0.0.1       localhost

<IP address>    osdbkpbsdpapp1