Krull's principal ideal theorem states that in a Noetherian ring $R$, any principal proper ideal $I$ has height at most $1$. Presumably the Noetherian hypothesis is required, so what are some (preferably simple) examples where the result of the theorem doesn't hold?
A search for similar examples turned up this question, but perhaps not requiring $I$ to be prime will provide larger classes of examples, or just some simpler ones.