Page MenuHomePhabricator

gitblit: on antinomy jstack from java v6 is missing
Closed, ResolvedPublic

Description

Java on antinomy.wikimedia.org (host running gitblit) is not properly setup. The java command points to JDK 6 and hence gitblit runs under Java 6.

The jstack command points to JDK 7 and cant take trace. Mark Bergsma attempted to update the alternative to have jstack points to the JDK 6 version but it does not exist.

$ ls -1l /etc/alternatives/java /etc/alternatives/jstack
lrwxrwxrwx 1 root root 46 Jun 25 17:41 /etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
lrwxrwxrwx 1 root root 44 Jun 25 17:47 /etc/alternatives/jstack -> /usr/lib/jvm/java-7-openjdk-amd64/bin/jstack
$

We need jstack 6 to be installed to be able to take stack trace for bug 51769.


Version: wmf-deployment
Severity: normal

Details

Reference
bz51859

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 2:01 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz51859.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 12929
example of a jstack attempt using v7 against a v6 vm

Attached:

Setting this to Highest due to bug 51769 happening more than once a day currently.

Sorted out Java on antimony (thanks Faidon!), everything's running openjdk7 now, no 6 needed.