1

I have tried this solution:

Full reindex process is already running

But that does not work, I still get the same error. The error started because the client server was full.

I have cleared space on the server and removed the lock files. I even tried rebooting the SQL server. (No help)

I cleared my var/ directory of everything.

I restarted Apache

I restarted MySQL (It's on a separate box)

I have tried via command line and Magerun

Here is some output

magerun index:reindex catalog_product_attribute Reindex Full reindex process is already running. 

I have tried running the command as root as well

 php indexer.php reindexall Full reindex process is already running. 

1 Answer 1

2

You might have a correctly set up Magento environment. My guess is that your {docRoot}/var directory is writable by your server user, but not by your CLI user. Because of that Magento will switch to using /tmp/magento for var. So the CLI may be trying to write to /tmp/magento/var/locks/reindex.lock. Try su-ing to the web user and see if it works

The final solution ended being the cron running at root which was locking the lock files.

4
  • I ran the command as the web user. I can try changing the folder to 777? Commented May 7, 2015 at 19:22
  • Kevin, that did not help Commented May 7, 2015 at 20:07
  • chmod -R ? If that doesn't work you will need to debug Mage_Index_Model_Lock::_setLockFile() (Enterprise_Index_Model_Observer::lockFullReindexProcess() uses file locks exclusively, which is where the exception is thrown) to see where the lock file exists. Commented May 8, 2015 at 13:41
  • I don't think that is the issue, Magento has already given us one patch, I will keep you posted Commented May 8, 2015 at 18:24

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.