Operating System - HP-UX
1834137 Members
2312 Online
110064 Solutions
New Discussion

Execution of command in cron creates core file

 
SOLVED
Go to solution
TWA
New Member

Execution of command in cron creates core file

I am at a loss everyone.

I have a simple script that calls near identical executables. Only difference between the two is the path. The execute fine if done manually.

/cayenta/fintst/fms/sfgsys/bin/sfgmsg -start
and
/cayenta/finprd/fms/sfgsys/bin/sfgmsg -start

In my previous life, this worked fine running on a D380 running 11iv1. This environment is a rx2620 running 11iv23.

I have tried declaring the PATH in the script and inlcuded the #!/usr/bin/sh as the first line of the script.

Everytime the cron attempts to execute the script I get
/usr/lib/dld.sl: Can't find path for shared library: libwtc9.sl
/usr/lib/dld.sl: No such file or directory
[HP ARIES32]: Core file for 32 bit PA-RISC application


Any ideas?
2 REPLIES 2
TTr
Honored Contributor
Solution

Re: Execution of command in cron creates core file

It looks like a shared library path issue. Try adding the SHLIB_PATH variable in the cron script just like you have i setup when you run the script manually.
TWA
New Member

Re: Execution of command in cron creates core file

Thanks.

I thought about that but hadn't attempted yet.