public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan Egli <dan@newideatest.site>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] fail2ban can't find sqlite?
Date: Sun, 7 Feb 2021 18:31:57 -0700	[thread overview]
Message-ID: <6addec4e-f64a-804e-d92d-ec8ba3f2fc69@newideatest.site> (raw)
In-Reply-To: <5b67d37602eb7881f2f4c3f5ec689c022f5a3221.camel@gentoo.org>

You were right. With the debugging tips from Alex Mishustin I was able 
to determine that I had rebuilt 3.9 while fail2ban was using 3.8. I did 
what I SHOULD have done in the first place and did an emerge -DN 
fail2ban. That caused portage to see that Python 3.8 needed to be 
rebuilt, and it did so. Now fail2ban is able to access the sqlite database.

Thanks!

On 2/6/2021 7:03 PM, Michael Orlitzky wrote:
> On Sat, 2021-02-06 at 18:46 -0700, Dan Egli wrote:
>> At first I thought it was complaining about it's own missing module. But
>> there's no use flag for sqlite in fail2ban. So then I looked at python
>> itself.  Sure enough, the sqlite use flag was disabled. So I turned it
>> on and re-emerged python. I also fixed a couple flags on sqlite itself
>> and re-emerged it. STILL I get this error. How do I fix this?
>>
> Just a guess: did you rebuild EVERY version of python, or just one? It
> could be that fail2ban is running under a version that you didn't re-
> emerge.
>
>
>


  reply	other threads:[~2021-02-08  1:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07  1:46 [gentoo-user] fail2ban can't find sqlite? Dan Egli
2021-02-07  2:03 ` Michael Orlitzky
2021-02-08  1:31   ` Dan Egli [this message]
2021-02-07  2:03 ` Alexey Mishustin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6addec4e-f64a-804e-d92d-ec8ba3f2fc69@newideatest.site \
    --to=dan@newideatest.site \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox