ADSM-L

Re: SQL2062N error and 406 while trying to backup DB2 with TSM

2005-06-16 09:43:17
Subject: Re: SQL2062N error and 406 while trying to backup DB2 with TSM
From: "Allen S. Rout" <asr AT UFL DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 16 Jun 2005 09:42:58 -0400
==> On Thu, 16 Jun 2005 14:43:56 +0200, Richard van Denzel <RvanDenzel AT SLTN 
DOT NL> said:


> I'm trying to backup DB2 using TSM. When I issue the command:

> db2 backup db LDAPDB online use tsm

> I get the following error:

> SQL2062N  An error occurred while accessing media
> "/home/db2ldp/sqllib/adsm/libtsm.a".   reason code: "406".

> I've checked all my environment variables (DSMI_DIR, DSMI_CONFIG) and the
> dsm.opt pointed to by DSMI_CONFIG is present and readable.
> The dsm.sys is readable for the instance owner and he also may write in
> the log-directory.
> Environment variables are available wit both set and env commands.

> Has anyone got a clue to what is going wrong?

Have you restarted the instance since you set the environment variables?

The 'db2 backup' command may be understood as making a request of the server
instance, which does all the work.

It is the environment (DSMI_CONFIG, etc) of the process which is running the
instance which is relevant, not the environment of the process running the
'db2 backup' command.


- Allen S. Rout

<Prev in Thread] Current Thread [Next in Thread>