Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs

July, 2020
   01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Search the weblog

Genii Weblog

Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.

Sat 25 Jul 2020, 06:02 PM
Lions and tigers and admin tips! Those who know me know that I hate system admin. Moreover, I am spectacularly bad at it. And yet.
Here is an admin tip which might help somebody, or might not. I was following the instructions in Generating a keyring file for Domino (KB article #KB0073309), and ran into a problem with the kyrtool hanging in step 5) Create a new keyring file.
Mind you, I don't know what a keyring file is or why you want it, but I've followed recipes before, so I know how to do what I am told. Problem is, what I am told has an assumption built in. There is a note: At this point in the example, the Administrator switched from the Linux box where OpenSSL was run to a Windows box to use kyrtool.exe. There is no explanation why the Administrator didn't just start on the Windows box rather than do half the steps there and switch. I assume Administrators (who must be capitalized) have little enough to do that they have to keep themselves amused by switching between systems.
Anyway, the instruction they gave was:  kyrtool =c:\lotus\notes\notes.ini create -k c:\lotus\notes\data\keyring.kyr -p password
Inline JPEG image
Seems simple enough, though I had to check with my PLN (Personal Learning Network, aka Gab, Andrew, Jesse, etc.) to find out whether that password was supposed to match my personal id or the server id or be made up. Tip: Just make one up.

So, I modified that line slightly to match my own Notes directory and my (made up) password, but it hung, as if waiting for input. Back to the PLN, but nobody had an answer until it occurred to me that I was using the kyrtool.exe that came with Domino, so my path pointed at the Domino directory. Back in the instructions, the earlier steps were related to the Domino server (always 64-bit in 11.0.1), but the switch to Windows meant that the Administrator had downloaded the 32-bit kyrtool to the Notes client directory (always 32-bit in 11.0.1). So, my guess is that I was calling a 64-bit kyrtool.exe which was trying to use the DLLs and such from the 32-bit client and getting hung up. Jesse suggested I just remove that 
=c:\lotus\notes\notes.ini part and see what happened.
And guess what, it worked! No hang, and I got to go on to step #6. Lucky me.
tl;dr - Make sure your kyrtool.exe matches the bitness of your Notes/Domino DLLs. Otherwise, it will sit and wait forever, and waiting forever is something only admins should do, never developers.

Copyright 2020 Genii Software Ltd.