exception Bdb.DBError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

exception Bdb.DBError

fuat
hello, I get the following error.

Fatal error: exception Keydb.Unsafe.No_db

This error occurred when the gossip was set with the servers. before
the apache proxy started giving error. This error occurred after
restarting the services. error in the attempt to create a ptree.

Fatal error: exception Bdb.DBError ("BDB2506 file key has LSN
226/8900973, past end of log at 1/28")

db_recover and db_archive do not output. it didn't work. how to fix
this error. thanks.

--
┌------------------------------------------┐
| Fuat Bölük  fuat[at]teknoloji360[dot]com |
|------------------------------------------|
|------ hkps://sks.teknoloji360.com/ ------|
|------------------------------------------|
| F0D4521D60378B67CE64665EE7C9735903E48A51 |
└------------------------------------------┘
--
 I do not know english. I'm using translate.
--


_______________________________________________
Sks-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: exception Bdb.DBError

Jeremy T. Bouse
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 3/13/2019 12:35 PM, fuat wrote:

> hello, I get the following error.
>
> Fatal error: exception Keydb.Unsafe.No_db
>
> This error occurred when the gossip was set with the servers.
> before the apache proxy started giving error. This error occurred
> after restarting the services. error in the attempt to create a
> ptree.
>
> Fatal error: exception Bdb.DBError ("BDB2506 file key has LSN
> 226/8900973, past end of log at 1/28")
>
> db_recover and db_archive do not output. it didn't work. how to
> fix this error. thanks.
>

That is something I've typically seen if either the /var/lib/sks/DB or
the /var/lib/sks/PTree directory doesn't exist or it isn't owned with
permissions that the SKS daemon can access.
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEakJ0F+CHS9VzhSFg6lYpTv4TPXUFAlyJNaEACgkQ6lYpTv4T
PXUsDAwAzj8opdKsxlK3dfyckGI/Mnndngs+mYjfeezdSY1qJyonU4vUAYYfSLGv
fSUnAJy2OBMNUYR24sRoo2iJe6c4k9BFxJbFmKLaSvFf5S7gughGEoV5FIhxdhlC
zVyjMXsbVVmonT3S/JgME10sQUaSEPBJ3Hsuo+/Qzcg9yppmrMKy9T064Nvvx5ft
maLvHaViSalqePmDD+KK4W7Xd21AjZplvZCF/GDWUNQ11jcdsPWPtqSan7kqPsuH
yDp0ci+IcA70I1EGdObLmTMZQaRm2vh7vkqJR/xL/7YOVmdv7AZh2qKWo20ITIzr
IkH1TPIhIqQls44SfBlMpBTiDUVkIFopAUVLVQFk6k63LaWg0a5b3X0YXd4zpOZV
0nFFCJU6AbA5+dhHlvLJhnr1YNV4oev+pCwhzkA31uri9EscWEU+HRuUJZemqXtq
pwLXiV6kc/5l3TWENHDHAV36a8zfnrak3bO/sAMoci6JsYUQBM+Dba75gxcG6S4V
m+91ES7q
=nVhR
-----END PGP SIGNATURE-----

_______________________________________________
Sks-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/sks-devel
Reply | Threaded
Open this post in threaded view
|

Re: exception Bdb.DBError

Todd Fleisher
In reply to this post by fuat
If running db_recover doesn’t work, I would recommend re-building your DB from an SKS dump.

-T

> On Mar 13, 2019, at 9:35 AM, fuat <[hidden email]> wrote:
>
> hello, I get the following error.
>
> Fatal error: exception Keydb.Unsafe.No_db
>
> This error occurred when the gossip was set with the servers. before
> the apache proxy started giving error. This error occurred after
> restarting the services. error in the attempt to create a ptree.
>
> Fatal error: exception Bdb.DBError ("BDB2506 file key has LSN
> 226/8900973, past end of log at 1/28")
>
> db_recover and db_archive do not output. it didn't work. how to fix
> this error. thanks.
>
> --
> ┌------------------------------------------┐
> | Fuat Bölük  fuat[at]teknoloji360[dot]com |
> |------------------------------------------|
> |------ hkps://sks.teknoloji360.com/ ------|
> |------------------------------------------|
> | F0D4521D60378B67CE64665EE7C9735903E48A51 |
> └------------------------------------------┘
> --
> I do not know english. I'm using translate.
> --
>
>
> _______________________________________________
> Sks-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/sks-devel

_______________________________________________
Sks-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/sks-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: exception Bdb.DBError

Todd Fleisher
In reply to this post by Jeremy T. Bouse
Improper directory ownership would generate a different fatal error:

Fatal error: exception Bdb.DBError("caml_dbenv_open: open failed.: Permission denied”)

-T

On Mar 13, 2019, at 9:54 AM, Jeremy T. Bouse <[hidden email]> wrote:

Signed PGP part


On 3/13/2019 12:35 PM, fuat wrote:

> hello, I get the following error.
>
> Fatal error: exception Keydb.Unsafe.No_db
>
> This error occurred when the gossip was set with the servers.
> before the apache proxy started giving error. This error occurred
> after restarting the services. error in the attempt to create a
> ptree.
>
> Fatal error: exception Bdb.DBError ("BDB2506 file key has LSN
> 226/8900973, past end of log at 1/28")
>
> db_recover and db_archive do not output. it didn't work. how to
> fix this error. thanks.
>

That is something I've typically seen if either the /var/lib/sks/DB or
the /var/lib/sks/PTree directory doesn't exist or it isn't owned with
permissions that the SKS daemon can access.




_______________________________________________
Sks-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/sks-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: exception Bdb.DBError

fuat
In reply to this post by Jeremy T. Bouse
The permissions and ownership of sks directories on the server is not a
problem. KDB was working before. gossip path with diff * .txt taken.
this error was dropped when the service was restarted.

Çrş, 2019-03-13 tarihinde 12:54 -0400 saatinde, Jeremy T. Bouse yazdı:

>
> On 3/13/2019 12:35 PM, fuat wrote:
> > hello, I get the following error.
> >
> > Fatal error: exception Keydb.Unsafe.No_db
> >
> > This error occurred when the gossip was set with the servers.
> > before the apache proxy started giving error. This error occurred
> > after restarting the services. error in the attempt to create a
> > ptree.
> >
> > Fatal error: exception Bdb.DBError ("BDB2506 file key has LSN
> > 226/8900973, past end of log at 1/28")
> >
> > db_recover and db_archive do not output. it didn't work. how to
> > fix this error. thanks.
> >
>
> That is something I've typically seen if either the /var/lib/sks/DB
> or
> the /var/lib/sks/PTree directory doesn't exist or it isn't owned with
> permissions that the SKS daemon can access.
> _______________________________________________
> Sks-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/sks-devel
--
┌------------------------------------------┐
| Fuat Bölük  fuat[at]teknoloji360[dot]com |
|------------------------------------------|
|------ hkps://sks.teknoloji360.com/ ------|
|------------------------------------------|
| F0D4521D60378B67CE64665EE7C9735903E48A51 |
└------------------------------------------┘
--
 I do not know english. I'm using translate.
--


_______________________________________________
Sks-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/sks-devel