Re: DB problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to confirm with you if you are able to check this machines memory or filesystem as clean. This kind of corruption concerns me, and could have factors outside of just 389-ds involved. 

Thanks, 

> On 18 Jan 2020, at 03:41, Alberto Viana <albertocrj@xxxxxxxxx> wrote:
> 
> Mark,
> 
> Sorry, I couldnt wait, its a system in production.
> 
>  I downgraded to 1.4.2.4 and worked fine (with same DB, didnt change anything but the ns-slapd binary version), removed all my replications e created again (seems that the problem might be related to my replication)
> 
> Soon I will recreate my lab environment and I will test this version again.
> 
> Yesterday during my upgrading, it happened the exactly same problem, but I though that was something casual, and just destroyed my VM and recreate it and worked fine.
> 
> Thanks anyway for the help.
> 
> 
> 
> 
> On Fri, Jan 17, 2020 at 12:56 PM Mark Reynolds <mreynolds@xxxxxxxxxx> wrote:
> 
> 
> On 1/17/20 10:51 AM, Alberto Viana wrote:
>> Mark,
>> 
>> 
>> Here's the files:
>> 
>> ~]# ls -lha  /var/lib/dirsrv/slapd-RNP/db/
>> total 11M
>> drwxrwx---. 3 dirsrv dirsrv   61 Jan 17 12:16 .
>> drwxrwx---. 6 dirsrv dirsrv   58 Jan 16 20:04 ..
>> -rw-------. 1 dirsrv dirsrv   51 Jan 17 01:31 DBVERSION
>> -rw-------. 1 dirsrv dirsrv  10M Jan 17 12:19 log.0000000003
>> drwx------. 2 dirsrv dirsrv 4.0K Jan 17 12:04 userroot
> Please tail the errors log, and try starting the server again.  Please provide the entire error log output.
> 
> Thanks,
> Mark
> 
>> 
>> 
>> Thanks
>> 
>> On Fri, Jan 17, 2020 at 12:49 PM Mark Reynolds <mreynolds@xxxxxxxxxx> wrote:
>> 
>> 
>> On 1/17/20 10:25 AM, Alberto Viana wrote:
>>> Mark,
>>> 
>>> There's nothing else in the log.
>>> 
>>> There's no file like /var/lib/dirsrv/slapd-YOUR_INSTANCE/db/__db.*
>>> 
>>> also tried a db_recover but without success.
>>> 
>>> Do you recommend to downgrade my version?
>> No.
>> 
>> What files do you see under:  /var/lib/dirsrv/slapd-YOUR_INSTANCE/db/
>> 
>> <please replace YOUR_INSTANCE with your server's instance name>
>> 
>> Thanks,
>> 
>> Mark
>> 
>>> 
>>> Thanks
>>> 
>>> 
>>> On Fri, Jan 17, 2020 at 12:08 PM Mark Reynolds <mreynolds@xxxxxxxxxx> wrote:
>>> 
>>> 
>>> On 1/17/20 9:55 AM, Alberto Viana wrote:
>>>> Hi Guys,
>>>> 
>>>> 389-Directory/1.4.3.1.20200116git4f9aafca9
>>>> 
>>>> Start to get this error:
>>>> [17/Jan/2020:11:49:56.436658541 -0300] - NOTICE - bdb_start - Detected Disorderly Shutdown last time Directory Server was running, recovering database.
>>> Anything else in the log?
>>> 
>>> We are seeing some libdb issues where the mmaped region files are getting corrupted.  Try deleting these files and try starting the server again:    /var/lib/dirsrv/slapd-YOUR_INSTANCE/db/__db.*
>>> 
>>>> 
>>>> And 389 do not start anymore.
>>>> 
>>>> Thanks
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 389-users mailing list -- 
>>>> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>>>> 
>>>> To unsubscribe send an email to 
>>>> 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>>> 
>>>> Fedora Code of Conduct: 
>>>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>>> 
>>>> List Guidelines: 
>>>> https://fedoraproject.org/wiki/Mailing_list_guidelines
>>>> 
>>>> List Archives: 
>>>> https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
>>> -- 
>>> 
>>> 389 Directory Server Development Team
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 389-users mailing list -- 
>>> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>>> 
>>> To unsubscribe send an email to 
>>> 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>> 
>>> Fedora Code of Conduct: 
>>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>>> 
>>> List Guidelines: 
>>> https://fedoraproject.org/wiki/Mailing_list_guidelines
>>> 
>>> List Archives: 
>>> https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
>> -- 
>> 
>> 389 Directory Server Development Team
>> 
>> 
>> 
>> _______________________________________________
>> 389-users mailing list -- 
>> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>> 
>> To unsubscribe send an email to 
>> 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>> 
>> Fedora Code of Conduct: 
>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> 
>> List Guidelines: 
>> https://fedoraproject.org/wiki/Mailing_list_guidelines
>> 
>> List Archives: 
>> https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
> -- 
> 
> 389 Directory Server Development Team
> 
> _______________________________________________
> 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx

—
Sincerely,

William Brown

Senior Software Engineer, 389 Directory Server
SUSE Labs
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux