Diagnosis
To assess whether the service is still running, run ps -A | grep jira
.
Resolution
Pass the -force
parameter to catalina.sh
as:
catalina.sh stop -force
|
Lets start by making sure there is no JIRA instance running. In order to do it so, please run the following command from your Terminal:
1
2
3
4
5
6
7
8
9
10
11
12
|
ps
aux |
grep
jira
//
as the output, you will
find
something similar to:
rafael 9176 24.6 2.2 3799364 182160 s001 U 5:14PM 0:06.10
/Library/Java/JavaVirtualMachines/jdk1
.7.0_51.jdk
/Contents/Home/bin/java
-Djava.util.logging.config.
file
=/<jira-home>
/jira-6
.2.4
/conf/logging
.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:MaxPermSize=384m -Xms384m -Xmx768m -Djava.awt.headless=
true
-Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=
true
-Dmail.mime.decodeparameters=
true
-Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djira.home=
/var/www/ATLASSIAN/data/jira-6
.2.4 -Djava.endorsed.
dirs
=/<jira-home>
/jira-6
.2.4
/endorsed
-classpath /<jira-home>
/jira-6
.2.4
/bin/bootstrap
.jar:/<jira-home>
/jira-6
.2.4
/bin/tomcat-juli
.jar -Dcatalina.base=/<jira-home>
/jira-6
.2.4 -Dcatalina.home=/<jira-home>
/jira-6
.2.4 -Djava.io.tmpdir=/<jira-home>
/jira-6
.2.4
/temp
org.apache.catalina.startup.Bootstrap start
rafael 9233 0.0 0.0 2432784 600 s001 S+ 5:14PM 0:00.00
grep
jira
//
Please,
kill
the process as per following:
kill
-9 9176
//
where 9176 is the processID to my JIRA instance,
in
the example above mentioned
|
According to the above mentioned, your JAVA_HOME is pointing to JAVA JRE instead of JAVA JDK. Please, review where your Java JDK6 or JDK7 is installed and setup your JAVA_HOME as per Installing Java documentation.
After you have done that, go to <jira-home> directory and run the following from your terminal:
1
|
./bin/start-jira.sh
|
In case you continue on experiencing difficulties on starting up your JIRA instance, I would kindly advise you to open a Support ticket under (https://support.atlassian.com)
Kind regards,
Rafael