ORA-01017 Invalid password error creating the nas database tables
search cancel

ORA-01017 Invalid password error creating the nas database tables

book

Article ID: 245516

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

nas is unable to create its tables in an Oracle database and is getting this error:

Jun 28 08:48:01:347 [7988] 0 nas: ****************[ Starting ]****************
Jun 28 08:48:01:347 [7988] 0 nas: nas 9.34, Nov 28 2021
Jun 28 08:48:01:347 [7988] 0 nas: Copyright  2013, CA. All rights reserved.
Jun 28 08:48:01:362 [7988] 0 nas: No longer checking for restricted hub license
Jun 28 08:48:01:362 [7988] 0 nas: NAS Services called using mode: 1
Jun 28 08:48:01:362 [7988] 0 nas: Scripting license is available.
Jun 28 08:48:01:378 [10028] 0 nas: maint:  Unable to obtain nimNamedSession for registration to: maintenance_mode
Jun 28 08:48:01:378 [7988] 0 nas: Failed to read a valid probe_crypto_mode from controller. Assuming pre-FIPS and using TWO_FISH
Jun 28 08:48:01:472 [11876] 0 nas: The Activity-Logger is not initialized...
Jun 28 08:48:01:472 [7988] 0 nas: corrInitialize: Last Alive Time: 1656424019
Jun 28 08:48:01:472 [7988] 0 nas: nsInitialize stats: 8 elements in 101 blocks
Jun 28 08:48:02:158 [9084] 0 nas: Successfully attached to HUB.
Jun 28 08:48:02:632 [11488] 0 nas: [ndbOracleOpen]- Error: ndbOracleOpen  OCI_ERROR - ORA-01017: invalid username/password; logon denied


 OCIEnv: 0x0000000000000000 OCIAuthInfo: 0x0000000000000000 OCISvcCtx: 0x0000000000000000 

Jun 28 08:48:02:632 [11488] 0 nas: [ndbOracleOpen] : Error: Unable to Create Environment.  -1
Jun 28 08:48:02:632 [11488] 0 nas: NiS bridge: Failed to initialize database.
Jun 28 08:48:02:632 [11488] 0 nas: NiS Bridge is unable to start, retrying: 1
Jun 28 08:48:02:693 [9084] 0 nas: maint:  Unable to obtain nimNamedSession for registration to: maintenance_mode
Jun 28 08:48:33:362 [11488] 0 nas: [ndbOracleOpen]- Error: ndbOracleOpen  OCI_ERROR - ORA-01017: invalid username/password; logon denied

Environment

  • Release : 20.4
  • Component : UIM - DATA_ENGINE
  • nas

Cause

nas is unable to correctly decrypt the database password from the data_engine.

There is a + sign in the database password that nas is not decrypting correctly resulting in a bad password error.

Resolution

  1. Don't use the + sign.
  2. Verified that _ works fine.
  3. Reset the Oracle user password.
  4. Update the password field in the data_engine
  5. Restart the robot