If you're trying to reindex data under "Index Management" but can't, do the following to fix the problem...
rm -rf var/locks/*
Now try again, and you should be successful
If that doesn't work, also make sure the var/locks dir is writable.
chmod -R 777 var/locks