Issue Details (XML | Word | Printable)

Key: DIRSERVER-751
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alex Karasulu
Reporter: Alex Karasulu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Jsvc fails on AMD 64-bit linux machines

Created: 26/Sep/06 01:07 PM   Updated: 20/Apr/07 01:04 AM
Return to search
Component/s: None
Affects Version/s: 1.5.0, 1.0.1, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
Fix Version/s: 1.5.1, 1.0.2

Time Tracking:
Not Specified

Environment:
AMD 64
Ubuntu 6.06.1
JDK 1.5.0_08

Resolution Date: 20/Apr/07 01:04 AM


 Description  « Hide
The apacheds start command on the init script fails because the compiled binary for Jsvc segfaults on 64-bit machines. I think we need a 64-bit version of ApacheDS installers with a jsvc binary compiled on a 64-bit linux machine.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu added a comment - 02/Oct/06 03:20 AM
Again this can be taken care of later.

Emmanuel Lecharny added a comment - 25/Jan/07 04:10 PM
Let's push that to 1.5.0 stack

Emmanuel Lecharny added a comment - 16/Mar/07 02:58 PM
Ok, seems not really urgent ...

Let's postpone it again...

Alex Karasulu added a comment - 19/Apr/07 07:37 PM
I'm going to try to fix this for 1.0.2 and 1.5.1 since I have the hardware to test this on now.

Ole Ersoy added a comment - 19/Apr/07 08:06 PM
Oh - I should also mention that I'm running 1.5.0
on AMD 64. When I first tried to run it,
it did not want to start, even though
I su'd from my account.

From what I understand, su give me root priviliges,
but does not make me the root user.

So I tried again from the "root" user shell,
and as long as I set JAVA_HOME
it runs fine.

When the RPM installer gets done, ApacheDS will run under the user "apacheds",
so we may want to wait on this, unless it's really urgent for someone.

Cheers,
- Ole




Alex Karasulu added a comment - 20/Apr/07 01:04 AM
Got it working painlessly for both 1.0 and 1.5 in minutes here are the commits:

For (1.0 daemon/1.0 ads) branches:

    http://svn.apache.org/viewvc?view=rev&revision=530594
    http://svn.apache.org/viewvc?view=rev&revision=530599

For (1.1 daemon/1.5 ads) branches:

    http://svn.apache.org/viewvc?view=rev&revision=530593
    http://svn.apache.org/viewvc?view=rev&revision=530600

Generated x86_64 izpack installer for both 1.0 and 1.5 branches and tested on 64 bit machine. All works well. If you have a minute please test this out I have uploaded these snapshots up to my home directory here:

    http://people.apache.org/~akarasulu/apacheds/x86_64/

Good luck!