[Systems] LDAP Failure

Chihurumnaya Ibiam ibiamchihurumnaya at gmail.com
Thu Jan 23 18:10:57 EST 2025


apt and dpkg are functional, I didn't review the changes between versions,
I'd just kept our existing version of configs, it's time consuming for sure
as there
were lots of changes while doing this update - as expected -.

Thanks for the tips.

-- 

Ibiam Chihurumnaya
ibiamchihurumnaya at gmail.com




On Thu, Jan 23, 2025 at 6:16 PM Michael McMahon <michael at fsf.org> wrote:

> I asked the FSF SysOps group if they were familiar with LDAP and they do
> not have the expertise either.
>
> I can give some general upgrade tips that are not specific to LDAP.
>
> Make sure that apt and dpkg are functional before doing any reboots. If
> apt is not going smooth, make sure to fix it before rebooting.
>
> Sometimes configs have changes between versions which break things.
> Comparing the differences between the old and the new config can help.
> Combing through your changes and finding differences in syntax can be
> difficult and time-consuming.
>
> Best,
> Michael McMahon | GNU/Linux Systems Administrator, Free Software Foundation
> GPG Key: 4337 2794 C8AD D5CA 8FCF  FA6C D037 59DA B600 E3C0
> https://fsf.org
>
> Technological freedom is important more than ever! Support free
> software, support the FSF: https://donate.fsf.org
>
> Are you a federal employee or retiree? Pledge to support the FSF through
> the Combined Federal Campaign! The FSF's CFC ID is 63210.
>
> On 1/23/25 12:07, Devin Ulibarri wrote:
> > Hi Michael,
> >
> > Thank you for your response.
> >
> > For more context: Your change to rsync isn't the cause of this. What
> > happened is that we tried to do a system upgrade. We were on a version
> > of Ubuntu that is reaching LTS in May 2025, and we were also hoping, by
> > upgrading, that it would solve the rsync feature.
> >
> > We're a bit stuck atm, because the wiki is down, as well as other
> > services hosted on sunjammer.
> >
> > Devin
> >
> > Michael McMahon:
> >> I'm really not very familiar with LDAP. I could learn how to use it,
> >> but that is probably not the best use of my time right now.
> >>
> >> My recent changes to rsync should not have impacted LDAP.
> >>
> >> Best,
> >> Michael McMahon | GNU/Linux Systems Administrator, Free Software
> >> Foundation
> >> GPG Key: 4337 2794 C8AD D5CA 8FCF  FA6C D037 59DA B600 E3C0
> >> https://fsf.org
> >>
> >> Technological freedom is important more than ever! Support free
> >> software, support the FSF: https://donate.fsf.org
> >>
> >> Are you a federal employee or retiree? Pledge to support the FSF
> >> through the Combined Federal Campaign! The FSF's CFC ID is 63210.
> >>
> >> On 1/23/25 09:42, Devin Ulibarri wrote:
> >>> Michael,
> >>>
> >>> I'm sorry to bother you with our tech problems, but if you're able to
> >>> help us that would be a lifesaver.
> >>>
> >>> I could meet you in IRC, if that's helpful.
> >>>
> >>> Devin
> >>>
> >>> Chihurumnaya Ibiam:
> >>>> I ran an update for sunjammer last night and slapd fails to start,
> >>>> so LDAP isn't working like it should.
> >>>>
> >>>> Following these <https://sources.debian.org/src/
> >>>> openldap/2.5.13%2Bdfsg-5/debian/slapd.README.Debian/#L329>
> >>>> instructions, I backed up the old config and then tried to load it
> >>>> into the new database  - I didn't change the config as we didn't
> >>>> have the fields needed to change -.
> >>>>
> >>>> I did that using;
> >>>>
> >>>> $ slapadd -F /etc/ldap/slapd.d -l /var/backups/
> >>>> slapd-2.4.49+dfsg-2ubuntu1.9/slapd.d/cn\=config.ldif -n 0
> >>>> Closing DB...
> >>>>
> >>>> This was after emptying /etc/ldap/slapd.d.
> >>>>
> >>>> Then I ran;
> >>>> $ slapadd -l /var/backups/slapd-2.4.49+dfsg-2ubuntu1.9/slapd.d/
> >>>> cn\=config.ldif
> >>>> Available database(s) do not allow slapadd
> >>>>
> >>>> The database doesn't get added and they're no ldap entries.
> >>>>
> >>>>
> >>>> --
> >>>> Ibiam Chihurumnaya
> >>>> ibiamchihurumnaya at gmail.com
> >>>>
> >>>>
> >>> --
> >>>
> >>> Devin Ulibarri, Musician and co-founder of MAP Family Learning Center
> >>>
> >>> www.devinulibarri.com <https://www.devinulibarri.com/>
> >>>
> >>> Book a Lesson Online! <https://online.mapflc.com/product/private-
> >>> lessons-with-mr-devin/>
> >>>
> >>> Call the MAPFLC Office at 781-605-3711 <tel:781-605-3711>
> >>>
> >>
> > --
> >
> > Devin Ulibarri, Musician and co-founder of MAP Family Learning Center
> >
> > www.devinulibarri.com <https://www.devinulibarri.com/>
> >
> > Book a Lesson Online! <https://online.mapflc.com/product/private-
> > lessons-with-mr-devin/>
> >
> > Call the MAPFLC Office at 781-605-3711 <tel:781-605-3711>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/systems/attachments/20250124/942188f6/attachment.htm>


More information about the Systems mailing list