Skip to main content
NetApp Knowledge Base

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

Views:
37
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
cloud
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)

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support

 

******************************************************* *******************************************************