(untitled)
"cm name restart" does not exist. So I guess you mean "cm restart_server" which stopped and restart the Cm NameServer. ut But to just cleanup the list of servers in the Cm Name Server daemon you have to use "cm cleanup " command. The Cm NameServer should not be stppoed for such kind of operation.