Hi! To use servicewrapper with 0.90, you need to use the 0.90 branch, not master. I guess classnames have changed between the releases.
It also says it in its readme ;) "Important: If you want to use service wrapper with elasticsearch 0.90 (and below), you need to switch to the 0.90 branch of this repository and then follow the installation instructions." Best, Kay On Tuesday, August 19, 2014 9:58:27 AM UTC+2, Christian Reiss wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey folks! o/ > > I know this might now be the exact right mailing list, but since GL2 > enforces using 0.90.10 of ElasticSearch maybe someone else ran into my > problem. > > I am running elasticsearch-0.90.10 for GrayLog2. So I pulled the tgz > from > ( > http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.10.tar.gz) > > > and unpacked it in /opt/elasticsearch: > > total 72K > drwxr-xr-x 6 root root 4.0K Aug 18 17:56 . > drwxr-xr-x. 3 root root 4.0K Aug 18 16:44 .. > drwxr-xr-x 3 root root 4.0K Aug 18 17:53 bin > drwxr-xr-x 2 root root 4.0K Aug 18 17:34 config > drwxr-xr-x 3 root root 4.0K Aug 18 15:57 lib > - -rw-rw-r-- 1 root root 12K Jan 10 2014 LICENSE.txt > drwxr-xr-x 2 root root 4.0K Aug 19 09:39 logs > - -rw-rw-r-- 1 root root 165 Jan 10 2014 NOTICE.txt > - -rw-rw-r-- 1 root root 7.9K Jan 10 2014 README.textile > - -rw-r--r-- 1 root root 21K Aug 18 17:55 wrapper.log > > then I installed the servicewrapper: > > # curl -k -L > http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master > | tar -xz > # mv *servicewrapper*/service /opt/elasticsearch/bin/ > # /opt/elasticsearch/bin/service/elasticsearch install > > > However, a run fails with: (also the init.d script start fails with the > same): > > > [root@inspector service]# ./elasticsearch console > Running Elasticsearch... > wrapper | --> Wrapper Started as Console > wrapper | Java Service Wrapper Community Edition 64-bit 3.5.14 > wrapper | Copyright (C) 1999-2011 Tanuki Software, Ltd. All Rights > Reserved. > wrapper | http://wrapper.tanukisoftware.com > wrapper | > wrapper | Launching a JVM... > jvm 1 | WrapperManager: Initializing... > jvm 1 | WrapperSimpleApp Error: Unable to locate the class > org.elasticsearch.bootstrap.ElasticsearchF : > java.lang.ClassNotFoundException: > org.elasticsearch.bootstrap.ElasticsearchF > jvm 1 | > jvm 1 | WrapperSimpleApp Usage: > jvm 1 | java org.tanukisoftware.wrapper.WrapperSimpleApp > {app_class{/app_method}} [app_arguments] > jvm 1 | > jvm 1 | Where: > jvm 1 | app_class: The fully qualified class name of the > application to run. > jvm 1 | app_arguments: The arguments that would normally be passed > to the > jvm 1 | application. > wrapper | JVM exited while loading the application. > ^Cwrapper | INT trapped. Shutting down. > wrapper | <-- Wrapper Stopped > > > Launching it (elasticsearch, not the service wrapper) directly yields a > running EL instance, thats query-able. > > I really don't know what to do here -- any help is appreciated! > > Cheers! > - -Christian. > > - -- > > Christian Reiss - [email protected] <javascript:> /"\ > ASCII Ribbon > \ / Campaign > GPG Key: http://gpg.christian-reiss.de X against HTML > Jabber : [email protected] <javascript:> / \ in > eMails > > "It's better to reign in hell than to serve in heaven.", > John Milton, Paradise lost. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > > iQIcBAEBAgAGBQJT8wOYAAoJEETikSarzUPF/7oP/j9yc4bRKW4mXWBHDK4OhvZH > A75AMDe4TpDFKT5ReuvitAdZBa0mO9/+ceB/zWPOmLHhullAE/5ZGfPEN+1bzmhN > 27nXVqsah+DUkB28fDAEwBMy3r/NttmY/tSOt2GWrAnUITKpMRHv36Tepz81746S > tt8m8O2AHdxoXeVEss/a+mmwF/mRht838DM5wcKD/o2OIMm/AXS8U7W8GWXHwBGr > m9DRotOaPwZiMCExHeDtUKXXtyVQkkIzFLn5QZelDUdUxluPtabhofOjG2MrCp3o > +u0vRBR6L8ghGxYFOAFRcWjU0Af1kq+OwZ1MJxU0nNw+qecdx9AV4O3mHDDu9Wry > sKK3cGtykhE2jSCDDc3SRIPyPnWEBM24Ijlp4+AKX1Uc4oGBLYh29GEMYDpc+WiN > LNfsbnl8/9u6XeUpVwooPdjUi5CNgEB5qluPe63e4rkmVWUOeb20sB/VwIdwQ1MF > rY94aC3HV392c1lDb3q2K02vCSpTGlSrknH/+fowS/TtdtJ9YMjnsh/+TgUqQ2K4 > ehTa28A2TSJnaTdUKMTI/NVkG+VYfeb0bfHG6byygzvs2yokt/Tv6HihHw+I34ru > FH1fi9jYe4nUQkhFeivmID2tRJPty+7fZ9iTKcsRyQmEbbi/rRsIk1FQmh8vtzBc > 5jED5CccSlWsRjl42YiU > =y9iV > -----END PGP SIGNATURE----- > > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
