IC99680: SEGMENTATION FAULT AND CRASH DURING DSMSERV FORMAT COMMAND
APAR status
-
Closed as program error.
Error description
-
The dsmserv format process can crash with a segmentation fault when initiated by an administrator during manual instance configuration. For example: $ /opt/tivoli/tsm/server/bin/dsmserv format dbdir=/tsmdb activelogdir=/tsmlog archlogdir=/tsmarchlog activelogsize=5120 ANR7800I DSMSERV generated at 12:25:00 on Nov 11 2013. Tivoli Storage Manager for Linux/x86_64 Version 7, Release 1, Level 0.000 Licensed Materials - Property of IBM (C) Copyright IBM Corporation 1990, 2013. All rights reserved. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corporation. ANR7801I Subsystem process ID is 53675. ANR0900I Processing options file /home/tsminst1/dsmserv.opt. ANR7814I Using instance directory /home/tsminst1. ANR4726I The ICC support module has been loaded. ANR0152I Database manager successfully started. ANR2976I Offline DB backup for database TSMDB1 started. ANR2974I Offline DB backup for database TSMDB1 completed successfully. ANR0992I Server's database formatting complete. ANR0369I Stopping the database manager because of a server shutdown. Segmentation fault (core dumped) Customer/L2 Diagnostics: The following failing callstack can be extracted from the dump file generated (Linux example): #0 sqltTraceFacilityCLIDelete() #1 sqleExitApplicationEnvironment() #2 sqlo_execute_list() #3 __run_exit_handlers() #4 exit() #5 __libc_start_main() #6 _start() Initial Impact: Medium Tivoli Storage Manager Versions Affected: All V7 Tivoli Storage Manager servers users. Additional Keywords: TSM CRASH ABORT ABEND RUN_EXIT_HANDLERS SEG FAULT 99671 SQLEEXITAPPLICATIONENVIRONMENT SQLTTRACEFACILITYCLIDELETE
Local fix
-
The segmentation fault can be ignored. The dsmserv format operation completes with success. Alternatively, enable the DB2NOEXITLIST=ON DB2 registry variable to avoid the crash. Use the command "db2set DB2NOEXITLIST=ON" prior to executing the "dsmserv format ..." command. DB2NOEXITLIST should not be set back to OFF after the "dsmserv format ..." has been completed.
Problem summary
-
**************************************************************** * USERS AFFECTED: * * All Tivoli Storage Manager server users. * **************************************************************** * PROBLEM DESCRIPTION: * * See ERROR DESCRIPTION. * **************************************************************** * RECOMMENDATION: * * Apply fixing level when available. This problem is currently * * projected to be fixed in level 7.1.1. Note that this is * * subject to change at the discretion of IBM. * **************************************************************** In addition to the symptom described in the ERROR DESCRIPTION the following symptom may be observed: When DSMSERV FORMAT or DSMSERV LOADFORMAT commands are run on a system that uses a locale other than the English regional locale, the Tivoli Storage Manager Server should automatically set the DB2CODEPAGE to 819. It will fail to do so when this APAR is encountered. Tivoli Storage Manager Versions Affected: All 7.1 Server versions on all platforms Customer/L2 Diagnostics: Activity Log will contain entries like this around the time the issue occurred. . ANR9999D_3831306406 ReportSQLDiagInfo(dbieval.c:1567) Thread<8>: Missing sqlState=57017, sqlCode=-332 from table. Returning rc = 9994. <SNIP> ANR0162W Supplemental database diagnostic information: -1:57017:-332 [IBM][CLI Driver] SQL0332N Character conversion from the source code page "XXX" to the target code page "UNKNOWN" is not supported. SQLSTATE=57017) . db2diag.log will contain an entry like this around the time the issue occurred. db2diag.log YYYY-MM-DD-HH.MM.SS.TTTT LEVEL: Severe PID : 14580 TID : 20 PROC : db2sysc 0 INSTANCE: tsminst1 NODE : 000 DB : TSMDB1 APPHDL : 0-9 APPID: *LOCAL.tsminst1.140421064756 AUTHID : TSMINST1 HOSTNAME: <HOSTNAME> EDUID : 20 EDUNAME: db2agent (TSMDB1) 0 FUNCTION: DB2 UDB, base sys utilities, sqeApplication::SetupCodePageInfo, probe:200 RETCODE : ZRC=0x800F005B=-2146500517=SQLO_NOTABLE "No conversion table exists" DIA8102C Conversion table not loaded. Source code page "XXX", Target code page "819", method "", handle "". Additional Local Fix: Before issuing the DSMSERV FORMAT or DSMSERV LOADFORMAT command, log on to the system as the server instance owner and issue this command: db2set -i instance_name DB2CODEPAGE=819 The code changes made to correct IC99680 address a general issue with the sequence in which the TSM server sets DB2 variables with the "db2set" command. The first symptom is related to the DB2NOEXITLIST DB2 variable, the second symptom is related to the DB2CODEPAGE variable.
Problem conclusion
-
This problem was fixed. Affected platforms: AIX, HP-UX, Solaris, Linux, and Windows.
Temporary fix
Comments
APAR Information
-
APAR number
IC99680
-
Reported component name
TSM SERVER
-
Reported component ID
5698ISMSV
-
Reported release
71L
-
Status
CLOSED PER
-
PE
NoPE
-
HIPER
NoHIPER
-
Special Attention
NoSpecatt
-
Submitted date
2014-02-26
-
Closed date
2014-06-03
-
Last modified date
2014-06-19
-
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
TSM SERVER
-
Fixed component ID
5698ISMSV
Applicable component levels
-
R71L PSY
UP
------------------------------------------------------------------------------------------
如果你觉得文章有用,欢迎打赏
自然语言处理爱好者,欢迎交流。QQ: 7214218