unable to start daemon

43 views
Skip to first unread message

christia...@itsv.at

unread,
May 24, 2018, 7:20:30 AM5/24/18
to Repo and Gerrit Discussion
Affected Version: 2.14.8
OS: AIX 7.2
JVM:
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 8.0.5.0 - pap3280sr5-20170905_01(SR5))
IBM J9 VM (build 2.9, JRE 1.8.0 AIX ppc-32 20170901_363591 (JIT enabled, AOT enabled)


What steps will reproduce the problem?
1.
gerrit.sh start
Starting Gerrit Code Review: FAILED
2. manual run
git@nimmsag:/opt/gerrit/inst/bin > export JAVA=/opt/gerrit/java/java8/jre/bin/java
git@nimmsag:/opt/gerrit/inst/bin > /usr/bin/perl -e '$x=$ENV{JAVA};exec $x @ARGV;die $!' -- GerritCodeReview -jar /opt/gerrit/inst/bin/gerrit.war daemon -d /opt/gerrit/inst --run-id=1527156925.25035036
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.

but its definitely there..

git@nimmsag:/opt/gerrit/java/java8/jre/lib/ppc > ls -l libjava.so
-r-xr-xr-x    1 git      git          349379 Sep 15 2017  libjava.so

3.
baffled...

any hints to get this running?

Duft Markus

unread,
May 24, 2018, 7:39:54 AM5/24/18
to christia...@itsv.at, Repo and Gerrit Discussion

Hey,

 

I found this: https://issues.jboss.org/browse/ENTESB-3734 which seems to picture a similar issue.

 

Can you try without the ‘exec’ bit? Simply run ‘java -jar /…../gerrit.war daemon -d /opt/Gerrit/inst’

 

Cheers,

Markus

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SSI Schäfer IT Solutions GmbH | Friesachstrasse 15 | 8114 Friesach | Austria
Registered Office: Friesach | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz

christia...@itsv.at

unread,
May 24, 2018, 8:49:33 AM5/24/18
to Repo and Gerrit Discussion
hmm...not sure...it tries to startup than exits to shell.


root@nimmsag: /opt/gerrit/inst/bin # /opt/gerrit/java/java8/bin/java -jar /opt/gerrit/inst/bin/gerrit.war daemon -d /opt/gerrit/inst
[2018-05-24 14:33:15,781] [main] INFO  com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /opt/gerrit/inst/cache
[2018-05-24 14:33:19,612] [main] INFO  com.google.gerrit.server.config.ScheduleConfig : gc schedule parameter "gc.interval" is not configured
[2018-05-24 14:33:19,613] [main] INFO  com.google.gerrit.server.config.ScheduleConfig : changeCleanup schedule parameter "changeCleanup.interval" is not configured
May 24, 2018 2:33:24 PM com.google.inject.servlet.GuiceFilter setPipeline
WARNING
: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.


--
--
To unsubscribe, email repo-discus...@googlegroups.com


More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Duft Markus

unread,
May 25, 2018, 3:08:23 AM5/25/18
to christia...@itsv.at, Repo and Gerrit Discussion

At least java is starting now J I don’t know about the rest, I fear…

--
--
To unsubscribe, email repo-discuss...@googlegroups.com


More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages