I got error when I am trying to active SharePoint Server Publishing feature by UI, but recieve error. Then I turned out to run stadm command instead

stsadm -o activatefeature -name Publishing -url http://chidev51:15408/sites/kenny -force

which didn’t active the feture, then I F5 the Manage Features page, clcik the “Active” button. It works now