• Compartir
  • ?
  • Perfiles ▼
  • Comunidades ▼
  • Aplicaciones ▼

Blogs

  • Mis blogs
  • Blogs públicos
  • Mis actualizaciones

Thoughts from Support

  • Iniciar sesión para participar

ACERCA DE ESTE BLOG

Part of the IBM Analytics family, focused on support for IBM Analytics products. This blog is administered by Kate Nichols and follows the IBM Social Computing Guidelines.
  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • RSS

Archivador

  • abril de 2018
  • marzo de 2018
  • febrero de 2018
  • enero de 2018
  • diciembre de 2017
  • noviembre de 2017
  • octubre de 2017
  • septiembre de 2017
  • agosto de 2017
  • julio de 2017
  • junio de 2017
  • mayo de 2017
  • abril de 2017
  • marzo de 2017
  • febrero de 2017
  • enero de 2017
  • diciembre de 2016
  • noviembre de 2016
  • octubre de 2016
  • septiembre de 2016
  • agosto de 2016
  • julio de 2016
  • junio de 2016
  • mayo de 2016
  • abril de 2016
  • marzo de 2016
  • febrero de 2016
  • enero de 2016
  • noviembre de 2015
  • octubre de 2015
  • septiembre de 2015
  • agosto de 2015
  • julio de 2015
  • junio de 2015
  • mayo de 2015
  • abril de 2015
  • marzo de 2015
  • febrero de 2015
  • enero de 2015
  • diciembre de 2014
  • noviembre de 2014
  • octubre de 2014
  • septiembre de 2014
  • agosto de 2014
  • julio de 2014
  • junio de 2014
  • mayo de 2014
  • abril de 2014
  • marzo de 2014
  • febrero de 2014
  • enero de 2014
  • diciembre de 2013
  • noviembre de 2013
  • octubre de 2013
  • septiembre de 2013
  • agosto de 2013
  • julio de 2013
  • junio de 2013
  • mayo de 2013
  • abril de 2013
  • marzo de 2013
  • febrero de 2013
  • enero de 2013
  • diciembre de 2012
  • noviembre de 2012
  • octubre de 2012
  • septiembre de 2012
  • agosto de 2012
  • julio de 2012
  • junio de 2012
  • mayo de 2012
  • abril de 2012
  • marzo de 2012
  • febrero de 2012
  • enero de 2012
  • diciembre de 2011
  • noviembre de 2011
  • octubre de 2011
  • septiembre de 2011
  • agosto de 2011
  • julio de 2011
  • junio de 2011
  • mayo de 2011
  • abril de 2011
  • marzo de 2011
  • febrero de 2011
  • enero de 2011
  • diciembre de 2010
  • noviembre de 2010
  • octubre de 2010
  • septiembre de 2010
  • agosto de 2010
  • junio de 2010
  • mayo de 2010
  • abril de 2010
  • marzo de 2010
  • febrero de 2010
  • enero de 2010

Etiquetas

TODAS LAS ENTRADAS
  • Ordenar por:
  • Fecha ▼
  • Título
  • Número de "me gusta"
  • Comentarios
  • Vistas

Parameters which need instance restart for change in centralized keystore cfg file

WoongChoi 505V5WD6N5 | | Visits (320)

Tweet
When you use the a configuration file for the centralized keystore with Db2 native encryption, Those following keywords need the instance restart to take effect.   SSL_KEYDB SSL_KEYDB_STASH SSL_KMIP_CLIENT_CERTIFICATE_LABEL   The other parameters are dynamic so they are effective when there is attempt a keystore operation. For detail of centralized keystore cfg file and its parameters, please check the following link. https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.sec.doc/doc/t0062025.html

Accessing the table receives lock timeout after offline reorg is interrupted

db2scope 310002R9XW | | Visits (263)

Tweet
Symptom Accessing the table received lock timeout: db2 'select count(*) from MYTAB' SQL0911N The current transaction has been rolled back because of a deadlock or timeout. Reason code "68". SQLSTATE=40001   Cause This happens because after offline Reorg of table is interrupted at the index creation phase, indexes are marked invalid. Following this event, any attempt to access the table will trigger index rebuilding for the table. A typical stack of the agent working on index rebuilding is as follows:   [1]... [More]

Command admin_move_table receives SQL0270N (Reason code = "52").for a partition table which uses generated column as partition key

db2scope 310002R9XW | | Visits (201)

Tweet
Summary: Command admin_move_table receives SQL0270N (Reason code = "52").for a partition table which uses generated column as partitioning key   Details: The table is defined as follows, note the partitioning key is a generated column. CREATE TABLE MYTAB ... "SUBKEY" VARCHAR(96 OCTETS) NOT NULL IMPLICITLY HIDDEN GENERATED ALWAYS AS (SUBSTR(KEY,1,32)))..PARTITION BY RANGE("SUBKEY")...   Trying to use admin_move_table receives error: $ CALL SYSPROC.ADMIN_MOVE_TABLE ('DB2INST1', 'MYTAB',... [More]

Hands-on example for online tablespace restore and rollforward

WoongChoi 505V5WD6N5 | | Visits (231)

Tweet
In some customer's cases, I faced the situation that some customers wanted to restore and rollforward a specific tablespace from backup image due to the file system corruption on container files of that tablespace. Plus, they ask for the access to tables in other tablespaces without any down time.   Thus, for your understanding, I made a hands-on for 'online tablespace  restore and rollforward' . In this example, you will see ------------------------------------------- 1. the database is up and running 2. tables in... [More]

Etiquetas:  rollforward online restore tablespace

Db2 instance start failed with error SQL6048N

db2scope 310002R9XW | | Visits (291)

Tweet
After the IP address change on the machine,  Db2 instance couldn't be brought up. The error received was: $ db2start 01/01/2018 19:00:00 0 0 SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing. SQL1032N No start database manager command was issued. SQLSTATE=57019 The following messages are found in db2diag.log:   2018-01-01-19.00.00.977600-240 I1094433E797          LEVEL: Severe PID     :1234                 TID :... [More]

Why the storage group status is 0x0000000A

db2scope 310002R9XW | | Visits (551)

Tweet
Normally the storage group status is 0. The following is an example that the storage group status is set to 0x0000000A instead: $ db2pd -d mydb -storagegroup Database Member 0 -- Database MYDB -- Active Standby -- Up 11 days 18:50:57 -- Date 2018-02-20-11.08.11.478864 Storage Group Configuration: Address           SGID Default  DataTag   Name 0x00003FFD04642820... [More]

Etiquetas:  db2

Unable to set DB2COMM when DB2_WORKLOAD is set to SAP

db2scope 310002R9XW | | Comment (1) | Visits (547)

Tweet
In SAP environment, DB2_WORKLOAD is set to SAP. This is an aggregate registry variable and setting DB2_WORKLOAD to SAP automatically set DB2COMM to TCPIP: [i] DB2COMM=TCPIP [DB2_WORKLOAD]   In this environment, unsetting DB2COMM returns following error: db2inst1@bigmac:/home/db2inst1> db2set DB2COMM= DBI1302E  Invalid parameter detected. Explanation: An invalid parameter was used. User response: Use the -? option for the usage help message. If you want to temporarily disable DB2COMM, a workaround is to set SVCENAME in database... [More]

Etiquetas:  db2

Unexpected DB2LUW hang while using Vintella Authentication Services plug-in

Biswarup(Bis)Mukherjee 120000HKTY | | Visits (654)

Tweet
There are few  Technote and Document out there  on this already. But,   wanted to share this  as  some customers still faced this issue lately.   The  symptom is  reported as  sudden hang in  Db2 database.  Nothing progressing. CPU,  memory and I/O were abnormally idle in the box. That is an indication that nothing really running  and  stuck some where. No locking or latching.   A  quick  running  of  "db2pd -stack all"   will... [More]

Etiquetas:  vintella hang authentication plug-in db2luw

High number of getrlimit() call observed from db2ckpwd after Spectre/Meltdown Patches applied

Biswarup(Bis)Mukherjee 120000HKTY | | Visits (649)

Tweet
After applying the Spectre/Meltdown patches  in RedHat  Linux  system hosting  Db2LUW database  connections were timing out. From Linux trace  it  was observed  db2's db2ckpwd  process was  issuing  getrlimit()  system call  many  number of times. Long loop of getrlimit and close. Example, 30607 13:48:58.283090 close(4) = 0 <0.000021> 30607 13:48:58.283159 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024*1024, rlim_max=1024*1024}) = 0 <0.000019> 30607 13:48:58.283247... [More]

Etiquetas:  getrlimit spectre db2ckpwd db2luw

== DEBUGGING CORE FILES [07] == STACK TRACE <-> SOURCE CODE [EXAMPLE 2]

dalla 270000SVT2 | | Visits (1009)

Tweet
== DEBUGGING CORE FILES [07] == STACK TRACE <-> SOURCE CODE [EXAMPLE 2] C program : example2.c [see at the end of entry] Platform : LINUX X86 Compilation: cc -m64 example2.c -o example2 Execution : ./example2 example2.c 12 # example2 example2.c 12 start time: 1519019133sec 111769nsec line = (null) [loop 5246992] Memory fault(coredump) Let's load the core file and print the stack: # gdb example2 mycore ... (no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 ... [More]

Etiquetas:  debug core file

== DEBUGGING CORE FILES [06] == STACK TRACE <-> SOURCE CODE [EXAMPLE 1]

dalla 270000SVT2 | | Visits (1038)

Tweet
== DEBUGGING CORE FILES [06] == STACK TRACE <-> SOURCE CODE [EXAMPLE 1] C program : example1.c [see at the end of entry] Platform : AIX Compilation: cc -q64 example1.c -o example1 Execution : ./example1 example1.c 99 # example1 example1.c 99 Segmentation fault(coredump) Let's load the core file and print the stack: # dbx example1 mycore Type 'help' for help. [using memory image in mycore] reading symbolic information ...warning: no source compiled with -g Segmentation fault in gettimeofday... [More]

Etiquetas:  core debug file

== DEBUGGING CORE FILES [05] == STACK TRACE <-> SOURCE CODE

dalla 270000SVT2 | | Visits (794)

Tweet
== DEBUGGING CORE FILES [05] == STACK TRACE <-> SOURCE CODE We know now what is a stack trace, what help it can provide and how to read it. When a program is compiled with -g the stack trace will usually contain the line number in the source file. In that case it is quite easy to find the exact location in the source. It becomes a bit more complicated when the program was not compiled with -g and most of the time this is the case. To add to this many other things can make your quest even harder, to name a few only: static... [More]

== DEBUGGING CORE FILES [04] == STACK TRACE

dalla 270000SVT2 | | Visits (935)

Tweet
== DEBUGGING CORE FILES [04] == STACK TRACE Now we know how to package, ship and load a core file. Question now is what can we do with it? Most likely anyone who is a bit familiar with C programming heard about 'stack'. But what is it really and how can it help when it comes to core file analysis? The 'stack' is a memory region dedicated to functions. It will provide storage for function's local variables as well as storage for special variables that will be used to guarantee flawless calls and returns between... [More]

Etiquetas:  file core debug

== DEBUGGING CORE FILES [03] == HOW TO LOAD A CORE FILE IN A DEBUGGER?

dalla 270000SVT2 | | Visits (972)

Tweet
== DEBUGGING CORE FILES [03] == HOW TO LOAD A CORE FILE IN A DEBUGGER? Once you have packaged the core file with all the objects required you need to load it into the debugger. If you are running the debugger on the same machine as the one where the core file was generated then not much of an issue, the debugger should be able to locate all required objects. However, if you are running the debugger on a different machine then you need to tell the debugger where to find the objects. So let's see how we can load the core file in... [More]

Etiquetas:  file debug core

== DEBUGGING CORE FILES [02] == HOW TO PREPARE A CORE FILE FOR ANALYSIS?

dalla 270000SVT2 | | Visits (982)

Tweet
== DEBUGGING CORE FILES [02] == HOW TO PREPARE A CORE FILE FOR ANALYSIS? As we mentioned before the core file contains almost all regions that the running process had in it's address space. But not all. Among the missing ones are the 'text' regions. Those regions contains the various instructions that the process would execute. As well, the symbol tables that allow the debugger to print function names, are not included in the core file. Since viewing the assembly code (unless you compiled with -g) will most likely be a... [More]

Etiquetas:  debug file core
  • Mostrar:
  • 10
  • 20
  • 30
  • Anterior
  • Siguiente
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61