Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] sympa.pl --health_check database error
- From: "Christian Stalberg" <address@concealed>
- To: "'Stefan Hornburg \(Racke\)'" <address@concealed>, <address@concealed>
- Subject: RE: [sympa-users] sympa.pl --health_check database error
- Date: Sat, 22 Aug 2020 09:51:19 -0700
Thank you for your help but I have that already.
-----Original Message-----
From: address@concealed
<address@concealed> On Behalf Of Stefan Hornburg (Racke)
Sent: Saturday, August 22, 2020 9:17 AM
To: address@concealed
Subject: Re: [sympa-users] sympa.pl --health_check database error
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.
-
[sympa-users] sympa.pl --health_check database error,
Christian Stalberg, 08/22/2020
-
Re: [sympa-users] sympa.pl --health_check database error,
Stefan Hornburg (Racke), 08/22/2020
-
RE: [sympa-users] sympa.pl --health_check database error,
Christian Stalberg, 08/22/2020
- Re: [sympa-users] sympa.pl --health_check database error, Stefan Hornburg (Racke), 08/23/2020
-
RE: [sympa-users] sympa.pl --health_check database error,
Christian Stalberg, 08/22/2020
-
Re: [sympa-users] sympa.pl --health_check database error,
Stefan Hornburg (Racke), 08/22/2020
Archive powered by MHonArc 2.6.19+.