2016-04-18 8 views
-1

Ich habe einen Server, auf dem ich Jira-Anwendung installiert habe. Jetzt haben wir das IP-Schema geändert und seitdem kann ich nicht auf Jira zugreifen. In catalina.out Protokoll habe ich unten Fehler gefundenWie IP in Postgresql Jira Datenbank ändern

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 

Jede Idee, wo und wie sie ändern, dass IP?

+0

Wenn alles andere fehlschlägt, lesen Sie die Dokumentation: https://confluence.atlassian.com/jira/connecting-jira-to-postgresql-185729433.html –

+0

Keine dbconfig.xml auf Jira-Instanz, gibt es einen anderen Weg zu IP ändern? –

Antwort

1

Ich gehe in/opt/atlassian/jira/bin Ordner und führen ./config.sh

Da ich die richtige Details und speichern Sie die Konfiguration eingetragen.

Diesmal wird die Datei dbconfig.xml im Ordner/var/atlassian/application-data/jira/generiert.

Und mein Problem gelöst.