Issue with environment Variable

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Issue with environment Variable

Post 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/
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Issue with environment Variable

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: Issue with environment Variable

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Issue with environment Variable

Post by npolovenko »

@ericssonvietnam, Sounds good. I'll close the thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked