Archiva not working on 64 bit Linux

View: New views
2 Messages — Rating Filter:   Alert me  

Archiva not working on 64 bit Linux

by wild_oscar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I tried running archiva on an Ubuntu 9.04 64 bits:

1) Downloaded version 1.2.2
2) Untared it
3) ran ./bin/archiva console

But I get:

eval: 1: /home/mike/Software/archiva/apache-archiva-1.2.2/bin/./wrapper-linux-x86-32: not found

I do have some wrapper-linux files on archiva's root directory; including 32 and 64 ones. I've chmod them to 777, but no luck: I can't seem to be able to run it!


Has anyone successfully run archiva in these conditions, or is otherwise able to help me out?
Thank you!

Re: Archiva not working on 64 bit Linux

by wild_oscar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On a follow up, I managed to make it work:

I simply deleted the /lib/libwrapper-linux-x86-32.so and /bin/wrapper-linux-x86-32 files.

Perhaps brett and the rest of the team can figure out why this is needed and, if confirmed, add this to the wiki instructions.

Thanks to Babak Shafian and his post at http://www.mail-archive.com/users@continuum.apache.org/msg01688.html
wild_oscar wrote:
Hi,

I tried running archiva on an Ubuntu 9.04 64 bits:

1) Downloaded version 1.2.2
2) Untared it
3) ran ./bin/archiva console

But I get:

eval: 1: /home/mike/Software/archiva/apache-archiva-1.2.2/bin/./wrapper-linux-x86-32: not found

I do have some wrapper-linux files on archiva's root directory; including 32 and 64 ones. I've chmod them to 777, but no luck: I can't seem to be able to run it!


Has anyone successfully run archiva in these conditions, or is otherwise able to help me out?
Thank you!