SRM 5.0: Oppgaven Optimize-tables fullføres ikke på SRM-backendservere etter oppgradering til SRM 5.0
Summary: Optimize-tables-apgX-oppgaver mislykkes med status 15 etter oppgradering av SRM til versjon 5.0.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Taskrun Logger for oppgaven Optimaliserte tabeller viste følgende feil:
yymmdd 09:51:38 : Starting task optimize-tables-apg2. yymmdd 09:51:38 : Starting execution of subtask number 1. yymmdd 09:51:38 : Terminate method (terminate) could not be found within the class. Task execution won't be notified if destroyed. yymmdd 09:51:38 : yymmdd 09:51:39 : May 01, 2024 9:51:39 AM com.watch4net.apg.v2.mysql.utils.MySqlCommandRunner main yymmdd 09:51:39 : INFO: Executing 'query' ... yymmdd 09:51:39 : May 01, 2024 9:51:39 AM com.watch4net.apg.v2.mysql.utils.MySqlCommandRunner main yymmdd 09:51:39 : INFO: MysqlcommandRunner:: main -connection obj- <<mysql8>>:com.watch4net.apg.v2.mysql.utils.data.MySqlConfiguration@19e1023e yymmdd 09:51:40 : Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. yymmdd 09:51:40 : May 01, 2024 9:51:40 AM com.watch4net.apg.v2.mysql.utils.runner.LogQueryRunner update yymmdd 09:51:40 : INFO: LogQueryRunner::update conn <<mysql8>>: com.mysql.cj.jdbc.ConnectionImpl@29176cc1 yymmdd 09:51:40 : May 01, 2024 9:51:40 AM com.watch4net.apg.v2.mysql.utils.runner.LogQueryRunner update yymmdd 09:51:40 : INFO: LogQueryRunner::update sql <<mysql8>>: OPTIMIZE TABLE data_variable yymmdd 09:51:40 : May 01, 2024 9:51:40 AM com.watch4net.apg.v2.mysql.utils.runner.LogQueryRunner update yymmdd 09:51:40 : INFO: LogQueryRunner::update params <<mysql8>>: null yymmdd 09:51:40 : May 01, 2024 9:51:40 AM com.watch4net.apg.v2.mysql.utils.runner.LogQueryRunner update yymmdd 09:51:40 : INFO: OPTIMIZE TABLE data_variable -> 0.012 (0.012) yymmdd 09:51:40 : May 01, 2024 9:51:40 AM com.watch4net.apg.v2.mysql.utils.command.SqlQuery execute yymmdd 09:51:40 : SEVERE: error executing query: OPTIMIZE TABLE data_variable yymmdd 09:51:40 : java.sql.SQLException: Can not issue executeUpdate() or executeLargeUpdate() with statements that produce result sets Query: OPTIMIZE TABLE data_variable Parameters: [] yymmdd 09:51:40 : at org.apache.commons.dbutils.QueryRunner.rethrow(QueryRunner.java:359) yymmdd 09:51:40 : at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:428) yymmdd 09:51:40 : at com.watch4net.apg.v2.mysql.utils.runner.LogQueryRunner.update(LogQueryRunner.java:68) yymmdd 09:51:40 : at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:484) yymmdd 09:51:40 : at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:449) yymmdd 09:51:40 : at com.watch4net.apg.v2.mysql.utils.command.SqlQuery.execute(SqlQuery.java:49) yymmdd 09:51:40 : at com.watch4net.apg.v2.mysql.utils.MySqlCommandRunner.main(MySqlCommandRunner.java:236) yymmdd 09:51:40 : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) yymmdd 09:51:40 : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) yymmdd 09:51:40 : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) yymmdd 09:51:40 : at java.lang.reflect.Method.invoke(Method.java:498) yymmdd 09:51:40 : at com.watch4net.component.loader.util.ComponentLauncher.invoke(ComponentLauncher.java:108) yymmdd 09:51:40 : at com.watch4net.component.loader.util.ComponentLauncher.main(ComponentLauncher.java:49) yymmdd 09:51:40 : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) yymmdd 09:51:40 : at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) yymmdd 09:51:40 : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) yymmdd 09:51:40 : at java.lang.reflect.Method.invoke(Method.java:498) yymmdd 09:51:40 : at com.watch4net.apg.scheduler.executor.JavaTaskProcessMain.callExecuteMethod(JavaTaskProcessMain.java:538) yymmdd 09:51:40 : at com.watch4net.apg.scheduler.executor.JavaTaskProcessMain.main(JavaTaskProcessMain.java:130) yymmdd 09:51:40 : yymmdd 09:51:40 : Execute method (main) exited with a failure error code of -1 yymmdd 09:51:40 : Execution of subtask number 1 failed with status 15. yymmdd 09:51:40 : Execution of task sequence with name optimize-tables-apg2 did not complete. Only 1 subtasks out of 2 were executed. yymmdd 09:51:40 : Task optimize-tables-apg2 failed with status 15.
Cause
SRM 5.0-oppgraderingsprosessen krever en oppdatering av MySQL-motoren fra myISAM til InnoDB. For dette formål er denne oppgaven ikke lenger nødvendig og kan deaktiveres. Oppgaven er ikke deaktivert som standard, og den må deaktiveres manuelt. Informasjonen i
Situasjonen er dokumentert på produktsiden for Dell Support SRM i produktmerknadene for M&R 8.0.0.0. HTLM- eller PDF-format.
optimize-tables.task er ikke lenger nødvendig for InnoDB-tabeller.
Situasjonen er dokumentert på produktsiden for Dell Support SRM i produktmerknadene for M&R 8.0.0.0. HTLM- eller PDF-format.
Resolution
Hvis du vil deaktivere oppgaven med optimaliserte tabeller, kan du gå til SRM-grensesnittet og følge trinnene nedenfor:
- Logg deg på SRM Frontend UI og gå til Admin side
- Under Fysisk oversiktover hjemmet > klikker du på den primære verten for serverdelen
- Klikk Oppgaver > mysql-maintenance-tool/Default/optimize-tables.task
- Klikk Deaktiver for å deaktivere oppgaven
- Klikk Hjem igjen, og klikk på hver ekstra backend
- Klikk Oppgaver>Deaktiver oppgavene for hver backend
- mysql-maintenance-tool/apg1/optimize-tables.task
- mysql-maintenance-tool/apg2/optimize-tables.task
- mysql-maintenance-tool/apg3/optimize-tables.task
- mysql-maintenance-tool/apg4/optimize-tables.task
Article Properties
Article Number: 000225706
Article Type: Solution
Last Modified: 05 Jun 2024
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.