Page 1 of 1

Issue with environment Variable

Posted: Wed Dec 06, 2017 11:21 pm
by ericssonvietnam
Recently i have found the my home environment variable have changed and i am not able to reset it can you suggest how can i fix it without impacting my application.

-bash-4.1# echo $HOME
/usr/local/nagois/bin/

Re: Issue with environment Variable

Posted: Thu Dec 07, 2017 10:52 am
by npolovenko
Hello, @ericssonvietnam. You said it has changed? How did that happen? If you change the $HOME environment variable after Nagios was already installed you risk running into apache errors, and maybe more problems that would be hard to troubleshoot. What was the original value of the $HOME variable?
As far as the process of changing the home variable, take a look here:
https://stackoverflow.com/questions/207 ... -of-a-user

Re: Issue with environment Variable

Posted: Sun Dec 10, 2017 12:18 pm
by ericssonvietnam
npolovenko wrote:Hello, @ericssonvietnam. You said it has changed? How did that happen? If you change the $HOME environment variable after Nagios was already installed you risk running into apache errors, and maybe more problems that would be hard to troubleshoot. What was the original value of the $HOME variable?
As far as the process of changing the home variable, take a look here:
https://stackoverflow.com/questions/207 ... -of-a-user
issue is fixed now thanks

Re: Issue with environment Variable

Posted: Mon Dec 11, 2017 10:13 am
by npolovenko
@ericssonvietnam, Sounds good. I'll close the thread.