JIRA 5.2.5 x64 binaries for Linux

Cannot install version 5.2.5-x64 loaded from official site

[root@452368-capx179s tmp]# wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-5.2.5-x64.bin
--2013-01-31 17:37:59--  http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-5.2.5-x64.bin
Resolving www.atlassian.com...
Connecting to www.atlassian.com||:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://my.atlassian.com/software/jira/downloads/binary/atlassian-jira-5.2.5-x64.bin [following]
--2013-01-31 17:37:59--  https://my.atlassian.com/software/jira/downloads/binary/atlassian-jira-5.2.5-x64.bin
Resolving my.atlassian.com...
Connecting to my.atlassian.com||:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.atlassian.com/software/jira/downloads/atlassian-jira-5.2.5-x64.bin [following]
--2013-01-31 17:37:59--  http://downloads.atlassian.com/software/jira/downloads/atlassian-jira-5.2.5-x64.bin
Resolving downloads.atlassian.com...
Connecting to downloads.atlassian.com||:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://wpc.29C4.edgecastcdn.net/8029C4/downloads/software/jira/downloads/atlassian-jira-5.2.5-x64.bin [following]
--2013-01-31 17:37:59--  http://wpc.29c4.edgecastcdn.net/8029C4/downloads/software/jira/downloads/atlassian-jira-5.2.5-x64.bin
Resolving wpc.29c4.edgecastcdn.net...
Connecting to wpc.29c4.edgecastcdn.net||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 153164935 (146M) [application/octet-stream]
Saving to: “atlassian-jira-5.2.5-x64.bin”

100%[===================================================================================================================================================================================================>] 153,164,935 65.3M/s   in 2.2s    

2013-01-31 17:38:01 (65.3 MB/s) - “atlassian-jira-5.2.5-x64.bin” saved [153164935/153164935]

[root@452368-capx179s tmp]# md5sum atlassian-jira-5.2.5-x64.bin
84642d1f9ef1df09030af0e8f831742c  atlassian-jira-5.2.5-x64.bin
[root@452368-capx179s tmp]# sh atlassian-jira-5.2.5-x64.bin
Unpacking JRE ...
Preparing JRE ...
atlassian-jira-5.2.5-x64.bin: line 209: bin/unpack200: Permission denied
Error unpacking jar files. The architecture or bitness (32/64)
of the bundled JVM might not match your machine.
[root@452368-capx179s tmp]# uname -a
Linux 452368-capx179s.caphosting.net 2.6.32-279.19.1.el6.x86_64 #1 SMP Sat Nov 24 14:35:28 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@452368-capx179s tmp]#

3 answers

1 accepted

0 votes
Accepted answer

can you check /etc/fstab please.

show mount options for /tmp

i assume you have some "noexec" inside

if so and you don't wanna change it...try moving the binary away from /var to your /home i.e. and run it from there

let me know how it goes

i'd use

/dev/mapper/vglocal20121122-tmp00 /tmp                   ext4    defaults        1 2

Got it, never face it before. Why Rackspace would do that with /tmp?

/dev/mapper/vglocal20121122-tmp00 /tmp                    ext4    defaults,nosuid,nodev,noexec        1 2

chmod a+x atlassian-jira-5.2.5-x64.bin is the step that you are missing.

Nope, its not, he's already running it, and as an aside, by running 'sh' first, the argument doesnt need to be executable to run.

I think my problem is machine specific, works fine on other machine but does not work on this one

[root@452368-capx179s tmp]# id -a
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@452368-capx179s tmp]# /tmp/atlassian-jira-5.2.5-x64.bin
-bash: /tmp/atlassian-jira-5.2.5-x64.bin: Permission denied
[root@452368-capx179s tmp]#

Same as original

[root@452368-capx179s tmp]# sh /tmp/atlassian-jira-5.2.5-x64.bin 
Unpacking JRE ...
Preparing JRE ...
/tmp/atlassian-jira-5.2.5-x64.bin: line 209: bin/unpack200: Permission denied
Error unpacking jar files. The architecture or bitness (32/64)
of the bundled JVM might not match your machine.
[root@452368-capx179s tmp]#

I believe something is wrong with my Linux box, will keep posted on the progress

That wont work for you as you aren't invoking it the same way as above, without changing permissions on the file try 'sh /tmp/atlassian-jira-5.2.5-x64.bin'

Oujt of complete curiosity I tried to reproduce on my Linux x86_64 Ubuntu box. Perhaps Im lucky but I doubt it, it works for me and havge yet another JIRA instance available :p

Check the permissions on the unpack200 file, for me its clearly present and executable, perhaps you have some file permission issue specific to the partition?


184 -rwxr-xr-x 1 andy andy 186301 2012-08-29 12:33 unpack200

Confirmed same md5, its environmental, perhaps moving to a separate partition may help, or are you all under / ?

Are you getting the same md5 sum?

As you can see I'm running RHEL6 and when it fails it does not leave any unpacked folders

Heh, fine, I did say try on another partion ;)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,946 views 19 22
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