The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can a child process return a specific value to a parent process ? Ametis1970 High Level Programming 8 04-09-2008 08:22 PM
about child process compbug UNIX for Dummies Questions & Answers 12 03-22-2006 03:55 PM
gdb to child process shriashishpatil UNIX for Advanced & Expert Users 4 12-12-2005 03:57 AM
KDM child process larryase UNIX for Dummies Questions & Answers 6 01-24-2005 01:41 PM
Child Process PID skannan High Level Programming 2 06-10-2002 04:54 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-28-2008
Registered User
 

Join Date: Mar 2008
Location: Delhi
Posts: 7
Oracle library issue in child process

Hi,
I am using a daemon from which I am forking 3 processes
P1,P2,P3 out of which P3 is compiled with oracle lib32/libclntsh.so and P1,P2 are non database process.
The Logic of daemon is that if any one goes down simply clean the other and refork all the 3 again.
P3 is getting forked first time without any problem.But when second time by daemon it is showing ...
"ld.so.1: cp_proc: fatal: libwtc9.so: open failed: No such file or directory" error and not coming up.

I guess there is some guffup with the environment variable(like LD_LIBRARY_PATH) which is not available to P3 second time when it tries to come up.

I tried hard l but to no avail !!

Please suggest any expert opinion !!!
compiler:gcc(32 bit) library(32 bit) sparc SUNW,Sun-Fire-V240
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-28-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,502
My first question would be - are you calling EXEC SQL rollback release; in P3 or are you passing a connection (session) object from the master process?

Try:
Code:
ldd <P3filename>  | grep libwtc9
if libtwc shows up in the ldd display it is not an LD_LIBRARY_PATH kind of problem.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0