Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in install jira data center in centos

sina rahemi September 5, 2023

in install step after enter database parameter i get this error 

my test connection in database was successful

I tried several times but I don't know where my problem is

I will be grateful for your guidance

os: centos 9

db: postgresql 15

create db with this:

CREATE USER jiradbuser PASSWORD '4YNQcQt95sH9vWKr';
CREATE DATABASE jiradb WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;
GRANT ALL PRIVILEGES ON DATABASE jiradb to jiradbuser;

in pg_hba.conf change IPv4 local connections to md5

host all all 127.0.0.1/32 md5

1.png

dbconfig.xml:

<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>postgres72</database-type>
<schema-name>public</schema-name>
<jdbc-datasource>
<url>jdbc:postgresql://localhost:5432/jiradb</url>
<driver-class>org.postgresql.Driver</driver-class>
<username>jiradbuser</username>
<password>4YNQcQt95sH9vWKr</password>
<pool-min-size>40</pool-min-size>
<pool-max-size>40</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>40</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>
<connection-properties>tcpKeepAlive=true</connection-properties>
</jdbc-datasource>
</jira-database-config>

log file:

https://1drv.ms/u/s!Ahbf0eDwCH70guclZawK4FNwWQS6rw?e=iG1wbj 

 

1 answer

1 accepted

1 vote
Answer accepted
Dirk Ronsmans
Community Champion
September 5, 2023

@sina rahemi ,

Your instance is starting so you should be able to see in the logs what the error is that prevents it from loading further.

Can you check your logs what the error/information is?

Suggest an answer

Log in or Sign up to answer