Direct links to fixes
4.1.1-TIV-SAMP-Linux64-FP0001
4.1.1-TIV-SAMP-AIX-FP0001
4.1.1-TIV-SAMP-Linux64-FP0000
4.1.1-TIV-SAMP-AIX-FP0000
SAMP4107_Verification_Signatures
4.1.0-TIV-SAMP-Linux64-FP0007
4.1.0-TIV-SAMP-AIX-FP0007
4.1.0-TIV-SAMP-Linux64-FP0006
4.1.0-TIV-SAMP-Linux-FP0006
4.1.0-TIV-SAMP-AIX-FP0006
4.1.0-TIV-SAMP-Linux64-FP0003
4.1.0-TIV-SAMP-Linux-FP0003
4.1.0-TIV-SAMP-AIX-FP0003
4.1.0-TIV-SAMP-Linux-FP0002
4.1.0-TIV-SAMP-Linux64-FP0002
4.1.0-TIV-SAMP-AIX-FP0002
4.1.0-TIV-SAMP-Linux64-FP0001
4.1.0-TIV-SAMP-Linux-FP0001
4.1.0-TIV-SAMP-AIX-FP0001
4.1.0-TIV-ITSAMP-FP0003, Tivoli System Automation for Multiplatforms
4.1.0-TIV-ITSAMP-FP0004, Tivoli System Automation for Multiplatforms
APAR status
Closed as program error.
Error description
ERROR DESCRIPTION:Ø Execution of the script resulted in : [...] Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls. Press enter to continue ... /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[378]: 0403-057 Syntax error at line 386 : ´else' is not matched. After fixing the "else if' to read "elif", the script failed in a new place: [...] Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls. Press enter to continue ... /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[388]: test: 0403-004 Specify a parameter with this command. This was resolved by adding quotation marks around variables that were used for string comparisons within if-statement tests.
Local fix
Change "else if" to "elif". Add quotation marks around variables that are used for string comparisons within if-statement tests.
Problem summary
**************************************************************** * USERS AFFECTED: Tivoli System Automation for Multiplatforms * (SA MP) 4.1 users using command 'setupAdapterNonRoot.sh' **************************************************************** * PROBLEM DESCRIPTION: * Running the script 'setupAdapterNonRoot.sh' results in the * following error: * ... * Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls. * Press enter to continue ... * /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[378]: 0403-057 * Syntax error at line 386 : ´else' is not matched. * ... * and (after fixing the above issue): * ... * Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls. * Press enter to continue ... * /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[388]: test: * 0403-004 Specify a parameter with this command. * * The first error is caused by a syntax error (else if vs. elif) * The second error is caused by missing quotation marks around * variables that are used for string comparisons within * if-statement tests. **************************************************************** * RECOMMENDATION: ****************************************************************
Problem conclusion
The syntax errors within the script 'setupAdapterNonRoot.sh' have been fixed. . The official fix for this problem is included in fix pack 1 of Tivoli System Automation for Multiplatforms 4.1 | 4.1.0-TIV-ITSAMP-FP0001 | . Additional Search Keywords .
Temporary fix
Comments
APAR Information
APAR number
IV64057
Reported component name
SA MULTIPLATFOR
Reported component ID
5724M0000
Reported release
410
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2014-08-27
Closed date
2014-10-28
Last modified date
2014-10-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SA MULTIPLATFOR
Fixed component ID
5724M0000
Applicable component levels
Document Information
Modified date:
25 September 2023