Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

AWSJDB802E error accessing DB2 using composer after SAN problem

270003MR59 gravatar image
Question by Joyce.Wyun  (1545) | Sep 09, 2015 at 09:54 PM db2twscomposer

After SAN issues, no client can connect to DB2 using composer.

composer dis cpu=@

 AWSBIA299I Looking for Workstation objects.                       
 AWSJDB802E An internal error has occurred while connecting to the database. The database connection is not available.              
 

SystemOut.log

 [MM/DD/YY 17:07:10:340 CET] 0000001c ConnectionPoo E   [ibm][db2][jcc]  
 [t4][2010][11246] Connection authorization failure occurred.  Reason:  
 Local security service non-retryable error.DSRA0010E: SQL State = null,
 Error Code = -4,214                                                    
 [MM/DD/YY 17:07:10:347 CET] 0000001c ExceptionMapp E   AWSJDB802E An    
 internal error has occurred while connecting to the database. The      
 database connection is not available.                                  
 [MM/DD/YY 17:07:10:350 CET] 0000001c ConnException E   AWSJDB802E An    
 internal error has occurred while connecting to the database. The      
 database connection is not available.                                  
 [MM/DD/YY 17:07:10:357 CET] 0000001c PropertiesLoa E   AWSJDB802E An    
 internal error has occurred while connecting to the database. The      
 database connection is not available.                                  
 [MM/DD/YY 17:07:10:364 CET] 0000001c ExceptionHelp E   AWSJCL054E The   
 command "extract" has failed, for the following reason: "AWSJDB802E An 
 internal error has occurred while connecting to the database. The      
 database connection is not available.". 

/DB2DIR/sqllib/db2dump/db2diag.log:

 2011-11-02-23.53.57.192505+060 I427386A273        LEVEL: Warning      
 PID     : 1007808              TID : 1                                
 FUNCTION: DB2 Common, Security, Users and Groups, secLogMessage,      
 probe:20                                                              
 DATA #1 : String, 67 bytes                                            
 Password validation for user db2inst1 failed with rc = -2146500315

But able to connect as db2inst1:

 [/home/db2inst1:] db2 connect to twsdb            
    Database Connection Information                                    
  Database server        = DB2/AIX64 9.1.7                             
  SQL authorization ID   = DB2INST1                                    
  Local database alias   = TWSDB 

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
270003MR59 gravatar image
Accepted answer

Answer by Joyce.Wyun (1545) | Sep 09, 2015 at 10:01 PM

Owner permission has been changed inside the DB2 sqllib/security directory.

  1. Check this technote: Configure DB2 authorization encryption algorithm

  2. Check if the db2ckpw and db2chpw files have correct permissions under /DB2DIR/sqllib/security. See the following result:

-r-s--x--x 1 db2inst1 db2adm1 31261 Nov 3 05:42 db2ckpw

-r-s--x--x 1 db2inst1 db2adm1 28170 Nov 3 05:42 db2chpw

These files are owned by db2inst1 not root. The group should be the same as the other files under the /DB2DIR/sqllib/security directory, however, the owner must be root.

To resolve this issue:

Perform the following steps:

  1. db2stop

  2. login as root (not su root)

  3. Backup the original files using "cp -p" option and change the file ownership:

-r-s--x--x 1 root db2adm1 31261 Nov 3 05:42 db2ckpw

-r-s--x--x 1 root db2adm1 28170 Nov 3 05:42 db2chpw

  1. Run [/opt/IBM/db2//instance:] ./db2iupdt db2inst1

  2. db2start

  3. Check the file permissions again to make sure they are correct.

  4. Try composer commands to see if the issue is resolved.

If there is any error when running DB2 commands or if the issue is still not resolved after performing these steps, contact DB2 support for further assistance.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

48 people are following this question.

Answers

Answers & comments

Related questions

How can I apply a fixpack to a TWS backup master if the TWS database resides on a remote DB2 server and the local DB2 instance is also a server? 1 Answer

For a TWS Master that uses DB2 is there a way to configure DB2 to start at boot time? 1 Answer

TWS issue: Stream is not adding to the plan during FINAL even runcycle is already defined 1 Answer

In TWS what causes AWSBCZ021E with composer add or replace? 1 Answer

Can not define calendar after 2038 year using composer 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges