rm will refuse to delete directories unless you use the -R option. That post appears to be rather old, probably from the 4.5.x release, 5.0.x has a few directories within the data directory.
As for the errors I can't provide too much help there sorry
