On Thu, Nov 8, 2012 at 4:33 PM, Jiri B <[email protected]> wrote:
> On Wed, Nov 07, 2012 at 12:10:17PM +0100, David Coppa wrote:
>> >> > I just discovered that icedtea-web 1.3 didn't work with
>> >> > iDRAC (OK, it was on Fedora). But there's a bugzilla[1] ticket
>> >> > which mentioned new srpm[2] containing a patch which is neither in
>> >> > official 1.3 upstream version nor normal 1.3 Fedora rpms.
>> >> >
>> >> > Anyway, using 1.3 with this patch makes iDRAC working again.
>> >> >
>> >> > If anybody can test on OpenBSD various BMC java consoles
>> >> > and if it solves problem with Dell, Supermicro, let's include
>> >> > it into "our" icedtea-web.
>> >> >
>> >> > Sorry I'm busy and I don't have OpenBSD right now around.
>> >> >
>> >> > rpm2cpio $srpm | cpio -id for extraction of SRPM to get
>> >> > the patch...
>> >> >
>> >> > jirib
>> >> >
>> >> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=753960
>> >> > [2]
>> >> > http://people.redhat.com/dbhole/fedora/icedtea-web/icedtea-web-1.3-1.fc17.0.src.rpm
>>
>> Please test it, since you have the required hardware at hands.
>
> With this patch it works with iDRAC with a little workaround
> which I could not find how to solve as I suck...
>
> javaws is looking for libjava.so in /usr/local/lib/amd64 instead
> of /usr/local/jdk-1.7.0/jre/lib/amd64, but workaround with symlink
> works fine.
>
> Could anybody check this crap in icedtea-web source?
>
> 27677 java CALL sigprocmask(SIG_SETMASK,0<>)
> 27677 java RET sigprocmask ~0x10100<SIGKILL|SIGSTOP>
> 27677 java CALL access(0x7f7fffff38b0,0<F_OK>)
> 27677 java NAMI "/usr/local/lib/amd64/libjava.so"
> 27677 java RET access -1 errno 2 No such file or directory
> 27677 java CALL access(0x7f7fffff38b0,0<F_OK>)
> 27677 java NAMI "/usr/local/jre/lib/amd64/libjava.so"
> 27677 java RET access -1 errno 62 Too many levels of symbolic links
> 27677 java CALL sigprocmask(SIG_BLOCK,~0<>)
> 27677 java RET sigprocmask 0<>
> 27677 java CALL
> mprotect(0x1a2fed30b000,0x1000,0x3<PROT_READ|PROT_WRITE>)
>
> and then
>
> 27677 java CALL sigprocmask(SIG_SETMASK,0<>)
> 27677 java RET sigprocmask ~0x10100<SIGKILL|SIGSTOP>
> 27677 java CALL write(0x2,0x7f7fffff2fb0,0x20)
> 27677 java GIO fd 2 wrote 32 bytes
> "Error: could not find libjava.so"
> 27677 java RET write 32/0x20
> 27677 java CALL sigprocmask(SIG_BLOCK,~0<>)
> 27677 java RET sigprocmask 0<>
> 27677 java CALL
> mprotect(0x1a31f8a4f000,0x2000,0x3<PROT_READ|PROT_WRITE>)
> 27677 java RET mprotect 0
>
> jirib
On this machine, what does 'which java' say?
Have you correctly set your environment up?
I usually have:
export JAVA_HOME=/usr/local/jdk-1.7.0
And then I add '${JAVA_HOME}/bin' to my PATH