Ich habe (?der Professorin) irgendwie versäumt [(der Professorin) die Hand zu geben].
I have (the professor (DAT)) somehow missed (the professor (DAT))) the hand to give
I somehow missed the opportunity to shake the professor's hand.