Atlassian JIRA Change IP

Oracle Linux 6.8

Atalssian JIRA 7

原来IP: 192.168.10.200

改新IP: 192.168.12.200

重新跑应用报错,如下所示:

官方提示应用连接不上DB,是指当前安装应用系统时指定了固定DB的连接IP.

当时安装应用时有指定DB IP.

https://confluence.atlassian.com/jirakb/startup-check-jira-database-connections-872262124.html

Startup check: JIRA database connections

This Knowledge Base article was written specifically for the Atlassian Server platform. Due to the Restricted functions in Atlassian Cloud apps, the contents of this article cannot be applied to Atlassian Cloud applications.

During Installation, Upgrade or Startup, JIRA performs a number of checks. The Database Connection check verifies that JIRA can connect to a Database, as this is vital for JIRA to run.

Cause

The reasons for this check to fail are:

  • You don‘t have a database running

  • The configuration in your dbconfig.xml is incorrect
  • Username/Password for your database are incorrect
  • Your database user doesn‘t have the correct permissions to connect to the database
  • The database specified is not the JIRA database
  • You‘re trying to use an incorrect port
  • General network issues that prevent JIRA from connecting to your database include:
    • Postgres/Mysql localhost errors

    • Firewall errors
    • Network connection not available/offline

Impact

The JIRA instance needs a database in order to run. Without a database it can‘t read any previously created Issues or store newly created issues.

Resolution

Given that there‘s a number of reasons this cold be happening, there‘s a few things you may need to check to resolve this.

Network issue

Lets see if your network is up. Lets check if your database is reachable for your JIRA instance.

Ping your database server

Can you ping your Database server? Take the URL for your database that‘s in your dbconfig.xml and ping your database

改正DB IP

[[email protected] ~]# find / -name ‘dbconfig.xml‘
/var/atlassian/application-data/jira/dbconfig.xml

[[email protected] ~]# vi /var/atlassian/application-data/jira/dbconfig.xml
<?xml version="1.0" encoding="UTF-8"?>

<jira-database-config>
  <name>defaultDS</name>
  <delegator-name>default</delegator-name>
  <database-type>mysql</database-type>
  <jdbc-datasource>
    <url>jdbc:mysql://192.168.10.200:3306/jira?useUnicode=true&amp;characterEncoding=UTF8&amp;sessionVariables=default_storage_engine=InnoDB</url>

<url>jdbc:mysql://192.168.12.200:3306/jira?useUnicode=true&amp;characterEncoding=UTF8&amp;sessionVariables=default_storage_engine=InnoDB</url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <username>jirauser</username>
    <password>jirauser</password>
    <pool-min-size>20</pool-min-size>
    <pool-max-size>20</pool-max-size>
    <pool-max-wait>30000</pool-max-wait>
    <validation-query>select 1</validation-query>
    <min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis>
    <time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis>
    <pool-max-idle>20</pool-max-idle>
    <pool-remove-abandoned>true</pool-remove-abandoned>
    <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
    <pool-test-on-borrow>false</pool-test-on-borrow>
    <pool-test-while-idle>true</pool-test-while-idle>
    <validation-query-timeout>3</validation-query-timeout>
  </jdbc-datasource>
</jira-database-config>

重启JIRA

[[email protected] ~]# service jira stop

[[email protected] ~]# service jira stop

原文地址:https://www.cnblogs.com/quanweiru/p/8971347.html

时间: 2024-10-15 13:16:48

Atlassian JIRA Change IP的相关文章

virt-install&&change ip

datetimectl set-time "2016-11-01 12:06:26" date +%F  或者 date +%Y+%m+%d date -d"80 day ago" +"%F %H:%M:%S" > /mnt/datafile date -d"-80 day ago" +"%F %H:%M:%S" >> /mnt/datafile cat /mnt/date.txt | w

破解Zephyr for JIRA on Atlassian Jira

[Download] Crack + Keygen Zephyr for JIRA on Atlassian Jira all versions BY CHUNGKOL PHAM- IN DOWNLOAD - ON 3/24/2014 - 9 COMMENTS  Atlassian Zephyr for JIRA isn't free application: Use only for test, not recommended for commercial!Send thanks to a g

auto change ip and hostname

#!/bin/sh ETHCONF=/etc/sysconfig/network-scripts/ifcfg-eth0 HOSTS=/etc/hosts NETWORK=/etc/sysconfig/network NETMASK=255.255.255.0 ### function Change_ip () { grep "dhcp"  $ETHCONF if [ $? -eq 0 ];then read -p "Please insert ip Address:"

Atlassian JIRA 插件开发之二 安装和创建项目

安装参考 https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-windows-system/ 说明 Windows 安装比较简单,安装完成后,命令行运行 atlas-version 验证是否安装成功 注意: 安装完成后,最好将Atlassian自带的Maven的本地仓库地址修改到本机的目录下,修改的文件在 Atlassian\atlassian-plugin-s

CentOS Linux change IP Address

1.change network card configure edit: vi /etc/sysconfig/network-scripts/ifcfg-eth0 ps:notice HWADDR! 2.restart network service executive command: service network restart or /etc/init.d/network restart

【转】使用JIRA搭建企业问题跟踪系统【个人推荐】

免责声明:     本文转自网络文章,转载此文章仅为个人收藏,分享知识,如有侵权,请联系博主进行删除.     原文作者:Judy Shen的专栏     原文地址:使用JIRA搭建企业问题跟踪系统   JIRA是澳大利亚Atlassian公司开发的一款不错的商业问题跟踪工具,可以对各种类型的问题进行跟踪管理,包括缺陷.需求变更.评审记录等.笔者在进行缺陷跟踪工具的选型时,曾经试用了JIRA一段时间,个人感觉很不错.笔者结合试用过程中碰到的问题和个人体会,将试用记录进行了整理.     本文主要

jira的破解

1.下载 JIRA 3.12.3 Enterprise - Standalone(或是其他版本)  csdn上有 2.创建数据库:Create database jiradb character set utf8 3.修改配置文件: 3.1. entityengine.xml如下: <?xml version="1.0" encoding="UTF-8" ?><!--This file configures the OFBiz Entity Eng

JIRA项目管理搭建

部署JIRA 7.2.2 for Linux 转自:http://www.yfshare.vip/2017/05/09/%E9%83%A8%E7%BD%B2JIRA-7-2-2-for-Linux/ May 9, 2017 | Atlassian | 36 Hits 文章目录 1. 安装前准备 2. 安装JIRA 7.2.2 3. 破解JIRA 7.2.2 4. 汉化JIRA 7.2 jira是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪(bug管理).客户服务.需求收集

jira 安装使用;

JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪.客户服务.需求收集.流程审批.任务跟踪.项目跟踪和敏捷管理等工作领域. 一,java 环境: 安装jdk # curl -L -O http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz # tar -zxvf jdk-8u45-linux-x64.gz -C /usr/local/java/ # cd /usr/l