jira 无法停止启动解决方案
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 |
Still not shutting down properly?
Icon
If the above results in an error, such as:
Kill failed: $CATALINA_PID not set
Add the following line of code to the top of your
<JIRA-Installation-Directory>/bin/setenv.sh
file (Standalone instance):CATALINA_PID=
"<Change this to your preferred location>/id.pid"
export CATALINA_PID
Tomcat will automatically write its process id to
id.pid
in your specified path and kill its process with the-force
parameter.- In addition to the above, you can try a custom script that runs
shutdown.sh
first before forcing Tomcat to shutdown. This script will sleep 60 seconds then look inside./id.pid
to check if Tomcat is still running. If Tomcat is still running, it will issue acatalina.sh stop -force
. - Also, here you can find a script which forces JIRA to shutdown and deletes the lock file in the JIRA Home directory. It will look inside
./id.pid
for the process ID and runcatalina.sh stop -force
for that process.Both scripts need to be saved in <JIRA install>/bin and assume
id.pid
is located in the same location.
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
jira 无法停止启动解决方案的更多相关文章
- 转 Oracle监听器启动出错:本地计算机上的OracleOraDb11g_home1TNSListener服务启动后又停止了解决方案
今早刚上班.客户打电话过来说系统访问不了,输入用户名.用户号不能加载出来!听到这个问题,第一时间想到的是不是服务器重新启动了,Oracle数据库的相关服务没有启动的原因.查看服务的时候,发现相关的服务 ...
- Oracle listener服务启动后又停止的解决方案
这是Oracle监听服务.忘了说我的版本是Oracle10g. 我装完Oracle数据库之后,然后用第三方工具plsql去连接,提示no listener,首先我反复检查tnsnames.ora配置文 ...
- Oracle监听器启动出错:本地计算机上的OracleOraDb11g_home1TNSListener服务启动后又停止了解决方案
一.错误描述 登陆PL/SQL Developer登陆本地数据库时先报没有监听程序,查看服务发现Oracle监听服务没有启动.右击启动监听程序,报错: 错误描述:本地计算机上的OracleOraDb1 ...
- VS2012编译的Windows服务启动后立即停止的解决方案
ATL中的BUG,在没有COM的服务中,使用_ATL_NO_COM_SUPPORT. 并在服务中添加下面的代码 #if defined(_ATL_NO_COM_SUPPORT) HRESULT Pre ...
- 35. Oracle监听器启动出错:本地计算机上的OracleOraDb11g_home1TNSListener服务启动后又停止了解决方案
一.原因分析 你安装oracle的时候是连网的,那么listener.ora文件里的HOST=网络给你分配的IP地址,而在你断网的时候就会出现这样的情况. 三.解决办法 方法一:监听器 通过liste ...
- WIN 8.1 x64 环境下 COM Surrogate 停止工作解决方案
我的笔记本电脑是THINKPAD T420 4180AT8,NVIDIA NVS 4200M,Intel(R) HD Graphics 3000,WIN 8.1 x64操作系统.在安装完NVIDIA独 ...
- MySql免安装版安装配置,附MySQL服务无法启动解决方案
文首提要: 我下载的MySQL版本是:mysql-5.7.17-winx64.zip Archive版:系统:Windows7 64位. 一.解压文件 下载好My ...
- SVN服务端启动解决方案(2013-12-10 记)
解决每一次开机都得用DOS启动SVN服务,而DOS窗口又无法关闭的情况 1.安装Setup-Subversion-1.8.5.msi搭建好SVN服务端(下载地址:http://subversion. ...
- weblogic10.3.6 自动启动服务后停止的解决方案
windows部署weblogic后,需要手动开启weblogic管理员服务器,即Start Admin Server for Weblogic Server Domain,不过这样的话每次重启或者不 ...
随机推荐
- JavaScript的DOM操作(三)
1.相关元素操作: var a = document.getElementById("id"); var b = a.nextSibling,找a的下一个同辈元素,注意空格 var ...
- step2 uboot tag存储主要部分代码
cmd_bootm.c //传递给内核的参数 int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...
- spring security 11种过滤器介绍
1.HttpSessionContextIntegrationFilter 位于过滤器顶端,第一个起作用的过滤器. 用途一,在执行其他过滤器之前,率先判断用户的session中是否已经存在一个Secu ...
- 第三部分 关于HHibernate中关键字ID的配置
实体类映射中,必须配置一个关键字,对应着数据表的关键字,大多数的实体类也都有一个属性表示类的唯一性,在实体类配置文件(.hbm.xml)中,<id>元素的就是这个作用. 一个完整的ID配置 ...
- .NET设计模式(2):单件模式(Singleton Pattern)
转载:http://terrylee.cnblogs.com/archive/2005/12/09/293509.html 单件模式(Singleton Pattern) --.NET设计模式系列之二 ...
- javascript String 和StringBuffer 的应用
显示情况时Javascript中并没有StringBuffer类,一种主流的Javascript StringBuffer类的实现是通过prototype构造一个StringBuffer类. Stri ...
- ios专题 - 单例模式的实现
[原创]http://www.cnblogs.com/luoguoqiang1985 单例模式是什么? 一个类只有一个实例. ----------------------- 这样做有什么好处? 在我的 ...
- ES6学习笔记之Promise
入职百度EFE团队实习已经三周了,实习中接触到了生产环境的技术和开发流程,大开眼界,和自己在学校接小作坊式项目是很不一样的体验.其中一个很大的感触是,ES6早已不是“选修”的尝鲜技术,而是已经全面普及 ...
- Spring回顾
1.IOC和DI IOC:Inversion of Control(控制反转)是一个重要的面对对象编程的法则来削减计算机程序的耦合问题,也是轻量级的Spring框架的核心. IOC理解:将组件对象的控 ...
- uniq和sort的用法
uniq和sort都是按行操作的linux命令. sort按文本行排序,如下所示的log文件:直接sort log即可将其排序. 容易忽略的是sort -n命令,在如下例子中将看到 如果直接sort则 ...