crucible 3.10.3 doesn't start

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

This widget could not be displayed.

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
Community showcase
Asked yesterday in Data Center

Hi! I'm Cameron Deatsch, enterprise enthusiast and Head of Server at Atlassian. AMA!

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...

11,091 views 2 4
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you