JIRA 5.2.5 x64 binaries for Linux

Aliaksei Ilkiu January 31, 2013

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... 67.221.237.21
Connecting to www.atlassian.com|67.221.237.21|: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... 67.221.237.13
Connecting to my.atlassian.com|67.221.237.13|: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... 63.246.22.204
Connecting to downloads.atlassian.com|63.246.22.204|: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... 72.21.81.253
Connecting to wpc.29c4.edgecastcdn.net|72.21.81.253|: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
Answer accepted
C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

i'd use

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

Aliaksei Ilkiu January 31, 2013

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

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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?

~/Downloads/atlassian-jira-5.2.5-x64.bin.5384.dir/jre/bin

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

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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

Aliaksei Ilkiu January 31, 2013

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

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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

0 votes
Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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.

Aliaksei Ilkiu January 31, 2013

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]#

Aliaksei Ilkiu January 31, 2013

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

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2013

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'

Suggest an answer

Log in or Sign up to answer