ActiveIQ Unified Manager upgrade fails for Linux versions if a MySQL password is set
Applies to
- ActiveIQ Unified Manager 9.6 on RHEL / CentOS (version independent)
- OnCommand Unified Manager 9.x on RHEL / CentOS (version independent)
- OnCommand Unified Manager 7.x on RHEL / CentOS (version independent)
Issue
The Unified Manager upgrade fails if a password has been set on the Linux platforms.
The error seen on the console during the upgrade is:
ERROR: Unable to update mysql jboss user. MySQL command failed
warning: %post(netapp-platform-base-9.6.0-2019.06.J5063.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package netapp-platform-base-9.6.0-2019.06.J5063.x86_64
FAILURE: netapp-platform-base package is installed, but in corrupt state. Install netapp-platform-base package and try again.
error: %pre(ocie-server-0:9.6.0-2019.06.J5087.x86_64) scriptlet failed, exit status 255
Error in PREIN scriptlet in rpm package ocie-server-9.6.0-2019.06.J5087.x86_64
error: ocie-server-0:9.6.0-2019.06.J5087.x86_64: install failed
FAILURE: ocie-server package is installed but in corrupt state. Install ocie-server package and try again.
error: %pre(ocie-au-0:9.6.0-2019.06.J5087.x86_64) scriptlet failed, exit status 255
Error in PREIN scriptlet in rpm package ocie-au-9.6.0-2019.06.J5087.x86_64
error: ocie-au-0:9.6.0-2019.06.J5087.x86_64: install failed
Updating : netapp-ocum-9.6-1907101850.x86_64 6/12
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)