Not exactly what thought you were looking for, but it will fix your problem:
systemname:/opt/tivoli # find . -type l | xargs ls  -l
lrwxrwxrwx  1 root root 16 May 26  2005 ./tsm/client/api/bin/en_US ->
../../lang/en_US
lrwxrwxrwx  1 root bin   6 May 26  2005 ./tsm/client/api/releasenotes.doc ->
README
lrwxrwxrwx  1 root root 16 May 26  2005 ./tsm/client/ba/bin/en_US ->
../../lang/en_US
lrwxrwxrwx  1 root bin   6 May 26  2005 ./tsm/client/ba/releasenotes.doc ->
README

If you have the rpm command available, do:
rpm -qp -scripts  TIVsm-BA.rpm

This will show you (among other things):
postinstall scriptlet (through /bin/sh):

and as part of that scriptlet:
# create links for messages
for l in `ls $CLIENTDIR/lang | grep .._..` ; do
  ln -s ../../lang/$l $CLIENTDIR/ba/bin/$l
  [[ $l == "zh_CN" ]] && ln -s ../../lang/$l $CLIENTDIR/ba/bin/$l.GB18030
done


Why alien didn't copy those over to the .deb, I don't know.  I'm not an
alien expert by any means.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Eric Chevalier
Sent: Wednesday, December 28, 2005 1:41 PM
To: [email protected]
Subject: Re: Tivoli Storage Manager install problem


Mark Post wrote:

> Yes, it does match.  You might do an "strace dsmc query session" to
> see if
> anything jumps out at you.  (If you've never done an strace before, it's
> quite an experience.)

That was an excellent idea!!!

First, I ran the strace command with DSM_DIR set to
/opt/tivoli/tsm/client/ba/bin. From what I see in the strace listing, it
looks like dsmc tries to find dsmclientV3.cat in several possible
locations:

open("/opt/tivoli/tsm/client/ba/bin/en_US/dsmclientV3.cat", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/C/dsmclientV3.cat", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/locale/C/LC_MESSAGES/dsmclientV3.cat", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/C/dsmclientV3.cat", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/locale/C/LC_MESSAGES/dsmclientV3.cat", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/opt/tivoli/tsm/client/ba/bin/en_US/dsmclientV3.cat", O_RDONLY) = -1
ENOENT (No such file or directory)


The filelist you provided in a previous note shows that the message
repository should be:

    /opt/tivoli/tsm/client/lang/en_US/dsmclientV3.cat

Which is where it lives on my system, too. But the strace listing shows
no attempt to open the file from that directory. Thinking this might be
an artifact of my DSM_DIR setting, I unset the variable and ran another
trace. Same results.

At this point, I'm kind of wondering: if I'd used "rpm" to install TSM
instead of Debian's "alien" and "dpkg" commands, might there have been a
post-install script that set links in the bin directory to the message
repository? How about your system; do you have a
ba/bin/en_US/dsmclientV3.cat file or symlink?

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to