我想安装一个带有centOS 32位的服务器来安装Atlassian Jira。 我遵循官方的Atlassian安装指南https://confluence.atlassian.com/display/JIRA/Installing+JIRAPostgres和Atlassian Jira:驱动程序问题
现在我正在运行安装向导,我需要配置PostgreSQL数据库。在我的centOS上,我通过yum安装了8.4.20版本。 但是,我很难设置吉拉。 Postgres的运行,我可以通过Linux控制台登录,但是当我考到数据库的连接,我收到以下错误:
Error connecting to database
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Connection refused
此外,当我键入完整的公网IP地址出现此错误。如果我插入本地主机,我得到这个:
Error connecting to database
FATAL: Ident authentication failed for user "jiradbuser"
如果我插入
http://<public ip>
我得到如下:
Error connecting to database
No suitable driver found for jdbc:postgresql://http://<public ip>:5432/jiradb
但是,我把我的JDBC驱动程序到/ opt/Atlassian的/ jira/lib,它的名字是postgresql-8.4-703.jdbc4.jar。 Postgresql版本是8.4.20。
我在哪里做错了?
为什么使用PostgreSQL的这样一个过时的版本?对于新的安装,你应该使用9.3。如果JIRA指定你必须使用8.4,那么他们需要在这十年中获得。 – 2014-09-22 14:20:14
我正在使用该版本,因为这是我用yum install postgresql-server命令安装的。我很乐意切换到更新的版本。 – Manu 2014-09-22 14:21:14
啊,所以你在一个老的操作系统上,也许是RHEL6/CentOS 6.在这种情况下,请参阅http://yum.postgresql.org/。不要使用旧的PostgreSQL开始新的部署。 (虽然这不是你遇到的问题)。 – 2014-09-22 14:24:19