Try searching around the forums before you post on problems - this message in particular shows up whenever NPCclient, which handles all NPC behaviors, is down or having a few problems. It may kick itself and start working again, or a developer may be working on it at this time, so there's no definite ETA on when NPCs may be attackable again. Take a time-out for a few minutes and then try again.