cannot install JIRA RHEL 7.3

Jonathan Kratter August 2, 2017

I am trying to install JIRA on new AWS Redhat X64 environment

When I running the installer I get an XServer error and also cannot run in console mode -c is not working.

 

 

aiadmin@CR8-DEV:~ ] $ sudo ./atlassian-jira-software-7.4.2-x64.bin

 

[sudo] password for aiadmin:

Unpacking JRE ...

Starting Installer ...

Aug 02, 2017 4:14:58 PM java.util.prefs.FileSystemPreferences$2 run

INFO: Created system preferences directory in java.home.

Could not display the GUI. This application needs access to an X Server.

*******************************************************************

You can also run this application in console mode without

access to an X server by passing the argument -c

*******************************************************************

aiadmin@CR8-DEV:~ ] $ java -version

java version "1.8.0_91"

Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

aiadmin@CR8-DEV:~ ] $ uname -a

Linux ip-10-0-1-100.us-east-2.compute.internal 3.10.0-514.21.2.el7.x86_64 #1 SMP Sun May 28 17:08:21 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

4 answers

4 votes
Oguz Arduc December 12, 2017

You have to install fonts via yum.

Afterwards you can use the console mode with -c switch.

 

yum install dejavu-sans-fonts

./atlassian-XXXX.bin -c

Imprev Operations January 12, 2018

Perfect, thanks!

 

It would be nice if their shell script gave more of an error there.

Krishna A August 14, 2018

thanks

manoj reddy August 7, 2019

thanks

0 votes
satish d January 18, 2018

I am also facing the same issue.Even by using the argument by -c or not also.So, Anyone has the answer to it?

[ec2-user@ip-172-31-56-203 ~]$ sudo ./atlassian-confluence-6.4.2-x64.bin -c

Unpacking JRE ...

Starting Installer ...

Fontconfig warning: ignoring UTF-8: not a valid region tag

Could not display the GUI. This application needs access to an X Server.

*******************************************************************

You can also run this application in console mode without

access to an X server by passing the argument -c

*******************************************************************

Imprev Operations January 19, 2018

Did you already try

    yum install dejavu-sans-fonts

then?  That was the issue for me.

Przemysław Danysz July 4, 2018

That fonts also helps me.... it is ..... weird

0 votes
Jonathan Kratter August 30, 2017

you have to install it from the tar.gz and follow instructions

the install .bin does not work

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2017

I'm guessing you're installing on a server without a windowing server installed.  That's not a problem, it's just an interface layer and not needed.

What are the errors you get when you try the installer with the -c so it doesn't try to fire up X?

Jonathan Kratter August 2, 2017

the error is identical with or without the -c option

aiadmin@CR8-DEV:~ ] $ sudo ./atlassian-jira-software-7.4.2-x64.bin -c

[sudo] password for aiadmin:

Unpacking JRE ...

Starting Installer ...

Aug 02, 2017 4:57:28 PM java.util.prefs.FileSystemPreferences$2 run

INFO: Created system preferences directory in java.home.

Could not display the GUI. This application needs access to an X Server.

*******************************************************************

You can also run this application in console mode without

access to an X server by passing the argument -c

*******************************************************************

Jonathan Kratter August 5, 2017

there error is identical if I run with or without the -c option, that is the bug,  with the -c option it should not be asking for an X server installation

I ran multiple versions of the install .bin on clean redhat 7.3 instances all the same result

I didnt have time to screw around with this and I didn't want to install a full X server system on my server so I solved the issues by manually installing JIRA using the tar file install procedure instead of the .bin install 

other folks out there with the same issue can also do that  -- for me it was simple to do -- I am a web archictect and developer so I have a lot of experience with tomcat etc...

thanks

-jon

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 5, 2017

I must admit I'm stuck on this one - the problem is that the -c option works for me, I get a pile in plain text install questions.

Jeffrey-Luckett August 30, 2017

Did anyone solve this?  It's happening for me as well on RHEL 7.3.

Suggest an answer

Log in or Sign up to answer