Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

crucible 3.10.3 doesn't start

Valerii Vainkop
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 30, 2017

All of a sudden the server stopped responding on port 80 during the day. Supposedly after restart, as a backup was scheduled.

It is accessible on ssh.

start-crucible.sh:

 

cd /home/crucible/fecru-3.10.3
nohup ./bin/run.sh &

run.sh:

 

 

#!/bin/sh


case "`uname`" in
  Darwin*) if [ -z "$JAVA_HOME" ] ; then
             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
           fi
           ;;
esac

PRG="$0"
FISHEYE_HOME=`dirname "$PRG"`/..
# make it fully qualified
FISHEYE_HOME=`cd "$FISHEYE_HOME" && pwd`

if [ ! -f "$FISHEYE_HOME/fisheyeboot.jar" ] ; then
  echo "Error: Could not find $FISHEYE_HOME/fisheyeboot.jar"  
  exit 1
fi



exec "$FISHEYE_HOME/bin/fisheyectl.sh" run "$@"

 

fisheyectl.sh:

#!/bin/sh


case "`uname`" in
  Darwin*) if [ -z "$JAVA_HOME" ] ; then
             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
           fi
           ;;
esac

PRG="$0"
FISHEYE_HOME=`dirname "$PRG"`/..
# make it fully qualified
FISHEYE_HOME=`cd "$FISHEYE_HOME" && pwd`

if [ ! -f "$FISHEYE_HOME/fisheyeboot.jar" ] ; then
  echo "Error: Could not find $FISHEYE_HOME/fisheyeboot.jar"  
  exit 1
fi



if [ -z "$JAVACMD" ] ; then
  if [ -n "$JAVA_HOME"  ] ; then
    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
      # IBM's JDK on AIX uses strange locations for the executables
      JAVACMD="$JAVA_HOME/jre/sh/java"
    else
      JAVACMD="$JAVA_HOME/bin/java"
    fi
  else
    JAVACMD=`which java 2> /dev/null `
    if [ -z "$JAVACMD" ] ; then
        JAVACMD=java
    fi
  fi
fi

if [ ! -x "$JAVACMD" ] ; then
  echo "Error: JAVA_HOME is not defined correctly."
  echo "  We cannot execute $JAVACMD"
  exit 1
fi

if [ -z "$FISHEYE_INST" ] ; then
  FISHEYE_INST=$FISHEYE_HOME
fi

FISHEYE_OPTS=`$JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter`

FISHEYE_CMD="$JAVACMD $FISHEYE_OPTS  -Dfisheye.library.path=$FISHEYE_LIBRARY_PATH -Dfisheye.inst=$FISHEYE_INST -Djava.awt.headless=true -Djava.endorsed.dirs=$FISHEYE_HOME/lib/endorsed -jar $FISHEYE_HOME/fisheyeboot.jar"
if [ "$1" = "start" ] ; then
  cd $FISHEYE_INST
  mkdir -p $FISHEYE_INST/var/log
  CMD="$FISHEYE_CMD $@ $FISHEYE_ARGS"
  echo "Starting FishEye/Crucible... Output redirected to $FISHEYE_INST/var/log/fisheye.out"
  nohup sh -c "exec $CMD" >> $FISHEYE_INST/var/log/fisheye.out 2>&1 &
else
  exec $FISHEYE_CMD $@ $FISHEYE_ARGS
fi

Please help, the support license "conveniently" expired this month! :(

1 answer

0 votes
Piotr Swiecicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 31, 2017

check your logs at $FISHEYE_INST/var/log/ location, can you see any recent errors there?

Also, did you set up FISHEYE_INST environment variable as explained in https://confluence.atlassian.com/fisheye/installing-fisheye-on-linux-and-mac-298976962.html ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events