While trying to install the Release Automation Agent on AIX it returns the following error messages:
Nov, 16, 2017 2:56:18 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs.Unix error code 0.
Nov, 16, 2017 2:56:18 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
The terminal would still give its normal prompts for the installer with these types of messages periodically showing up.
The cause is related to a files in a directory (a $HOME/.java/.userPrefs) that seem to be conflicting with files that are trying to be used during the installation.
These steps were used to successfully install the agent without these messages appearing:
Note: $HOME was used exactly as is in steps 1 and 2. In steps 4-6 we replaced $HOME with the absolute directory path that $HOME evaluates to. Ex: /home/myusername