Question & Answer
Question
Customer has implemented a Korn shell script to start the Tivoli Storage Manager Client scheduler on Solaris, except upon a system restart the scheduler does not start.
Answer
Startup scripts found in the /etc/rc[0-6].d directories are the scripts that start with a capital S + two digits + an identifier name. In Solaris, these scripts follow the standard Bourne shell syntax. Even though the script specifies the Korn shell using "#!/bin/ksh", in the first line, the script will execute "#!/sbin/sh". If the script author uses Korn shell syntax, that is not acceptable by the Bourne shell, the script will terminate execution and the Tivoli Storage Manager client daemon will not start.
Korn shell syntax:
export DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt
The Korn shell syntax above is not valid to the Bourne shell and will cause the script to error out.
The syntax should be changed to use the following syntax that is acceptable to both the Korn shell and the Bourne shell:
DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt
export DSM_CONFIG
Was this topic helpful?
Document Information
More support for:
Tivoli Storage Manager
Software version:
All Supported Versions
Operating system(s):
Solaris
Document number:
332177
Modified date:
17 June 2018
UID
swg21143799