AIX APMIA not configured and giving error
book
Article ID: 402035
calendar_today
Updated On:
Products
DX APM SaaS
Issue/Introduction
Tried to upgrade agent from 24.4 to 25.4 however it is failing.
Resolution
- The groovy script uses Files.setPosixFilePermissions()
- Java's PosixFilePermissions rely on the file system supporting the posix file attribute view.
- On AIX (especially with JFS2), this support might not be available, so Files.setPosixFilePermissions() won't work as expected.
- Instead, set permission from bootstrap script in this case.
- The bootstrap scripts looks for scriptDir using \$(dirname "\$0"). This returns directory location of script file.
- If we are at same location it will simply return "." which for APMIA install/uninstall
- But sysedge fails as it is referring this variable in its setup script. It is expecting the absolute path.
- The corrected script works for sysedge as well would be scriptDir=\$(cd "\$(dirname "\$0")" && pwd)
- Add slibcleaan to installer
Feedback
thumb_up
Yes
thumb_down
No