Bus error (Coredump)

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

rcil
Charter Member
Charter Member
Posts: 70
Joined: Sat Jun 05, 2004 1:37 am

Post by rcil »

hgalusha wrote:BTW, we are HPUX 11.11 as well. Ascential recommended we comment out the LD_PRELOAD statement in the dsenv. We did it and voila, kornshell scripts work again.

Thanks again for your responses and collaboration here.
We are facing the same kind of problem

Below is what I found on the dsenv script about the LD_PRELOAD.

Code: Select all

#LD_PRELOAD must be unset on HP-UX 11.00
        if [ 1111 -le `uname -r | cut -f2 -d.``uname -r | cut -f3 -d.` ]
        then
                LD_PRELOAD=$DSHOME/java/jre/lib/PA_RISC2.0/hotspot/libjvm.sl
                export LD_PRELOAD

fi
If we use "#!/usr/bin/ksh" in scripts then we are getting a bus error. Do we have to add / change anything in this script that will take care of the after routine scripts even if we add "#!/usr/bin/ksh" in the scripts.

Thanks,
RCil
Thanks,
RCil
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As noted, comment out that whole section and then stop/restart DataStage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rcil
Charter Member
Charter Member
Posts: 70
Joined: Sat Jun 05, 2004 1:37 am

Post by rcil »

chulett wrote:As noted, comment out that whole section and then stop/restart DataStage.
Chulett,

Thanks for the very quick reply. If I comment that whole section out then will that affect anything that was listed in the code?

I mean $DSHOME/java/jre/lib/PA_RISC2.0/hotspot/libjvm.sl.

Sorry if this is a simple question as I am not familiar with this script.
Thanks,
RCil
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It simply stops that environment variable from being set, the setting of which is what causes the core dumps to happen. That's all. No adverse effects that I've ever seen in our Server world.
Last edited by chulett on Tue Jan 09, 2007 2:44 pm, edited 1 time in total.
-craig

"You can never have too many knives" -- Logan Nine Fingers
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

chulett wrote:It simply stops that environment variable from being set, the setting of which is what causes the core dumps to happen. That's all. No adverse effects that I've ever seen.
This is only true, apparently, when you're only running Server jobs. If you're running PX (DS EE) jobs, it may kill those jobs... Least that's what they told me.

Best Regards,
Tony Stark
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There, fixed my post just for you Tony. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

chulett wrote:There, fixed my post just for you Tony. :wink:
:D
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Just a thought - what if you execute a Bourne shell script from DataStage and that Bourne shell script invokes your Korn shell script? Does that fail in the same way? Yeah, you shouldn't NEED to, but it might prove to be a workaround. You could even pass the pathname of the Korn shell script as a command line argument to a generic Bourne shell script!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply