Thank you, Markus for your reply.

..Well, in the end I think I found a way to make something work!

Apart from Solr Admin Page letting me randomly access, I could eventually be
able to update the search index and have the web site search functionality
work.

This is how:

- I had to set the java heap size in /ect/profile by assigning -Xms128M
-Xmx128M -XX:PermSize=128m -XX:MaxPermSize=128m to _JAVA_OPTIONS variable

[root@xx ~]# vi /etc/profile
...
export _JAVA_OPTIONS: "-Xms128M -Xmx128M -XX:PermSize=128m
-XX:MaxPermSize=128m"


- Started solr from ssh:

[root@xx ~]# cd /var/www/vhosts/xxxxxxxx.net/httpdocs/extension/ezfind/java
[root@xx java]# java -jar start.jar
Picked up _JAVA_OPTIONS: -Xms128M -Xmx128M -XX:PermSize=128m
-XX:MaxPermSize=128m
2011-03-16 16:53:58.759::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
2011-03-16 16:54:01.260::INFO:  jetty-6.1.3
2011-03-16 16:54:03.018::INFO:  Extract
jar:file:/var/www/vhosts/xxxxxxx.net/httpdocs/extension/ezfind/java/webapps/solr.war!/
to /tmp/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp
...
INFO: SolrUpdateServlet.init() done
2011-03-16 16:54:13.445::INFO:  Started SocketConnector @ 0.0.0.0:8983


- With Solr running, opened a new shell window and launch the command:

[root@xx httpdocs]# php extension/ezfind/bin/php/updatesearchindexsolr.php
-s private --php-exec=php --allow-root-user
Starting object re-indexing
Using 1 concurent process(es)
Number of objects to index: 238
sh: pstotext: command not found
......................................................................
29.41%
......................................................................
58.82%
......................................................................
88.24%
............................                                          
100.00%
Optimizing. Please wait ...
Indexing took 23.989723920822 secs ( average: 9.9209145042901 objects/sec )
Finished updating the search index.


At least now, (of course while the server is running) the search seems to
work fine, finally giving the search results!

Note: With regards to java installation I also reconfigured the default java
configuration, more than what previously done:

[root@xx ~]# alternatives --install /usr/bin/java java
/usr/java/jdk1.6.0_24/bin/java 20000
[root@xx ~]# alternatives --config java
There are 2 programs which provide 'java'.
 
  Selection    Command
-----------------------------------------------
 + 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*  2           /usr/java/jdk1.6.0_24/bin/java
 
Enter to keep the current selection[+], or type selection number: 2
[root@xx ~]# alternatives --config java
 
There are 2 programs which provide 'java'.
 
  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2           /usr/java/jdk1.6.0_24/bin/java
...



-----
loredanaebook.it
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-admin-page-timed-out-and-index-updating-issues-tp2664429p2698408.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to