You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2006/09/26 15:08:50 UTC

[jira] Created: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Jsvc fails on AMD 64-bit linux machines
---------------------------------------

                 Key: DIRSERVER-751
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-751
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: pre-1.0, 1.0-RC1, 1.0-RC2, 1.0-RC3, 1.0-RC4
         Environment: AMD 64
Ubuntu 6.06.1
JDK 1.5.0_08
            Reporter: Alex Karasulu
             Fix For: 1.0


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu reassigned DIRSERVER-751:
---------------------------------------

    Assignee: Alex Karasulu

> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>         Assigned To: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by Alex Karasulu <ak...@apache.org>.
Oh thanks for the heads up.  Yeah 64 bit stuff get's wacky sometimes.
That's why I never bought one of those machines and still probably will not.

With this knowledge I will make sure we qualify the jvm type for these
machines while diagnosing any issues that may arrise.

Thanks,
Alex

On 4/19/07, Ole Ersoy <ol...@gmail.com> wrote:
>
> Alex,
>
> Just a couple of notes that might come in handy.  I'm running on AMD 64,
> and I get segfaults all the time from Maven, Eclipse, everything.
>
> I tried it with the 64 bit JVM first, and then downgraded to 32 bit,
> and the 32 bit is better, but I still get segfaults at least 3 times a
> day.
>
> I think java just has a lot of bugs that need to be worked out before it
> runs cleanly on a 64 bit CPU.
>
> Cheers,
> - Ole
>
>
>
> Alex Karasulu (JIRA) wrote:
> >      [
> https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
> >
> > Alex Karasulu updated DIRSERVER-751:
> > ------------------------------------
> >
> >     Affects Version/s: 1.5.0
> >                        1.0.1
> >                        1.0
> >         Fix Version/s: 1.0.2
> >
> > 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.
> >
> >> Jsvc fails on AMD 64-bit linux machines
> >> ---------------------------------------
> >>
> >>                 Key: DIRSERVER-751
> >>                 URL:
> https://issues.apache.org/jira/browse/DIRSERVER-751
> >>             Project: Directory ApacheDS
> >>          Issue Type: Bug
> >>    Affects Versions: 1.0.1, 1.5.0, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2,
> 1.0-RC1, pre-1.0
> >>         Environment: AMD 64
> >> Ubuntu 6.06.1
> >> JDK 1.5.0_08
> >>            Reporter: Alex Karasulu
> >>         Assigned To: Alex Karasulu
> >>            Priority: Minor
> >>             Fix For: 1.5.1, 1.0.2
> >>
> >>
> >> 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.
> >
>

Re: [jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by Ole Ersoy <ol...@gmail.com>.
Alex,

Just a couple of notes that might come in handy.  I'm running on AMD 64, 
and I get segfaults all the time from Maven, Eclipse, everything.

I tried it with the 64 bit JVM first, and then downgraded to 32 bit,
and the 32 bit is better, but I still get segfaults at least 3 times a 
day.

I think java just has a lot of bugs that need to be worked out before it 
runs cleanly on a 64 bit CPU.

Cheers,
- Ole



Alex Karasulu (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Alex Karasulu updated DIRSERVER-751:
> ------------------------------------
> 
>     Affects Version/s: 1.5.0
>                        1.0.1
>                        1.0
>         Fix Version/s: 1.0.2
> 
> 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.
> 
>> Jsvc fails on AMD 64-bit linux machines
>> ---------------------------------------
>>
>>                 Key: DIRSERVER-751
>>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>>             Project: Directory ApacheDS
>>          Issue Type: Bug
>>    Affects Versions: 1.0.1, 1.5.0, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>>         Environment: AMD 64
>> Ubuntu 6.06.1
>> JDK 1.5.0_08
>>            Reporter: Alex Karasulu
>>         Assigned To: Alex Karasulu
>>            Priority: Minor
>>             Fix For: 1.5.1, 1.0.2
>>
>>
>> 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.
> 

[jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu updated DIRSERVER-751:
------------------------------------

    Affects Version/s: 1.5.0
                       1.0.1
                       1.0
        Fix Version/s: 1.0.2

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.

> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1, 1.5.0, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>         Assigned To: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.5.1, 1.0.2
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-751:
----------------------------------------

    Fix Version/s:     (was: 1.0.1)
                   1.5.0

Let's push that to 1.5.0 stack

> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by Emmanuel Lecharny <el...@gmail.com>.
Interesting... Which JVM , Sun ? Have you tried the JRockit JVM ?

On 3/16/07, Ole Ersoy <ol...@gmail.com> wrote:
>
> I tried running the sun 64 bit JDK 6, and I get segfaults non-stop on
> everything I run (Maven, Eclipse, etc.).
>
> I think it will be a while before anything java 64 is ready/stable.
>
>
>
> Emmanuel Lecharny (JIRA) wrote:
> >      [
> https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
> >
> > Emmanuel Lecharny updated DIRSERVER-751:
> > ----------------------------------------
> >
> >     Fix Version/s:     (was: 1.5.0)
> >                    1.5.1
> >
> > Ok, seems not really urgent ...
> >
> > Let's postpone it again...
> >
> >
> >> Jsvc fails on AMD 64-bit linux machines
> >> ---------------------------------------
> >>
> >>                 Key: DIRSERVER-751
> >>                 URL:
> https://issues.apache.org/jira/browse/DIRSERVER-751
> >>             Project: Directory ApacheDS
> >>          Issue Type: Bug
> >>    Affects Versions: 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
> >>         Environment: AMD 64
> >> Ubuntu 6.06.1
> >> JDK 1.5.0_08
> >>            Reporter: Alex Karasulu
> >>         Assigned To: Alex Karasulu
> >>            Priority: Minor
> >>             Fix For: 1.5.1
> >>
> >>
> >> 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.
> >>
> >
> >
>
>


-- 
Cordialement,
Emmanuel Lécharny
www.iktek.com

Re: [jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by Ole Ersoy <ol...@gmail.com>.
I tried running the sun 64 bit JDK 6, and I get segfaults non-stop on 
everything I run (Maven, Eclipse, etc.).

I think it will be a while before anything java 64 is ready/stable.



Emmanuel Lecharny (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Emmanuel Lecharny updated DIRSERVER-751:
> ----------------------------------------
>
>     Fix Version/s:     (was: 1.5.0)
>                    1.5.1
>
> Ok, seems not really urgent ...
>
> Let's postpone it again...
>
>   
>> Jsvc fails on AMD 64-bit linux machines
>> ---------------------------------------
>>
>>                 Key: DIRSERVER-751
>>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>>             Project: Directory ApacheDS
>>          Issue Type: Bug
>>    Affects Versions: 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>>         Environment: AMD 64
>> Ubuntu 6.06.1
>> JDK 1.5.0_08
>>            Reporter: Alex Karasulu
>>         Assigned To: Alex Karasulu
>>            Priority: Minor
>>             Fix For: 1.5.1
>>
>>
>> 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.
>>     
>
>   


[jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-751:
----------------------------------------

    Fix Version/s:     (was: 1.5.0)
                   1.5.1

Ok, seems not really urgent ...

Let's postpone it again...

> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>         Assigned To: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.5.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-751?page=all ]

Alex Karasulu updated DIRSERVER-751:
------------------------------------

    Fix Version/s: 1.0.1
                       (was: 1.0)
         Priority: Minor  (was: Major)

Again this can be taken care of later.

> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: pre-1.0, 1.0-RC1, 1.0-RC2, 1.0-RC3, 1.0-RC4
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.0.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu closed DIRSERVER-751.
-----------------------------------

    Resolution: Fixed

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!



> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1, 1.5.0, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>         Assigned To: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.5.1, 1.0.2
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-751) Jsvc fails on AMD 64-bit linux machines

Posted by "Ole Ersoy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490157 ] 

Ole Ersoy commented on DIRSERVER-751:
-------------------------------------

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





> Jsvc fails on AMD 64-bit linux machines
> ---------------------------------------
>
>                 Key: DIRSERVER-751
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-751
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1, 1.5.0, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
>         Environment: AMD 64
> Ubuntu 6.06.1
> JDK 1.5.0_08
>            Reporter: Alex Karasulu
>         Assigned To: Alex Karasulu
>            Priority: Minor
>             Fix For: 1.5.1, 1.0.2
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.