How does changing the UID of the nagios user on nagios log server prevent the elasticsearch database from starting?
We created a share on a brickstor unit to archive as part of the "Managing Snapshots and Maintenance" procedure. However the UID of 500 was taken up in the brickstor system. The next available UID was on the brickstor was 502. On the log server we where able to switch the UID of the nagios user to 502. This should allow us the mount the share on the brickstor with the same owner and group as the log server.
With the UID changed to 502 the elasticsearch service wont start on the log server, changing it back to 500 allows it to start again.
Is there something I am missing or do I need to rebuild the log server from scratch assigning the nagios user with a UID of 502 before the install?
Thanks
changing UID for nagios user
Re: changing UID for nagios user
The ownership of files will still point to the old UID. You can update these with:
Code: Select all
find /var/ -user 500 -exec chown -h 502 {} \;
find /usr/local/ -user 500 -exec chown -h 502 {} \;As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: changing UID for nagios user
This worked - Thank you
Re: changing UID for nagios user
Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.