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/
Issue with environment Variable
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Issue with environment Variable
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 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
issue is fixed now thanksnpolovenko 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
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Issue with environment Variable
@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.