We have two nodes in a cluster in a load balancer running third party WebSphere application.
We have noticied that ./sqlldr location is different for both the nodes.
For one node , its:
/usr/app/oracle/product/11.2.0/client
For another, , it is:
/usr/app/oracle/product/11.2.0/client_1
I believe this is causing the problem in our WebSphere application whose configuration file has one path for se
I have a user XX and I want to set the env variables for it. I looked for .bash_profile in the home dir but there was none. SO, I tried with .bashrc, but when I try to see the env variables (printenv), my variables are not there. This is killing me. I tried for root, and it works. But it does not work for user XX.
I have tried to get some variable through Java (System.getenv()) which was set inside ~/.bashrc
It hasn't appeared in the list of variables.
From the lfs doc:
The exec env -i.../bin/bash command in the .bash_profile replaces
the running shell with a new one with a completely empty
environment, except for the HOME, TERM, and PS1 variables. This
ensures that no unwanted and potentially hazardous environment
variables from the host system leak into the build environment.
I had a problem that my cron script wasnt loading the environment variables so I added the following line:
#!/bin/sh
bash /root/.bash_profile
This seems to have no effect and the path variables are not being set correctly.
How do I run the bash_profile script
Close but not quite there, that just wipes all the environment variables. Any idea how I could get the default variables for $USER from there? Thanks, BTW.
Gullible Jones
https://bbs.archlinux.org/profile.php?id=2672
2012-09-11T02:29:25Z
I have OSX 10.8.2 with ZSH as my shell and iTerm as a terminal (don't know if the last thing is relevant).
We are experiencing some unusual behavior on a RHEL 5 / 5.5 (Tikanga) box with respect to environment variables, namely "http_proxy."
We have a non-privileged user running Apache 2.2.x, PHP 5.3.x, and MySQL 5.5.x. One of the requirement was for a PHP-based SOAP service to communicate with an external server outside of the DMZ.
I noticed a difference in 'env' before and after a 'screen' call, is there any additional clarity on what gets called (for setting environment variables)?