I know that in rings which are not UFDs, the GCD and LCM may not exist. However, I don't know whether it is equivalent the existence of the GCD and the LCM in one of those rings, i.e.
I am looking for an example where a couple of elements have a GCD and fail to have a LCM (or viceversa).
Can anyone help me?