1

Topic: data base or config error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi everyone,

I am not very skillful with databases.

Recently I am getting this error in the mail.log:


2024-08-29T13:50:49.099457+03:00 mail amavis[480193]: (480193-14) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:49.748787+03:00 mail amavis[480267]: (480267-13) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:50.100729+03:00 mail amavis[480193]: (480193-14) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:50.103502+03:00 mail amavis[480059]: (480059-15) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:50.103539+03:00 mail amavis[480059]: (480059-15) (!!)ERROR sql_storage: too many retries on storing final, info not saved

2024-08-29T13:50:51.044956+03:00 mail amavis[480054]: (480054-15) (!)WARN save_info_preliminary: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgs in tablespace 93877319229416 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175, <GEN32> line 12294.

2024-08-29T13:50:51.045048+03:00 mail amavis[480133]: (480133-14) (!)WARN save_info_preliminary: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgs in tablespace 93877319229416 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175, <GEN32> line 27236.

2024-08-29T13:50:51.087786+03:00 mail amavis[479172]: (479172-17) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:51.087828+03:00 mail amavis[479172]: (479172-17) (!!)ERROR sql_storage: too many retries on storing final, info not saved

2024-08-29T13:50:51.101875+03:00 mail amavis[480193]: (480193-14) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.
2024-08-29T13:50:51.101934+03:00 mail amavis[480193]: (480193-14) (!!)ERROR sql_storage: too many retries on storing final, info not saved

2024-08-29T13:50:51.546591+03:00 mail amavis[480203]: (480203-14) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:52.750142+03:00 mail amavis[480267]: (480267-13) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:53.046743+03:00 mail amavis[480133]: (480133-14) (!)WARN save_info_preliminary: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgs in tablespace 93877319229416 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175, <GEN32> line 27236.

2024-08-29T13:50:53.126153+03:00 mail amavis[479169]: (479169-18) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:53.548279+03:00 mail amavis[480203]: (480203-14) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:54.046746+03:00 mail amavis[480054]: (480054-15) (!)WARN save_info_preliminary: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgs in tablespace 93877319229416 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175, <GEN32> line 12294.

2024-08-29T13:50:54.752401+03:00 mail amavis[480267]: (480267-13) (!)WARN save_info_final: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgrcpt in tablespace 93877319228904 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175.

2024-08-29T13:50:55.048576+03:00 mail amavis[480133]: (480133-14) (!)WARN save_info_preliminary: sql exec: err=126, HY000, DBD::mysql::st execute failed: Table amavisd/msgs in tablespace 93877319229416 corrupted. at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 175, <GEN32> line 27236.


Also, I run it on VMWARE host. I guess the error appears after VM crashed due to unknown reason.

Can you help me clear this issue?

Thanks a lot,
Ivo

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: data base or config error

If you're not familiar with SQL database, the simplest solution might be re-creating SQL table "msgrcpt" in "amavisd" database.
FYI https://github.com/iredmail/iRedMail/bl … visd.mysql