NetOps Portal Upgrade is failing
search cancel

NetOps Portal Upgrade is failing

book

Article ID: 263707

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

It appears that the upgrade from 20.2.6 to 22.2.5 is failing.  The following is seen in mysql install log

 

Restarting MySql... Exit Code: 1  Err: [Job for mysql.service failed because a timeout was exceeded. See "systemctl status mysql.service" and "journalctl -xe" for details.

Environment

Dx NetOps Performance Management 22.x 

Cause

MySQL startup timeout was exceeded before MySQL could start

Resolution

change /etc/systemd/system/mysql.service

[Unit]
Description=MySQL daemon
After=syslog.target
After=network.target

[Service]
Type=forking
ExecStart=/opt/CA/MySql/support-files/mysql.server start
ExecStop=/opt/CA/MySql/support-files/mysql.server stop
TimeoutStartSec=600 <<<<<<<<<<<<<<<<< ADD

[Install]
WantedBy=multi-user.target

 

Then restart the upgrade and it should run successfully