Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Magento Indexing Problem and solution


Stock Status Index process is working now. Please try run this process later.

I have resolved the indexing problem. Problem was with the permission and ownership  to /public_html/var/locks directory.
#chown -R owner_name:group_name directory
e.g [/home/spsimpo/public_html/var]# chown -R spsimpo:spsimpo locks
N.B MUST BE THE SAME OWNER AND GROUP OF /VAR
Also need to chmod 777 to all files under /public_html/var/locks
[/home/spsimpo/public_html/var]# chmod -R 777 locks

All the files under /public_html/var/locks has to be like below:

-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:05 index_process_1.lock*
-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:05 index_process_2.lock*
-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:05 index_process_3.lock*
-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:17 index_process_4.lock*
-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:09 index_process_5.lock*
-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:07 index_process_7.lock*
-rwxrwxrwx 1 spsimpo spsimpo   31 Jan 24 11:05 index_process_9.lock*

 

3 responses to “Magento Indexing Problem and solution

  1. Tim Reynolds 08/07/2011 at 12:14 AM

    Thank you for posting this. I ran into this issue just today on a 1.4.1 installation. I wouldn’t have thought it was a lock permission issue.

  2. Stephan 16/12/2011 at 9:05 PM

    Thanks a lot man! You saved me a LOT of time!🙂 Works also in Magento ver. 1.5.1.0!

  3. advokati 26/07/2013 at 12:17 PM

    Superb site you have here but I was curious about if you knew of any
    forums that cover the same topics talked about in this article?
    I’d really like to be a part of online community where I can get comments from other experienced individuals that share the same interest. If you have any recommendations, please let me know. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: