TPT in Red Hat Linux - Dumping core

Tools & Utilities

TPT in Red Hat Linux - Dumping core

A Simple TPT Script (having simple SELECT from a table and writing into a file) is dumping Segmentation CORE fault.

The Same Program is working fine when we tried with ROOT user.

After spending long time with CORE dump, we have tried adding our application id into /etc/passwd.

The TPT worked fine and there was no CORE dump.

Our Linux servers are in CLUSTER and under the centralized authentication mechanism through LDAP and there is no manual propagation of user ids into /etc/passwd.

Why the TPT is strongly expecting the entry in /etc/passwd.

Are we missing any patch from OS or is there any imbalance in our installation?

Any help is very much appreciated.

Server Details

~~~~~~~~~~~~

Red Hat Enterprise Linux Server release 6.5 (Santiago)

Linux 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

Installed Packages

~~~~~~~~~~~~~~

Name        : TeraGSS_linux_x64

Arch        : noarch

Version     : 14.00.00.00

Release     : 1

Size        : 52 M

Repo        : installed

Summary     : Teradata GSS client package

License     : Commercial

Description : This is the Teradata GSS client package

Name        : bteq

Arch        : i386

Version     : 14.00.00.02

Release     : 1

Size        : 487 k

Repo        : installed

Summary     : Teradata BTEQ Utility

License     : Commercial

Description :

            : Teradata BTEQ Utility for 32bit Redhat Linux.

            : Copyright 1984-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : cliv2

Arch        : noarch

Version     : 14.00.00.02

Release     : 1

Size        : 2.1 M

Repo        : installed

Summary     : Teradata CLIV2 Library

License     : Commercial

Description : Teradata CLIV2 Library for Linux.

            : Copyright 1986-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : fastexp

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 626 k

Repo        : installed

Summary     : Teradata FastExport Utility

License     : Commercial

Description :

            : Teradata FastExport Utility for 32bit Redhat Linux.

            : Copyright 1996-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : fastld

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 411 k

Repo        : installed

Summary     : Teradata FastLoad Utility

License     : Commercial

Description :

            : Teradata FastLoad Utility for 32bit Redhat Linux.

            : Copyright 1996-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : jmsaxsmod

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 100 k

Repo        : installed

Summary     : Teradata Access Module for JMS

License     : Commercial

Description : Teradata Access Module for JMS for 32-bit Linux

            : Copyright 2007-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : mload

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 652 k

Repo        : installed

Summary     : Teradata MultiLoad Utility

License     : Commercial

Description :

            : Teradata MultiLoad Utility for 32bit Redhat Linux.

            : Copyright 1990-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : mqaxsmod

Arch        : i386

Version     : 14.00.00.00

Release     : 1

Size        : 352 k

Repo        : installed

Summary     : Teradata WebSphere(r) Access Module

License     : Commercial

Description :

            : Teradata WebSphere(r) Access Module for 32bit Redhat Linux.

            : Copyright 2004-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : piom

Arch        : noarch

Version     : 14.00.00.04

Release     : 1

Size        : 1.0 M

Repo        : installed

Summary     : Teradata Data Connector Access Module API

License     : Commercial

Description : Teradata Data Connector Access Module API for Linux.

            : Copyright 1997-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : sqlpp

Arch        : noarch

Version     : 14.00.00.04

Release     : 1

Size        : 1.1 M

Repo        : installed

Summary     : Teradata C Preprocessor

License     : Commercial

Description : Teradata C Preprocessor for Linux.

            : Copyright 1987-2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : tdicu

Arch        : noarch

Version     : 14.00.00.00

Release     : 1

Size        : 24 M

Repo        : installed

Summary     : Shared common components for Internationalization for Teradata

License     : Commercial

Description : ICU libraries to support UNICODE for Client utilities package for 64bit Linux.

            : ICU is a C++ and C library that provides robust and full-featured Unicode

            : and locale support. This package contains the runtime libraries for ICU

            : with modifications for use with Teradata utilities.

            : Copyright (C) Teradata Corporation, 2011 All Rights Reserved.

Name        : tdodbc

Arch        : noarch

Version     : 14.00.00.02

Release     : 1

Size        : 49 M

Repo        : installed

Summary     : Teradata ODBC driver Package

License     : Commercial

Description : Teradata ODBC driver package for Linux.

            : Copyright 2006 - 2011 by Teradata Corporation

            : All Rights Reserved.

            : TERADATA CONFIDENTIAL AND TRADE SECRET

            :

            : Portions of this software are copyrighted

            : by DataDirect Technologies 2006 - 2011

Name        : tdwallet1400

Arch        : noarch

Version     : 14.00.00.03

Release     : 1

Size        : 8.6 M

Repo        : installed

Summary     : Teradata Wallet

License     : Commercial

Description : Teradata Wallet for Linux.

            : Copyright 2011, Teradata Corporation. ALL RIGHTS RESERVED.

Name        : tptbase1400

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 13 M

Repo        : installed

Summary     : Teradata Parallel Transporter Base Package

License     : Commercial

Description : Teradata Parallel Transporter Base Package for Linux.

            : Copyright 2000-2011, Teradata Corporation. All Rights Reserved.

Name        : tptstream1400

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 572 k

Repo        : installed

Summary     : Teradata Parallel Transporter Stream Package

License     : Commercial

Description : Teradata Parallel Transporter Stream Package for Linux.

            : Copyright 2001-2011, Teradata Corporation. All Rights Reserved.

Name        : tpump

Arch        : i386

Version     : 14.00.00.03

Release     : 1

Size        : 814 k

Repo        : installed

Summary     : Teradata Parallel Data Pump Utility

License     : Commercial

Description :

            : Teradata Parallel Data Pump Utility for 32bit Redhat Linux.

            : Copyright 1997-2011, Teradata Corporation. ALL RIGHTS RESERVED.

4 REPLIES

Re: TPT in Red Hat Linux - Dumping core

Dear Experts,

Please help us with this issue?

Your suggestions/guidelines is much appreciated.

Teradata Employee

Re: TPT in Red Hat Linux - Dumping core

We do not normally test with client boxes in a cluster.

We are trying to emulate the environment to see if we can duplicate the issue.

-- SteveF

Re: TPT in Red Hat Linux - Dumping core

Just wanted to respond so that anyone who finds this thread via Google (as I did) sees the update..    I was hitting this exact same issue, with TPT hitting a segmentation fault when my username wasn't explicitly listed in /etc/passwd (because we use a federated LDAP setup for logins to hosts).   I was using TPT 14.10.00.18 on RHEL6.  The hacky workaround was to just add my username to /etc/passwd.  But I also engaged with Teradata support, who provided a D2D patch on top of TPT 14.10.00.18  that is working for us now!  The Teradata internal JIRA ID is TPT-29702.  I'm hoping this fix will make it into one of the next versions of TPT (maybe 14.10.00.19?)

Teradata Employee

Re: TPT in Red Hat Linux - Dumping core

Correct.

What we are doing is this:

1. Look in /etc/passwd for the userid; if present, use it

2. If not, then we will look at the $LOGNAME environment variable and, if populated, use it.

3. If not, then we will look at the $USER environment variable and, if populated, use it.

4. If not, then we will use the UID of the user.

We are doing our best to run the job without terminating due to the absence of certain user name locations.

And yes, this solution will be made available in efixes to 14.10, 15.00, 15.10 and 16.00.

-- SteveF