This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
corepuncher,
It seems like the PATH environment variable is different in the two cases.
Please execute the following commands as "root" and send me their output:
su - ldm -c 'echo $SHELL; echo $PATH'
su - ldm
echo $SHELL
echo $PATH
> Steve, here is tail -10,000 of ldmd.log:
>
> http://www.corepuncher.com/misc/corepuncher.log
>
> Again, if I "su - ldm" then "ldmadmin start" from terminal, all is well.
> But if I try to run by script, then ldm RUNS...it SAYS it's running, but
> stuff is broken.
>
> Thanks.
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: NYK-599005
Department: Support LDM
Priority: Normal
Status: Closed