LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 04: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, 05:21 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,873

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
What does 'man reindex' say?
Or 'reindex --help'?
Where does 'reindex' come from?
 
Old 01-26-2017, 07:55 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,708

Rep: Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591Reputation: 5591
Welcome to LinuxQuestions.

I assume the OP is trying to reindex database tables. What database are you running?
 
Old 01-26-2017, 10: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 02:51 AM
[SOLVED] Output of a command for editing in CLI Rezney Linux - General 10 05-14-2015 09:16 AM
Grep on output of command returns all output traigo Linux - Newbie 2 02-24-2009 05:15 PM
Odd problem with making a variable the output of a command in a shell script linux=future Programming 3 12-13-2005 09:45 PM
CLI....ls (or similar command)...formatting output Basslord1124 Linux - Newbie 2 02-27-2005 05:13 PM

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

All times are GMT -5. The time now is 01:31 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
Open Source Consulting | Domain Registration