korn shell interupt signal problem

From: Iwan R Tamimi <tamimii_at_m1.com.sg>
Date: Wed, 18 Apr 2001 11:11:39 +0800

Hi All,

We have a strange problem. We have a korn shell script for operator menu.
the menu is hierarchical, to go back to upper menu the programmer do the
ctrl-c. Through the menu it will run another korn shell shell (it run
through "eval nohup script.ksh") which also contains an sql statement for
oracle.

The menu and the script was OK when we run on GS140 Tru64 UNIX V4.G with the
patch kit 2 and we move to GS160 with the same OS and was OK the first time
but after sometimes the menu and script act strangely. After the operator
run the program from the menu, the porgram spawned with eval and no hup,
then he do the ctrl-c from the menu and the strange thing happen, the
spawned process also got interupted .we see it from the log ( see it bellow)

So is this a korn shell bugs? Or need some system parameter change?

Thank you for your attention.





The log:

#> more test_c_010417.log
start trap
stop trap
Start At: Tue Apr 17 15:26:23 SST 2001


2000000 rows deleted.

declare
*
ERROR at line 1:
ORA-01013: user requested cancel of current operation
ORA-06512: at line 5

So
 

Iwan R. Tamimi
IS-DCOps
MobileOne
tamimii_at_m1.com.sg
Received on Wed Apr 18 2001 - 03:14:45 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT