Following an earlier post, I was looking for a quick way to only start the Domino LDAP task on a Linux box.
Whilst this is easy-peasy on Windows, it's less so on Linux.
The LDAP task itself exists here: -
/opt/ibm/lotus/notes/85020/linux/ldap
but, if one simply executes this task ( as the notes or root user ), the exception: -
/opt/ibm/lotus/notes/85020/linux/ldap: error while loading shared libraries: libnotes.so: cannot open shared object file: No such file or directory
pops up.
Looking at this Technote, which actually relates to a problem with Tivoli Storage Manager for Mail, and advises how to overcome the problem by creating symbolic links to three Domino libraries: -
libnotes.so
libndgts.so
libxmlproc.so
Following this advice, I created three links
ln -s /opt/ibm/lotus/notes/latest/linux/libnotes.so /usr/lib
ln -s /opt/ibm/lotus/notes/latest/linux/libndgts.so /usr/lib
ln -s /opt/ibm/lotus/notes/latest/linux/libxmlproc.so /usr/lib
This now allows me to run the ldap task as follows: -
su - notes
cd /local/notesdata
/opt/ibm/lotus/notes/latest/linux/ldap
or, even more simply, via a simple script that I can run as root: -
ldap.sh
su notes -c "cd /local/notesdata; /opt/ibm/lotus/notes/latest/linux/ldap; "
Job's a good 'un
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Reminder - installing podman and skopeo on Ubuntu 22.04
This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman and skopeo on an Ubuntu box: - lsb_rel...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
No comments:
Post a Comment