The PCs are surprised, if they don't succeed at a Spot check (vs. the ghost's Hide check), at least IMO. Listen doesn't work.
According to the DMG, the Ready action can't be used outside of combat. The PCs can't ready any actions.
Since noone can ready this particular action, this scenario...