Skip to Content.
Sympa Menu

en - Re: [sympa-users] sympa.pl --health_check database error

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] sympa.pl --health_check database error
  • Date: Sat, 22 Aug 2020 18:17:26 +0200

On 8/22/20 2:59 PM, Christian Stalberg wrote:
> Running Debian 10, Sympa 6.2.56 & Mysql 8.13-1. I installed DBD::mysql
>
> When I run sympa.pl --health_check I get this error
>
> 'Database sympa defined in sympa.conf has not the right structure or is
> unreachable. Verify db_xxx parameters in sympa.conf'
>
> I installed DBD::mysql
>
> Syslog says...
> Aug 22 12:10:35 localhost sympa/health_check[28814]: info main::
> Configuration file read, default log level 0
> Aug 22 12:10:35 localhost sympa/health_check[28814]: err main::#230 >
> Sympa::DatabaseManager::probe_db#94 > Sympa::DatabaseManager::instance#54 >
> Sympa::Database::new#65 Unable to use Sympa::DatabaseDriver::MySql module:
> Can't locate Sympa/DatabaseDriver/MySql.pm in @INC (you may need to install
> the Sympa::DatabaseDriver::MySql module) (@INC contains:
> /usr/local/share/sympa/lib /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1
> /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 390)
> line 1.#012
>
> Please advise. Thank you!
>
> Christian
>
>

Hello Christian,

I think you need to use

db_type MySQL

in sympa.conf.

Reference:
https://sympa-community.github.io/manual/install/setup-database-mysql.html

Regards
Racke

--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19+.

Top of Page