ADSM-L

HP/UX client not finding dsm.opt

2001-10-18 19:27:25
Subject: HP/UX client not finding dsm.opt
From: Kai Hintze <kai_hintze AT ALBERTSONS DOT COM>
Date: Thu, 18 Oct 2001 17:24:34 -0600
Have you ever seen a client try to use the DSM_DIR directory for its opt
file?

Yesterday I downloaded the HP/UX 4.1.latest client from Tivoli's web site to
use with a Storage Management Server for MVS - Version 4, Release 1, Level
0.0. It seemed to install ok, but when I try to connect to the server it
claims that <octal 260> is an invalid character in the opt file. A
(commented) session looks something like this:

# the client is a new HP 8xx series running HP/UX 11.0.
newhp:/#uname -a
HP-UX newhp B.11.00 U 9000/800 616339383 unlimited-user license

# I created a small script to export the environment. It seems to work.
newhp:/#. /opt/tivoli/tsm_env
newhp:/#env | grep -i dsm
DSM_DIR=/opt/tivoli/tsm/client/ba/bin
DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt
newhp:/#cd $DSM_DIR

# At this point I should be able to connect to the server, but....
newhp:/opt/tivoli/tsm/client/ba/bin#dsmc
ANS1036S Invalid option '°' found in options file
'/opt/tivoli/tsm/client/ba/bin'
      at line number : 1
      Invalid entry : ''

# It does seem to be looking at the file it says--the directory!
# dsm.opt is pretty standard
newhp:/opt/tivoli/tsm/client/ba/bin#od -c dsm.opt
0000000   s   e   r   v   e   r   n   a   m   e
0000020               t   s   m  \n   t   a   p   e   p   r   o   m   p
0000040   t                                       n   o  \n
0000055
newhp:/opt/tivoli/tsm/client/ba/bin#cat dsm.opt
servername         tsm
tapeprompt         no

# but the bin dir does seem to start with the strange character
newhp:/opt/tivoli/tsm/client/ba/bin> dsmc | od -c
0000000  \n   A   N   S   0   1   1   0   E       L   o   g   M   s   g
0000020   :       U   n   a   b   l   e       t   o       o   p   e   n
0000040       e   r   r   o   r       l   o   g       f   i   l   e
0000060   '   d   s   m   e   r   r   o   r   .   l   o   g   '       f
0000100   o   r       o   u   t   p   u   t   .  \n   A   N   S   1   0
0000120   3   6   S       I   n   v   a   l   i   d       o   p   t   i
0000140   o   n       ' 001 260   '       f   o   u   n   d       i   n
                        ^^^^^^^

0000160       o   p   t   i   o   n   s       f   i   l   e       '   /
0000200   o   p   t   /   t   i   v   o   l   i   /   t   s   m   /   c
0000220   l   i   e   n   t   /   b   a   /   b   i   n   '  \n  \t
0000240   a   t       l   i   n   e       n   u   m   b   e   r       :
0000260       1  \n  \t       I   n   v   a   l   i   d       e   n   t
0000300   r   y       :       '   '  \n  \n
0000311
newhp:/opt/tivoli/tsm/client/ba/bin> od -c . |head
0000000 001 260  \0      \0 364  \0  \0 001 340  \0 220 001   \ 002 020
        ^^^^^^^
0000020  \0  \0  \0 324  \0  \0 001 260  \0  \0  \0  \0 001 240  \0  \0
0000040  \0  \0 001 310  \0  \0  \0   D 002   <  \0 300  \0  \0  \0  \0
0000060 001   l  \0  \0  \0  \0  \0   X 001   <  \0  \0 001 034  \0  \0
0000100 002   $  \0  \0  \0  \0  \f 372  \0 024  \0 007  \0  \0   d   s
0000120   m   .   s   y   s   a   t   e  \0  \0 013 301  \0 024  \0  \t

# it seems like it may be using unicode since it is taking a 2 byte 
# character.

# for completeness sake, here is the dsm.sys
newhp:/opt/tivoli/tsm/client/ba/bin#cat dsm.sys
*ADSM CLIENT SYSTEM OPTIONS FILE FOR QUICKINSTALL
* to direct the schedule log to /var the /adsmlog
* directory must be created with the mkdir command
* before the dsmc sched daemon is run.

SERVERNAME             tsm
  COMMMETHOD           TCPIP
  TCPSERVERADDRESS     ibm2-1
  nodename             newhp
  COMPRESSION          off
  changingretries      2
  inclexcl             /opt/tivoli/tsm/client/ba/bin
  maxcmdretries        8
  retryperiod          15
  schedlogname         /var/adm/schedule.log
  queryschedperiod     2
  schedmode            prompted
  passwordaccess       generate
  schedlogretention    5 d
  mailprog             /usr/bin/mail root
  txnbytelimit         10240
  tcpbuffsize          32
  tcpwindowsize        48
  errorlogretention  10 D

newhp:/opt/tivoli/tsm/client/ba/bin#

I'm trying to RTFM, but not finding anything. Suggestions, pointers, fixes
will be gratefully attempted.

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