Hi Lee,

I'm not that familiar with BPEL, so perhaps you can elaborate on it. When it starts a shell to execute commands as a user (oracle in this case), does it always launch the shell specified in the user's /etc/ passwd (/bin/bash) or does it simply start a POSIX shell (/bin/sh). If BPEL only starts a POSIX shell, then you will not pick up anything from .bash_profile. Indeed, unless the shell is started as a "login" shell, you might not even get .profile.

If BPEL avoids starting any sort of shell and simply runs the programs directly (via fork() and exec()), then you may not even get $HOME depending on what environment variables BPEL passes in to the exec() call.

Try running the "env" command from BPEL and review the results. Pay particular attention to the contents of $SHELL, $HOME, and look to see if $GNUPGHOME is present and set as expected.

Regards,
Joe


On Feb 4, 2009, at 12:55 PM, [email protected] wrote:

Here is the bash_profile for oracle


-bash-3.00$ more .bash_profile

export GNUPGHOME=/opt/oracle/.gnupg

export ORACLE_BASE=/opt/oracle

export ORACLE_HOME=/opt/oracle/product/10.1.3.1/OracleAS_1

PATH=$PATH:$HOME/bin

export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:/usr/sbin:/ usr/local/bi

n:/usr/bin



PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/oracle/bin:/ usr/sbin; e

xport PATH

unset USERNAME

umask 022

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users


_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to