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 setAdd the following line of code to the top of your
<JIRA-Installation-Directory>/bin/setenv.shfile (Standalone instance):CATALINA_PID="<Change this to your preferred location>/id.pid"export CATALINA_PIDTomcat will automatically write its process id to
id.pidin your specified path and kill its process with the-forceparameter.- In addition to the above, you can try a custom script that runs
shutdown.shfirst before forcing Tomcat to shutdown. This script will sleep 60 seconds then look inside./id.pidto 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.pidfor the process ID and runcatalina.sh stop -forcefor that process.
Both scripts need to be saved in <JIRA install>/bin and assume id.pidis 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 startrafael 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,不过这样的话每次重启或者不 ...
随机推荐
- ThinkPHP的数据库访问的简单操作
传统的sql与ThinkPHP中的sql相比较 以user表为例 $user=M('user'); 1: SELECT * FROM user----------$user->select( ...
- [Excel] C#DataToExcel帮助类 (转载)
点击下载 DataToExcel.rar 看下面代码吧 /// <summary> /// 类说明:DataToExcel /// 编 码 人:苏飞 /// 联系方式:361983679 ...
- 新浪微博failed to receive access token
这个问题很多人都遇到了,很多人发邮件我,我之前解决的时候也花了很大的代价,发现很多的都是抄袭,然后就是找不到答案,确实比较痛苦.避免大家跟我范一样的错误. 保证几个东西: 1.签名正确---非常重要. ...
- 关于jQuery,$(":button") 中的冒号是什么意思?
$(":button") 表示匹配所有的按钮.$("input:checked")表示匹配所有选中的被选中元素(复选框.单选框等,不包括select中的opti ...
- Java Map集合按照key和value排序之法
一.理论基点 Map是键值对的集合接口,它的实现类主要包括:HashMap,TreeMap,Hashtable以及LinkedHashMap等. TreeMap:基于红黑树(Red-Black-Tre ...
- NSdate 时间格式
NSdate 时间格式 NSTimeInterval 时间间隔 基本单位 秒 NSDateFormatter 时间格式器 用于日期对象的格式化或字符串解析为日期对象 日期格式如下: y 年 M 年 ...
- redis【摘自网上,只为以后查看】
ubuntu安装启动redis 1.下载安装 cd /tmp wget http://redis.googlecode.com/files/redis-2.2.13.tar.gz tar -zxf r ...
- Windows Phone 之播放视频
在Windows Phone 7中播放视频有两种方式, (1)使用MediaElement 控件来播放:用MediaElement 控件来播放视频比较灵活,你需要自己去实现播放暂停进度条等等的功能,播 ...
- [转]显示文件命令:cat、more、less、tail、touch详解
cat命令cat命令连接文件并打印到标准输出设备上.cat经常用来显示文件的内容,类似于下的type命令. 一般格式:cat [选项] 文件说明:该命令有两项功能,其一是用来显示文件的内容,它依次读取 ...
- 不为人知的Locked
在属性面板上,有一个Locked属性,什么时候添加上去的,真是没有注意到,它的说明为:确定是否可以移动控件或调整控件的大小,默认是为false的,设置为true以后,当前选中的控件会在左上角出现一个锁 ...