DX NetOps Virtual Network Assurance (VNA) install hangs at the "Copying APM configuration files" step:
----
Please re-enter the password for root@localhost account in MySQL>
Installing MySQL
Configuring MySQL startup
Initializing MySQL
Starting MySQL service
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/CA/MySql/data/mysql.sock' (2)
[...]
Installing Wildfly
Setting up standalone.xml
Configuring Wildfly startup
Enable wildfly to run at system startup
Configuring Wildfly
[...]
Disabling Wildfly admin console
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] embed-server --server-config=standalone.xml
[standalone@embedded /] /core-service=management/management-interface=http-interface:write-attribute(name=console-enabled,value=false)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone@embedded /]
Copying APM configuration files
Installing Remote Engineer files
----
And MySQL does not start with these errors:
---
root@<system>:/opt/CA $ systemctl status mysql
â— mysql.service - MySQL Server
Loaded: loaded (/etc/systemd/system/mysql.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Thu 2023-11-23 10:36:07 EET; 49s ago
Nov 23 10:36:07 <system> systemd[1]: Starting MySQL Server...
Nov 23 10:36:07 <system> mysql.server[767301]: /opt/CA/MySql/support-files/mysql.server: line 239: my_print_defaults: command not found
Nov 23 10:36:07 <system> mysql.server[767298]: /opt/CA/MySql/support-files/mysql.server: line 259: cd: /usr/local/mysql: No such file or directory
Nov 23 10:36:07 <system> mysql.server[767298]: Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Nov 23 10:36:07 <system> systemd[1]: mysql.service: Succeeded.
Nov 23 10:36:07 <system> systemd[1]: Started MySQL Server.
root@<system>:/opt/CA $
---
All supported DX NetOps Virtual Network Assurance (VNA) releases
Umask was set to 0027 causing systemic permissions issues.
Before running the installer, set umask to 0022 by issuing this command:
umask 0022
If there was a previous VNA installation on the server, make sure you delete the /etc/my.cnf file. Set the bash shell to umask 0022 and then run the installer.