LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CLI command returns odd / unclear output (https://www.linuxquestions.org/questions/linux-newbie-8/cli-command-returns-odd-unclear-output-4175598281/)

broeder 01-26-2017 04:58 AM

CLI command returns odd / unclear output
 
command:

reindex --indexer.php table1 , table2

and, I get (later on)

[~/public_html]: table2 successfully reindexed

While it is clear that the command was executed on table2, the status of table1 is not mentioned at all. All I know is that table1 is not properly reindexed.

descendant_command 01-26-2017 05:21 AM

What does 'man reindex' say?
Or 'reindex --help'?
Where does 'reindex' come from?

michaelk 01-26-2017 07:55 AM

Welcome to LinuxQuestions.

I assume the OP is trying to reindex database tables. What database are you running?

broeder 01-26-2017 10:13 AM

reindex --indexer.php
 
man reindex: rebuilds indexes on tables. It takes indexer.php as a parameter as the platform (Magento) is a special one.

But, the question was about doing this with two tables (one after the other) in one command line.

I believe it was because of the use of space between the two tables. There should not be spaces; only a coma.


All times are GMT -5. The time now is 12:27 PM.