LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2017, 05:58 AM   #1
broeder
LQ Newbie
 
Registered: Jan 2017
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 01-26-2017, 06:21 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,716

Rep: Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554Reputation: 554
What does 'man reindex' say?
Or 'reindex --help'?
Where does 'reindex' come from?
 
Old 01-26-2017, 08:55 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,549

Rep: Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144Reputation: 3144
Welcome to LinuxQuestions.

I assume the OP is trying to reindex database tables. What database are you running?
 
Old 01-26-2017, 11:13 AM   #4
broeder
LQ Newbie
 
Registered: Jan 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cli command to connect to public AP returns activation failure nix84 Fedora 1 11-09-2015 03:51 AM
[SOLVED] Output of a command for editing in CLI Rezney Linux - General 10 05-14-2015 10:16 AM
Grep on output of command returns all output traigo Linux - Newbie 2 02-24-2009 06:15 PM
Odd problem with making a variable the output of a command in a shell script linux=future Programming 3 12-13-2005 10:45 PM
CLI....ls (or similar command)...formatting output Basslord1124 Linux - Newbie 2 02-27-2005 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration