Hmm...that's interesting on a couple fronts.

> 
> I have changed the hostname outputs below to be "localhost" in this post.
> 
> -bash-3.2$ cat .bashrc
> export ZENHOME="/opt/zenoss"
> export PATH="${ZENHOME}/bin:${PATH}"
> export PYTHONPATH="/opt/zenoss/lib/python"
> export LD_LIBRARY_PATH="/opt/zenoss/lib"
> 


I was expecting to see your ~zenoss/.bashrc vector through a system
level bashrc first before the exports with something like this at the top:


> 
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>       . /etc/bashrc
> fi
> ...
> 


And by the looks of your environment, your ~zenoss/.bashrc is not getting
sourced in for some reason.  Notice how none of the key environment variables 
from above are not set in the output below.  That would be bad. :-/


> 
> -bash-3.2$ env | grep -v ^LS
> HOSTNAME=localhost
> SHELL=/bin/bash
> TERM=linux
> HISTSIZE=1000
> USER=zenoss
> MAIL=/var/spool/mail/zenoss
> PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
> INPUTRC=/etc/inputrc
> PWD=/home/zenoss
> LANG=en_US.UTF-8
> SHLVL=1
> HOME=/home/zenoss
> LOGNAME=zenoss
> LESSOPEN=|/usr/bin/lesspipe.sh %s
> G_BROKEN_FILENAMES=1
> _=/bin/env
> 


What does your ~zenoss/.bash_profile look like?

Regards,

Glenn




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35066#35066

-------------------- m2f --------------------



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

Reply via email to