Skip to main content
NetApp Knowledge Base

On-prem Cloud Manager connector shows inactive after Linux Patch and OCCM service does not start

Views:
387
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
bluexp
Last Updated:

Applies to

  • On-prem Cloud Manager connector
  • Linux Patch
  • OCCM service start failure
  • SQL error

Issue

OCCM service in a reboot loop on On-prem Cloud Manager connector:

root@user[/opt/application/netapp/cloudmanager]# systemctl status occm
occm.service - OCCM
Loaded: loaded
(/usr/lib/systemd/system/occm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2000-01-01
00:00:00 GMT; 2 days ago
Process: 27191 ExecStop=/usr/lib/systemd/scripts/occm stop (code=exited, status=0/SUCCESS)
Process:
27164 ExecStart=/usr/lib/systemd/scripts/occm start (code=exited, status=0/SUCCESS)
Process: 27162 ExecStartPre=/bin/rm -f
/tmp/occm-pid (code=exited, status=0/SUCCESS)
Main PID: 27168 (code=exited, status=143)
Jan 01 00:00:49 user occm[27164]:
Starting occm ...
Jan 01 00:00:49 user occm[27164]: occm started ...
Jan 01 00:00:49 user systemd[1]: Started OCCM.
00:00:51 user systemd[1]: Stopping OCCM...
Jan 01 00:00:51 user occm[27191]: occm stopping ...
Jan 01 00:00:51 user
occm[27191]: occm stopped ...
Jan 01 00:00:52 user systemd[1]: occm.service: main process exited, code=exited, status=143/n/a

 

/var/log/mysqld.log:

 

2021-04-12 16:25:55,930 GMT WARN [OccmMain] [Startup] [] [System] (main) [JdbcEnvironmentInitiator:132] HHH000342: Could not obtain connection to query metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection refused (Connection refused))
2021-04-12 16:25:57,514 GMT ERROR [OccmMain] [Startup ] [] [System] (main) [OccmServer:94] Failed database migrations, exiting org.flywaydb.core.internal.dbsupport.FlywaySqlException:
Unable to obtain Jdbc connection from DataSource
------------------------------------------------
SQL State : null
Error Code : 0
Message : Cannot create PoolableConnectionFactory (Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection refused (Connection refused))
2000-01-01 00:00:49,326 GMT WARN [OccmMain] [Startup ] [] [System] (main) [JdbcEnvironmentInitiator:132] HHH000342: Could not obtain connection to query metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Table 'performance_schema.session_variables' doesn't exist)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.