unable to run updatesearchindexsolr.php

Author Message

Romeo Antony

Sunday 24 October 2010 3:32:42 pm

  • Unable to run
  • php extension/ezfind/bin/php/updatesearchindexsolr.php -s siteaccess --php-exec=/usr/bin/php

 

Running scripts as root may be dangerous.
If you think you know what you are doing, you can run this script with the
root account by appending the parameter --allow-root-user.

Even php extension/ezfind/bin/php/updatesearchindexsolr.php -help returns the same message

php extension/ezfind/bin/php/updatesearchindexsolr.php

Anyone knows this issue , I am running this updatesearchindexsolr.php , from my root account . I do not know why keeps getting this , even though I am in root.

Ivo Lukac

Monday 25 October 2010 12:54:21 am

Try running:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s siteaccess --php-exec=/usr/bin/php --allow-root-user

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Romeo Antony

Monday 25 October 2010 2:18:01 am

Thank you brother . It worked. great help

Nicolas Pastorino

Monday 25 October 2010 9:51:40 am

"

Thank you brother . It worked. great help

"

Hi Romeo,

You may want to mark the topic as solved, if this is the case.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:16:28
Script start
Timing: Jan 30 2025 00:16:28
Module start 'layout'
Timing: Jan 30 2025 00:16:28
Module start 'content'
Timing: Jan 30 2025 00:16:28
Module end 'content'
Timing: Jan 30 2025 00:16:28
Script end

Main resources:

Total runtime0.0215 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.2578151.2266
Module start 'layout' 0.00670.0042 739.484436.6875
Module start 'content' 0.01090.0088 776.171994.7813
Module end 'content' 0.01960.0018 870.953133.9766
Script end 0.0215  904.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.4953140.0002
Check MTime0.00115.0304140.0001
Mysql Total
Database connection0.00135.964910.0013
Mysqli_queries0.003918.220630.0013
Looping result0.00000.153010.0000
Template Total0.00136.110.0013
Template load0.00104.839810.0010
Template processing0.00031.273710.0003
Override
Cache load0.00073.138210.0007
General
dbfile0.003516.479180.0004
String conversion0.00000.036640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs