[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Shared memory error after reboot
- To: Quanah Gibson-Mount <quanah@symas.com>, Marc Roos <M.Roos@f1-outsourcing.eu>, openldap-technical <openldap-technical@openldap.org>
- Subject: Re: Shared memory error after reboot
- From: Howard Chu <hyc@symas.com>
- Date: Wed, 16 Jan 2019 17:37:29 +0000
- In-reply-to: <5E4A6311CF5AA896D9AF5A5D@[192.168.1.39]>
- References: <"H0000071001309b5.1547647385.sx.f1-outsourcing.eu*"@MHS> <5E4A6311CF5AA896D9AF5A5D@[192.168.1.39]>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53
Quanah Gibson-Mount wrote:
> --On Wednesday, January 16, 2019 3:03 PM +0100 Marc Roos <M.Roos@f1-outsourcing.eu> wrote:
>
>>
>>
>> I am getting this error after (re)booting, if I restart slapd it is
>> gone. I guess I can ignore this message because slapd will recover from
>> this eventually? Or do I need to give it a restart every time?
>>
>>
>> After reboot:
>>
>> jan 16 14:57:19 mail04 slapd[3283]: @(#) $OpenLDAP: slapd 2.4.44 (Oct 30
>> 2018 23:14:27)
>> $#012#011mockbuild@x86-01.bsys.centos.org:/builddir/build/BUILD/openldap
>> -2.4.44/openldap-2.4.44/servers/slapd
>> Jan 16 14:57:19 mail04 slapd[3283]: syncrepl rid=504
>> searchbase="dc=backoffice,dc=local": no retry defined, using default
>> Jan 16 14:57:19 mail04 slapd[3285]: bdb(dc=backoffice,dc=local): BDB0118
>> shmat: id 884736: unable to attach to shared system memory region:
>> Invalid argument
>
> It means:
>
> a) You're using shared memory regions with a BDB backend
> b) That slapd is not cleanly shut down on a reboot. It sounds like perhaps you have a broken init system.
Must point out - this is not a fatal error, otherwise slapd would not have continued startup.
The backend inits a new shared memory region and just starts up as normal, there's no reason
to take any special action here.
> I would note that BDB based backends are deprecated. It's advised to use back-mdb instead.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/