Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] - Duplicate Partition name errors #199

Open
bmfmancini opened this issue Nov 6, 2022 · 1 comment
Open

[4.0] - Duplicate Partition name errors #199

bmfmancini opened this issue Nov 6, 2022 · 1 comment
Labels

Comments

@bmfmancini
Copy link
Member

Last night I saw the following errors on all of my Cacti instances
the only thing that I can think of is that day light savings times started last night

Different mariadb versions
different cacti versions

2022/11/06 00:58:05 - CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate partition name d20221106
2022/11/06 00:58:05 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog_process.php[146]:syslog_partition_manage(), /plugins/syslog/functions.php[172]:syslog_partition_create(), /plugins/syslog/functions.php[208]:syslog_db_execute(), /plugins/syslog/database.php[69]:db_execute(), /lib/database.php[272]:db_execute_prepared())
2022/11/06 00:58:05 - CMDPHP ERROR: A DB Exec Failed!, Error: VALUES LESS THAN value must be strictly increasing for each partition
2022/11/06 00:56:55 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog_process.php[146]:syslog_partition_manage(), /plugins/syslog/functions.php[177]:syslog_partition_create(), /plugins/syslog/functions.php[208]:syslog_db_execute(), /plugins/syslog/database.php[69]:db_execute(), /lib/database.php[272]:db_execute_prepared())
2022/11/06 00:56:55 - CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate partition name d20221106
2022/11/06 00:56:55 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog_process.php[146]:syslog_partition_manage(), /plugins/syslog/functions.php[172]:syslog_partition_create(), /plugins/syslog/functions.php[208]:syslog_db_execute(), /plugins/syslog/database.php[69]:db_execute(), /lib/database.php[272]:db_execute_prepared())
2022/11/06 00:56:55 - CMDPHP ERROR: A DB Exec Failed!, Error: VALUES LESS THAN value must be strictly increasing for each partition
2022/11/06 00:56:10 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog_process.php[146]:syslog_partition_manage(), /plugins/syslog/functions.php[177]:syslog_partition_create(), /plugins/syslog/functions.php[208]:syslog_db_execute(), /plugins/syslog/database.php[69]:db_execute(), /lib/database.php[272]:db_execute_prepared())
2022/11/06 00:56:10 - CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate partition name d20221106
@TheWitness
Copy link
Member

It's the infamous daylight savings time issue. Good think it only happens once a year!

@TheWitness TheWitness added the bug label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants