Operating System - Linux
1830238 Members
3462 Online
109999 Solutions
New Discussion

Re: Script stopped working!

 
SOLVED
Go to solution
Raymond R Walsh Jr
Occasional Contributor

Script stopped working!

We have a ksh script that has been running for several years. It recently stopped working and there has been no change to the script nor to the OS. My question is the error that is given does not appear to relate to a line number. Does anyone know what the following message means in regards to the value in the brackets?

"select_lib[33]: process already exists"
3 REPLIES 3
Sandman!
Honored Contributor
Solution

Re: Script stopped working!

Hi Raymond,

With the info provided its either a function or another shell script that is called from within this script. Might help if you could run your erroneous script in debug mode as follows:

# ksh -x

cheers!
Arturo Galbiati
Esteemed Contributor

Re: Script stopped working!

I agree with Sandman,
from your message it seems thatan object called select_lib has been created on your system, so when you try to invoke it, the system retruns error.
this can also explain why if you didn't tuch the script it not run now. No chnge in the script but in the environment.
I suggest you to chnage the name of your function. just a little trick: use always name in uppercase to avoid conflit with OS command.

HTH,
Art
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Script stopped working!

May be killing that process help.
Vibhor Kumar Agarwal