• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

dsmapipw fails: tsm client v7.1.8

vilius.m

ADSM.ORG Senior Member
#1
Hello,

TSM server: v7.1.8 Windows 2012 R2
TSM client: v7.1.8 AIX 7.1
DB2: v10.5 FP7

dsmapipw call to set password fails:
Code:
# /db2/db2xxx/sqllib/adsm/dsmapipw
*************************************************************
* Tivoli Storage Manager                                    *
* API Version = 7.1.8                                       *
*************************************************************
Enter your current password:
Enter your new password:
Enter your new password again:
*** Server signon failed: (-1) Unknown rc.
#
# cat /db2/db2xxx/tsm/db2/dsmerror.log
10/27/17   14:44:17 ANS1579E GSKit function GSKKM_ImportKeys failed with 17: GSKKM_ERR_DATABASE_INVALID_FILE_TYPE
10/27/17   14:44:17 ANS9020E A session could not be established with a TSM server or client agent.  The return code is -1.
Downgrading client to v7.1.6 solves the problem so this one clearly related to v7.18 security(ssl?) enhancements.
BA client connects to server just file, and preserves password using new (v7.1.8) format (TSM.KDB instead TSM.PWD).
dsm.sys:
Code:
SErvername server_db2xxx
  COMMMethod             TCPip
  TCPPort                1500
  TCPServeraddress       x.x.x.x
  NODename               sapxxx
  PASSWORDAccess         generate
  PASSWORDDIR            /db2/db2xxx/tsm/db2
  MANAGEDServices        schedule
  ERRORLOGName           /db2/db2xxx/tsm/db2/dsmerror.log
  SCHEDLOGName           /db2/db2xxx/tsm/db2/dsmsched.log
  ERRORLOGRetention      30
  SCHEDLOGRetention      30
  NRTABLEPath            /db2/db2xxx/tsm/db2
Any ideas ?

Thanks,
Vilius M.
 
#2
Hello,

TSM server: v7.1.8 Windows 2012 R2
TSM client: v7.1.8 AIX 7.1
DB2: v10.5 FP7

dsmapipw call to set password fails:
Code:
# /db2/db2xxx/sqllib/adsm/dsmapipw
*************************************************************
* Tivoli Storage Manager                                    *
* API Version = 7.1.8                                       *
*************************************************************
Enter your current password:
Enter your new password:
Enter your new password again:
*** Server signon failed: (-1) Unknown rc.
#
# cat /db2/db2xxx/tsm/db2/dsmerror.log
10/27/17   14:44:17 ANS1579E GSKit function GSKKM_ImportKeys failed with 17: GSKKM_ERR_DATABASE_INVALID_FILE_TYPE
10/27/17   14:44:17 ANS9020E A session could not be established with a TSM server or client agent.  The return code is -1.
Downgrading client to v7.1.6 solves the problem so this one clearly related to v7.18 security(ssl?) enhancements.
BA client connects to server just file, and preserves password using new (v7.1.8) format (TSM.KDB instead TSM.PWD).
dsm.sys:
Code:
SErvername server_db2xxx
  COMMMethod             TCPip
  TCPPort                1500
  TCPServeraddress       x.x.x.x
  NODename               sapxxx
  PASSWORDAccess         generate
  PASSWORDDIR            /db2/db2xxx/tsm/db2
  MANAGEDServices        schedule
  ERRORLOGName           /db2/db2xxx/tsm/db2/dsmerror.log
  SCHEDLOGName           /db2/db2xxx/tsm/db2/dsmsched.log
  ERRORLOGRetention      30
  SCHEDLOGRetention      30
  NRTABLEPath            /db2/db2xxx/tsm/db2
Any ideas ?

Thanks,
Vilius M.
Apparently this is caused by the fact that db2 is using a different version of gskit. I was to fix this by adding a link under $DB2_HOME/lib64
gskit -> /usr/local/ibm/gsk8_64/lib64
After this, the dsmapipw command executed successfully and db2 backups to TSM worked.
 
#3
Apparently this is caused by the fact that db2 is using a different version of gskit. I was to fix this by adding a link under $DB2_HOME/lib64
gskit -> /usr/local/ibm/gsk8_64/lib64
After this, the dsmapipw command executed successfully and db2 backups to TSM worked.
very good !!!
Solved my problem !!!
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 9 20.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 23 52.3%
  • Let's be formal and just say Spectrum Protect

    Votes: 8 18.2%
  • Other (please comement)

    Votes: 4 9.1%

Forum statistics

Threads
31,058
Messages
132,247
Members
21,273
Latest member
ctauber
Top