Ans1025e (rc137) - tdpo 5.5.1

Andriano

ADSM.ORG Member
Joined
Apr 17, 2007
Messages
19
Reaction score
0
Points
0
Hello everybody.
I am trying to implement a TDPO 5.5.1. But I receive an error when I try to issue a command:
--------------------------
/home/oracle$ tdpoconf password -TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt
--------------------------
The output is:
--------------------------
IBM Tivoli Storage Manager for Databases:
Data Protection for Oracle
Version 5, Release 5, Level 1.0
(C) Copyright IBM Corporation 1997, 2008. All rights reserved.
***************************************************************
* IBM Tivoli Storage Manager for Databases Utility
* Password file initialization/update program
***************************************************************
Please enter current password:
Please enter new password:
Please reenter new password for verification:
ANS1025E (RC137) Session rejected: Authentication failure
/home/oracle$
-----------------------
I have brocken my head now but can't find the right solution. Could you please advice me - what is wrong?
For help to analyse I can provide a configuration information.
I use AIX 5.3
The configuration files are:
------------------------------
/# cat /usr/tivoli/tsm/client/ba/bin/dsm.sys
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client System Options file for AIX and SunOS (dsm.sys.smp) *
************************************************************************

* This file contains the minimum options required to get started
* using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file,
* enter the appropriate values for each option listed below and
* remove the leading asterisk (*) for each one.

* If your client node communicates with multiple TSM servers, be
* sure to add a stanza, beginning with the SERVERNAME option, for
* each additional server.

************************************************************************

SErvername p690
COMMMethod TCPip
TCPPort 1500
TCPServeraddress 192.168.64.5
TCPClientaddress 192.168.190.240
nodename p690
httpport 1581
passwordaccess generate
passworddir /home/oracle
schedmode prompted
schedlogname /home/oracle/sched.log
schedlogretention 28
ERRORLOGNAME /usr/tivoli/tsm/client/ba/bin/dsmerror.log

SErvername p690tdpo
COMMMethod TCPip
TCPPort 1500
TCPServeraddress 192.168.64.5
TCPClientaddress 192.168.190.240
nodename p690tdpo
PASSWORDAccess generate
passworddir /home/oracle/pwddir_p690tdpo
schedmode prompted
schedlogname /home/oracle/sched.log
ERRORLOGNAME /usr/tivoli/tsm/client/ba/bin/dsmerror.log

/# cat /usr/tivoli/tsm/client/ba/bin/dsm.opt
************************************************************************
* Tivoli Storage Manager *
* *
* Sample Client User Options file for AIX and SunOS (dsm.opt.smp) *
************************************************************************

* This file contains an option you can use to specify the TSM
* server to contact if more than one is defined in your client
* system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt.
* If you enter a server name for the option below, remove the
* leading asterisk (*).

************************************************************************

* SErvername A server name defined in the dsm.sys file
SErvername p690

/# cat /usr/tivoli/tsm/client/oracle/bin64/tdpo.opt
***************************************************************************
* IBM Tivoli Storage Manager for Databases
* Data Protection for Oracle
*
* Sample tdpo.opt for the AIX Data Protection for Oracle 64bit
*********************************************************************

*DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm.opt
*DSMI_LOG <dirname>

*TDPO_FS orc9_db
*TDPO_NODE <hostname>
*TDPO_OWNER <username>
*TDPO_PSWDPATH /usr/tivoli/tsm/client/oracle/bin64

TDPO_DATE_FMT 2
TDPO_NUM_FMT 1
TDPO_TIME_FMT 1

*TDPO_MGMT_CLASS_2 mgmtclass2
*TDPO_MGMT_CLASS_3 mgmtclass3
*TDPO_MGMT_CLASS_4 mgmtclass4

DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm.opt
DSMI_LOG /home/oracle
TDPO_TRACE_FILE /home/oracle/tdpo.out

/# cat /usr/tivoli/tsm/client/oracle/bin64/dsm.opt
SErvername p690tdpo

/# ls -la /usr/tivoli/tsm/client/api/bin64/
total 22632
drwxr-xr-x 3 root system 256 Sep 30 08:36 .
drwxr-xr-x 4 root system 256 Sep 26 08:20 ..
-rw-r--r-- 1 root system 20 Sep 30 08:45 dsm.opt
lrwxrwxrwx 1 root system 37 Sep 26 09:10 dsm.sys -> /usr/tivoli/tsm/client/ba/bin/dsm.sys
-r--r--r-- 1 root system 971 Jun 11 02:14 dsm.sys.smp
-rwsr-xr-x 1 root system 5448480 Jun 11 02:14 dsmtca
lrwxrwxrwx 1 root system 33 Sep 26 08:20 en_US -> /usr/tivoli/tsm/client/lang/en_US
-r-xr-xr-x 1 root system 6126372 Jun 11 02:14 libApiTSM64.a
drwxr-xr-x 2 root system 4096 Sep 26 08:20 sample
-------------------------------------------

Is it true that I have to use different node names for my usual TSM client and for TDPO ?
Help me please to resolve my problems.
Thank you in advance
 
Basically looks like you're not entering the password which the node p690tdpo was registered with. If you're forgotten it issue and update node p690tdpo passhere exp=0 on the TSM server and then run the tdpoconf again to set the API password on the TSM/TDP client.
 
Change this line:

*TDPO_FS orc9_db
TDPO_NODE <node_name_for_oracle> <<==== NOTE on this!!
*TDPO_OWNER <username>
*TDPO_PSWDPATH /usr/tivoli/tsm/client/oracle/bin64

The BA client (FS backup) node name must be different from the client's oracle node name. Two schedulers must be setup: one for the Client (FS backup) and the other for the node's Oracle name.
 
Change this line:

*TDPO_FS orc9_db
TDPO_NODE <node_name_for_oracle> <<==== NOTE on this!!
*TDPO_OWNER <username>
*TDPO_PSWDPATH /usr/tivoli/tsm/client/oracle/bin64

The BA client (FS backup) node name must be different from the client's oracle node name. Two schedulers must be setup: one for the Client (FS backup) and the other for the node's Oracle name.


I'm wondering if that really needs to be specified, in the manuals for 5.4 and 5.5 is says not to specify it when passwordaccess is set to generate.

When passwordaccess generate is specified in the dsm.sys file, do NOT specify the tdpo_node option in the tdpo.opt file.

I checked on a few of my systems here and unfortunately we use passwordaccess prompt for our so the tdpo_node is enabled on those machines.
 
Last edited:
Thanks for interest to help me.
Now I have tried to uncomment
TDPO_NODE p690tdpo
in tdpo.opt file. But when I start 'tdpoconf password' I receive an error that I have to use passwordaccess prompt. I changed to prompt. And still receive an error ANS1025E. So I have returned all changes back to passwordaccess generate and have commented TDPO_NODE.

What about initial passwords.
When I made a registration of node in TSM server. I issue a command on a client under root user:
dsmc -server=p690tdpo
It asks ne about user name and password. I type it and enter to dsmc client CLI. And it works great. Also I make a command
chmod 775 TSM.PWD
Because initially I see for this password file:
-rw------- root system TSM.PWD
After it I su to oracle user and try to make
tdpoconf password
and in this situation I receive an error ANS1025E
Really don't know what to do next...
 
Thanks for interest to help me.
Now I have tried to uncomment
TDPO_NODE p690tdpo
in tdpo.opt file. But when I start 'tdpoconf password' I receive an error that I have to use passwordaccess prompt. I changed to prompt. And still receive an error ANS1025E. So I have returned all changes back to passwordaccess generate and have commented TDPO_NODE.

What about initial passwords.
When I made a registration of node in TSM server. I issue a command on a client under root user:
dsmc -server=p690tdpo
It asks ne about user name and password. I type it and enter to dsmc client CLI. And it works great. Also I make a command
chmod 775 TSM.PWD
Because initially I see for this password file:
-rw------- root system TSM.PWD
After it I su to oracle user and try to make
tdpoconf password
and in this situation I receive an error ANS1025E
Really don't know what to do next...

Have you tried deleting that TSM.PWD file under passworddir /home/oracle/pwddir_p690tdpo and then su - oracle and running the tdpoconf password command?

It's been a while since i've done any oracle TDP setups but I thought ran tdpoconf as the user that will actually be doing the backup.
 
Have you tried deleting that TSM.PWD file under passworddir /home/oracle/pwddir_p690tdpo and then su - oracle and running the tdpoconf password command?

It's been a while since i've done any oracle TDP setups but I thought ran tdpoconf as the user that will actually be doing the backup.

Hello Mikey.
I have tried it. I receive an error. Here it is:
/home/oracle$ dsmc -server=p690tdpo
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
Client Version 5, Release 5, Level 1.0
Client date/time: 10/02/08 03:58:25
(c) Copyright by IBM Corporation and other(s) 1990, 2008. All Rights Reserved.

Node Name: P690TDPO
ANS1503E Valid password not available for server 'P690TDPO'.
The administrator for your system must run TSM and enter the password to store it locally.
/home/oracle$
 
Back
Top