Outils pour utilisateurs

Outils du site


informatique:raspberrypi:yacy

Yacy sur Raspberry-pi

Le moteur distribué de recherche Yacy sur Raspberry:

Avec un PI 2ème génération

  • ARMv7 Processor rev 5 (v7l)

Je à suivre Installation of YaCy on Debian et hop, après de longue minutes d'installation, ça fonctionne ;-)

Important File Locations

Après installation, les dossiers et fichiers importants sont:

  • l'application:
    • /usr/share/yacy
  • Les données:
    • /var/lib/yacy
  • Les fichiers de configuration:
    • /etc/yacy/
    • /etc/yacy/yacy.conf is created using the /usr/share/yacy/defaults/yacy.init file on the first run.
  • Les logs:
    • /var/log/yacy/

Avec un PI 1ere génération

ejdk-8u71

Avec ejdk-8u71-linux-armv6-vfp-hflt.tar.gz

$ ./yacy/startYACY.sh -d
****************** YaCy Web Crawler/Indexer & Search Engine *******************
...
>> YaCy started as daemon process. Administration at http://localhost:8090 << 
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP
$ cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 2.28
Features	: half thumb fastmult vfp edsp java tls
...

ejre-1_6

ARMv6/7 Linux - Headless EABI, VFP, SoftFP ABI, Little Endian ejre-1_6_0_38-fcs-b05-linux-arm-vfp-eabi-headless-13_nov_2012.tar.gz

shared object libjli.so not found

Et pourtant:

$ sudo find / -name libjli*
/usr/lib/ejre1.6.0_38/lib/arm/jli/libjli.so
/usr/local/lib/libjli.so -> /usr/lib/ejre1.6.0_38/lib/arm/jli/libjli.so
/usr/lib/libjli.so -> /usr/lib/ejre1.6.0_38/lib/arm/jli/libjli.so
/usr/lib/jvm/java-7-openjdk-armhf/jre/lib/arm/jli/libjli.so

Plein d'essais avec ldconfig & co mais pas de résultat…

Peut être continuer l'analyse à partir de https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548729 avec l'outil readelf (package elfutils).

openjdk-7-jre

Après quelques minutes (de mise en route ?), ça ne plante suavagement:

...
#  Internal Error (cppInterpreter_arm.S:2625), pid=6369, tid=2264265824
#  fatal error: 	*** Unimplemented opcode: 232 = <unknown>
...
$ ./yacy/startYACY.sh -d
****************** YaCy Web Crawler/Indexer & Search Engine *******************
**** (C) by Michael Peter Christen, usage granted under the GPL Version 2  ****
****   USE AT YOUR OWN RISK! Project home and releases: http://yacy.net/   ****
**  LOG of       YaCy: DATA/LOG/yacy00.log (and yacy<xx>.log)                **
**  STOP         YaCy: execute stopYACY.sh and wait some seconds             **
**  GET HELP for YaCy: see http://wiki.yacy.net and http://forum.yacy.de     **
*******************************************************************************
 >> YaCy started as daemon process. Administration at http://localhost:8090 << 
Asserts are enabled
[ YaCy v1.82, build 20150121 by Michael Christen / www.yacy.net ]
-------------------------------------------------------------------------------
STARTUP: Trying to load logging configuration from file /home/pi/yacy/DATA/LOG/yacy.logging
I 2016/01/29 09:42:25 Domain Init local host address: 127.0.0.1 (local)
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
I 2016/01/29 09:42:26 Domain Init local host address: 127.0.1.1 (local)
I 2016/01/29 09:42:26 Domain Init local host address: 192.168.0.87 (local)
I 2016/01/29 09:42:35 UPNP found device: Netgear CBVG834G
I 2016/01/29 09:42:36 UPNP mapped mapped port 8090 to port 8090 on device Netgear CBVG834G, external IP is 89.158.149.192
I 2016/01/29 09:42:43 Word hashCache.size = 20000
I 2016/01/29 09:42:43 SWITCHBOARD Initializing Segment '/home/pi/yacy/DATA/INDEX/freeworld/SEGMENTS.
I 2016/01/29 09:42:53 org.apache.solr.core.ConfigSolr Loading container configuration from /home/pi/yacy/defaults/solr/solr.xml
I 2016/01/29 09:43:11 org.apache.solr.update.UpdateShardHandler Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false
I 2016/01/29 09:43:11 org.apache.solr.logging.LogWatcher SLF4J impl is org.slf4j.impl.JDK14LoggerFactory
I 2016/01/29 09:43:11 org.apache.solr.logging.LogWatcher Registering Log Listener [JUL (org.slf4j.impl.JDK14LoggerFactory)]


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (cppInterpreter_arm.S:2625), pid=6369, tid=2264265824
#  fatal error: 	*** Unimplemented opcode: 232 = <unknown>

#
# JRE version: OpenJDK Runtime Environment (7.0_91-b02) (build 1.7.0_91-b02)
# Java VM: OpenJDK Zero VM (24.91-b01 mixed mode linux-arm )
# Derivative: IcedTea 2.6.3
# Distribution: Raspbian GNU/Linux 8.0 (jessie), package 7u91-2.6.3-1~deb8u1+rpi1
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
/home/pi/yacy/hs_err_pid6369.logrror]
# An error report file with more information is saved as:
# /home/pi/yacy/hs_err_pid6369.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#
Aborted
informatique/raspberrypi/yacy.txt · Dernière modification : 31/03/2016 12:38 de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki