2016-04-18 6 views
-1

私はJiraアプリケーションをインストールしたサーバーを持っています。これでIPスキーマが変更され、Jiraにアクセスできなくなりました。 catalina.outログで私は以下のエラーが見つかりましたPostgresqlのIPを変更する方法jira databse

2016-04-18 13:12:55,958 localhost-startStop-1 ERROR  [o.o.c.entity.jdbc.DatabaseUtil] Unable to establish a connection with the database... Error was:org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. 
2016-04-18 13:12:55,959 localhost-startStop-1 ERROR  [o.o.c.entity.jdbc.DatabaseUtil] Could not get table name information from the database, aborting. 
2016-04-18 13:12:55,982 localhost-startStop-1 ERROR  [NoModule] Error getting datasource via DBCP: JdbcDatasourceInfo{uri='jdbc:postgresql://192.168.1.228:5432/jira', driverClassName='org.postgresql.Driver', username='super', password='********', isolationLevel='null', connectionProperties=null, connectionPoolInfo=ConnectionPoolInfo{maxSize=20, minSize=20, initialSize=null, maxIdle=20, maxWait=30000, sleepTime=300000, lifeTime=600000, deadLockMaxWait=600000, deadLockRetryWait=10000, validationQuery=null, minEvictableTimeMillis=null, timeBetweenEvictionRunsMillis=null, poolPreparedStatements=null, testOnBorrow=null, testOnReturn=null, testWhileIdle=null, maxOpenPreparedStatements=null, numTestsPerEvictionRun=null, removeAbandonedTimeout=300, validationQueryTimeout=null, defaultCatalog=null}} 
java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: com.atlassian.jira:name=BasicDataSource 

どのようにすればそのIPを変更できますか?

+0

その他すべてが失敗した場合は、次のドキュメントを参照してください。https://confluence.atlassian.com/jira/connecting-jira-to-postgresql-185729433.html –

+0

jiraインスタンスにdbconfig.xmlはありません。 IPを変更しますか? –

答えて

1

私は、適切な詳細を入力して、設定を保存は/ opt /アトラシアン/ JIRA/binフォルダに移動して、そこ./config.sh

を実行します。

今回は、/ var/atlassian/application-data/jira/folderに生成されたdbconfig.xmlファイルです。

問題が解決しました。

関連する問題