install eZ find

Author Message

anne martinet

Wednesday 02 July 2008 2:24:54 am

Hello,

I want download eZ Find with my console, as eZ Publish :

cd /tmp
wget http://ez.no/content/download/218812/1467959/file/ezpublish-4.0.0-gpl.tar.gz

What do I write ?

cd /tmp
wget http://ez.no/content/download/??????????????????????????????????????

Thanks

Łukasz Serwatka

Wednesday 02 July 2008 4:05:43 am

http://ez.no/ezfind/download

http://ez.no/content/download/218501/1465562/version/1/file/ezfind_1.0.0beta2.tar.gz

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

anne martinet

Wednesday 02 July 2008 5:45:08 am

Thanks,

I choose to do:

cd /tmp/
wget http://ez.no/content/download/218...sion/1/file/ezfind_1.0.0beta2.tar.gz

:)

Now when I read the doc, it says:

Save the downloaded file to the root of your eZ Publish installation, and then extract the files.

But where in the eZ Publish installation?
I install eZ Publish there: /var/www/ezpublish
I install eZ Flow in this folder (/var/www/ezpublish) ? or in the folder extension (/var/www/ezpublish/extension/) ? or another like /var/www/ ?..........

thanks

anne martinet

Wednesday 02 July 2008 8:36:12 am

I install ezPublish in : /var/www/ezpublish/
I install java JRE : sudo apt-get install sun-java6-jre
I download eZFind and I install:

cd /tmp/
wget http://ez.no/content/download/218...sion/1/file/ezfind_1.0.0beta2.tar.gz
tar zxvf ezfind_1.0.0beta2.tar.gz -C /var/www/ezpublish/

I try to Starting Solr:
cd /var/www/ezpublish/extension/ezfind/java/
java -jar start.jar

But I have this probleme when I do the last commande:

java -jar start.jar


2008-07-02 18:13:17.456::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2008-07-02 18:13:17.641::INFO:  jetty-6.1.3
2008-07-02 18:13:17.961::INFO:  Extract jar:file:/var/www/ezpublish/extension/ezfind/java/webapps/solr.war!/ to /tmp/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp
2008-07-02 18:13:20.349::INFO:  NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
2008-07-02 18:13:21.839::WARN:  failed SolrRequestFilter
java.lang.NoClassDefFoundError: org.apache.solr.core.SolrConfig
   at java.lang.Class.initializeClass(libgcj.so.7)
   at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:77)
   at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:100)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:41)
   at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)
   at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
...
...
...

I think it's not probleme memory limit.
I try this commande

root@ubuntu:/var/www/ezpublish/extension/ezfind/java# java -Xms512M -Xm512M -jar start.jar

But I have the same result!
What else?

And when I go in this page :
http://localhost:8983/solr/admin

I have this result :

HTTP ERROR: 404

NOT_FOUND

RequestURI=/solr/admin

Powered by jetty://

anne martinet

Monday 07 July 2008 12:04:37 am

Hello :)

I find my probleme, I have installed java 6 but when I write this commande:

root@ubuntu:~# update-alternatives --config java

There are 3 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
      1        /usr/bin/gij-wrapper-4.1
*+    2        /usr/lib/jvm/java-gcj/jre/bin/java
      3        /usr/lib/jvm/java-6-sun/jre/bin/java

Press enter to keep the default[*], or type selection number: 3
Using `/usr/lib/jvm/java-6-sun/jre/bin/java' to provide `java'.

So, the bad alternative was used. I corrected with the choice number 3.
And Solr run

:)

Thanks for your help
:)

anne martinet

Monday 07 July 2008 1:30:19 am

Re coucou, I have a new probleme!

I haven't change configuration of eZ Find!
And I activated eZ Find, I write in this file : settings/override/site.ini.append.php

[ExtensionSettings]
…
ActiveExtensions[]=ezfind
ActiveExtensions[]=ezwebin
…

But I do add content of my siteaccess demonstrateur_ez in ez Find.
So I write:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s demonstrateur_ez_admin

And the return is:

Enter path to PHP-CLI executable ( or [q] to quit )

(If I tape php, I have Fatal error: Class 'eZSolr' not found in
/var/www/ezpublish/extension/ezfind/bin/php/updatesearchindexsolr.php on line 235 )

What do I do?

anne martinet

Tuesday 15 July 2008 1:11:23 am

:(

I have this error because I doesn't have installed EZ Components.
Now I have install eZ Components 2007.2.1.
And I have a new probleme :(

When I indexing a siteaccess_admin I have this result:

# php extension/ezfind/bin/php/updatesearchindexsolr.php -s ezwebin_site_admin
Starting object re-indexing
Enter path to PHP-CLI executable ( or [q] to quit ) php
Using fork.
Using 2 concurent process(es)
Number of objects to index: 72

Creating a new thread: 14162
...................................................................... 97.22%
..                                                                     100.00%

Creating a new thread: 14165

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Did not index content correctly:
array (
  0 => '',
)

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Did not index content correctly:
array (
  0 => '',
)

Creating a new thread: 14168

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Did not index content correctly:
array (
  0 => '',
)
Process finished: 14162
Process finished: 14168
Optimizing. Please wait ...
Indexing took 2.85186505318 secs ( average: 25.2466363792 objects/sec )
Finished updating the search index.

what's wrong?

anne martinet

Tuesday 15 July 2008 7:19:45 am

I write in /etc/php5/cli/php.ini

memory_limit = 140M ;

I don't know if it's the best way, but that's run!

Thank you every body!

Probleme resolu

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 31 2025 04:26:37
Script start
Timing: Jan 31 2025 04:26:37
Module start 'layout'
Timing: Jan 31 2025 04:26:37
Module start 'content'
Timing: Jan 31 2025 04:26:38
Module end 'content'
Timing: Jan 31 2025 04:26:38
Script end

Main resources:

Total runtime1.3235 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1328151.2109
Module start 'layout' 0.00570.0026 739.343836.6484
Module start 'content' 0.00831.3143 775.99221,019.7500
Module end 'content' 1.32260.0008 1,795.742219.8672
Script end 1.3234  1,815.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2370160.0002
Check MTime0.00130.0966160.0001
Mysql Total
Database connection0.00120.087010.0012
Mysqli_queries1.232293.1065720.0171
Looping result0.00070.0527700.0000
Template Total1.283797.020.6419
Template load0.00210.157820.0010
Template processing1.281696.837820.6408
Template load and register function0.00140.107210.0014
states
state_id_array0.00170.125710.0017
state_identifier_array0.00250.189020.0013
Override
Cache load0.00190.1418820.0000
Sytem overhead
Fetch class attribute can translate value0.00140.103820.0007
Fetch class attribute name0.00270.206990.0003
XML
Image XML parsing0.00110.084820.0006
class_abstraction
Instantiating content class attribute0.00000.001890.0000
General
dbfile0.00160.1192180.0001
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
26content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
12content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
14content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 63
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs