cannot install JIRA RHEL 7.3

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

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

Perfect, thanks!

 

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

0 votes

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?

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

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

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

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.

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

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

the install .bin does not work

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

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

Did you already try

    yum install dejavu-sans-fonts

then?  That was the issue for me.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

381 views 1 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot