|
From: | le tan vu |
Subject: | [Jailkit-users] Re: Java in jail (Olivier Sessink) |
Date: | Sat, 22 Jan 2011 22:56:45 +0700 |
Message: 2
Date: Fri, 21 Jan 2011 17:18:58 +0100
From: Olivier Sessink <address@hidden>
Subject: Re: [Jailkit-users] Java in jail
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 01/14/2011 04:53 PM, le tan vu wrote:
> Hi all,
> I'm looking for workable configuration for java application which needs
> to issue command "java " command in jail.
>
> I've configured with "jk_cp -j jail java" but no luck. It did copy some
> libraries as well but when I issued "java", system said " error while
> loading shared libraries: libjli.so: cannot open shared object file: No
> such file or directory", when in fact, this file did exist in jail.
but is it in a normal library search path? environment variable
LD_LIBRARY_PATH may help
have you tried to debug the situation with strace? see
http://olivier.sessink.nl/jailkit/howtos_debug_jails.html
Olivier
--
Blog http://oli4444.wordpress.com/
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
[Prev in Thread] | Current Thread | [Next in Thread] |