Even I faced the same problem a few hours ago. Got to know the sdfx command is old and not supported in certain OS. Try using sf instead. Worked for me!
sdfx
sf