tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Iwan R Tamimi <tamimii () m1 ! com ! sg>
To: tru64-unix-managers
Subject: korn shell interupt signal problem
Date: Wed, 18 Apr 2001 03:11:39 +0000	[thread overview]
Message-ID: <98756368420174.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C0C7B5.49208590", Size: 4142 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0C7B5.49208590
Content-Type: text/plain;
	charset="iso-8859-1"

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@m1.com.sg


------_=_NextPart_001_01C0C7B5.49208590
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>korn shell interupt signal problem</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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&nbsp; korn shell shell (it run through &quot;eval =
nohup script.ksh&quot;) which also contains an sql statement for =
oracle. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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&nbsp; the operator run the program from =
the menu,&nbsp; the porgram spawned with eval and no hup, then he&nbsp; =
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)</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">So is this a korn shell bugs? Or need =
some system parameter change?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thank you for your attention.</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">The log:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">#&gt; more test_c_010417.log</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">start trap</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">stop trap</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Start At: Tue Apr 17 15:26:23 SST =
2001</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">2000000 rows deleted.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">declare</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ERROR at line 1:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ORA-01013: user requested cancel of =
current operation</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ORA-06512: at line 5</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">So</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial Black">Iwan R. =
Tamimi</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial =
Black">IS-DCOps</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial Black">MobileOne =
</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial =
Black">tamimii@m1.com.sg</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0C7B5.49208590--

                 reply	other threads:[~2001-04-18  3:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox