Page 1 of 1

Environment variable

Posted: Wed Jan 16, 2008 12:33 am
by abhilashnair
We have a server job which has been running for some time without any problems
The jobs has a ODBC stage a hash file stage and after lookup the data is written to sequential file. Today the job failed with the following error

Abnormal termination of stage Hash File Stage.IDENT1 detected

I reset the job and it gave the following info

From previous run
Could not load program phantom:
Dependent module libgciudt6.so could not be loaded.
Could not load module libgciudt6.so.
System error: No such file or directory

On more analysis I found that the environment variable was not loaded at all. It appeared strange to me. In any job the first step is Loading environment variable
I recompiled and ran the job. This time it ran successfully.

I am still wondering the reason for this.

Posted: Wed Jan 16, 2008 12:39 am
by ray.wurlod
What has changed on your system between when it ran OK and now when it doesn't run?

What is the environment variable that isn't loaded?

Search the forum for "libgciudt6.so".

Posted: Wed Jan 16, 2008 2:27 am
by abhilashnair
Nothing has changed in the system per se.
In the previous successful run of the job there was a info log entry in the Director with the heading
"Environment variable settings:"
The body contained many paths and all other information.

In the failed run also the entry was there but when I expanded the log entry it was empty..not even a single path information was there. The heading "Environment Variable Settings" was intact
This is the reason why it could not find the library.

On recompile everything was back to normal...So this suggests that the environment variable was not being accessed in the failed run. I am not getting the reason for the same

Posted: Thu Jan 24, 2008 4:20 am
by abhilashnair
Anyone any opinion on this?

Posted: Thu Jan 24, 2008 7:01 am
by ray.wurlod
That you are wrong when you assert that nothing had changed.

By recompiling you've destroyed all the evidence.

Posted: Mon Jan 28, 2008 5:29 am
by abhilashnair
I had no other option, I had to get the job up and running.
Recompiling was the only option.
But in my query in above post, I have mentioned the error when the job was reset? Does that help?
ray.wurlod wrote:That you are wrong when you assert that nothing had changed.

By recompiling you've destroyed all the evidence. ...

Posted: Mon Jan 28, 2008 9:27 pm
by ray.wurlod
Not much. Search the forum for "libgciudt6.so", as advised earlier.