Check the .profile to make sure all variable are exported on Linux.
Here is out . bash_profile, do we need to add anything here ?
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
# User specific environment and startup programs
you need to add these below variables
not the same as above as your DB client may have a different path
and then restart the services