Quanah Gibson-Mount wrote: > --On Wednesday, January 16, 2019 3:03 PM +0100 Marc Roos > <[email protected]> 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#[email protected]:/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/
