Page 1 of 1

Scheduler Error loading connector library libccora10g.

Posted: Tue Aug 24, 2010 5:53 pm
by dougcl
Hi folks, everything runs fine firing things off from Director manually, but scheduled jobs fail with
Error loading connector library libccora10g.so
I chased this down to the cron process requiring the LD_LIBRARY_PATH specified in $DSHOME/dsenv, but I'm not sure where to go from here.

Has anyone solved this problem?

Thanks,
Doug

Posted: Tue Aug 24, 2010 6:18 pm
by ray.wurlod
Never encountered it, but can you source the dsenv script in the script that cron runs?

Posted: Wed Aug 25, 2010 12:24 am
by dougcl
ray.wurlod wrote:Never encountered it, but can you source the dsenv script in the script that cron runs?
Hi Ray, normally yes, but in this case, the cron entry is created by Director.
Doug

Posted: Wed Aug 25, 2010 1:22 am
by ray.wurlod
In that case dsenv should have been executed. Look in the second event in the job log (environment variables) and confirm that all the search list environment variables are correctly set. If not, fix dsenv. If they are, check the execution permissions for the library. Also check that the required generic symbolic link to that library exists.

Posted: Wed Aug 25, 2010 6:13 pm
by dougcl
Ray, thanks so much for these recommendations. I'll look into it.

Doug

Posted: Fri Aug 27, 2010 1:13 pm
by dougcl
ray.wurlod wrote:In that case dsenv should have been executed. Look in the second event in the job log (environment variables) and confirm that all the search list environment variables are correctly set. If not, fix dsenv. If they are, check the execution permissions for the library. Also check that the required generic symbolic link to that library exists.

Hi Ray, logs indicate the LD_LIBRARY_PATH variable is getting set properly. Job runs great if scheduled as run once, but fails if scheduled to run regularly. So it is definitely cron related. Seems this rules out permissions or symbolic link problems. We have a PMR in to IBM.

Thanks,
Doug