The poster writes ....
" I think the error caused because I removed everything under /data directory before stopping the server. "
If you did remove the data directory, you will need to kill any processes hanging on then initdb -D /your/data/directory
Without a data directory it will not start.