|
From: | Olivier Sessink |
Subject: | Re: [Jailkit-users] Java in jail |
Date: | Fri, 21 Jan 2011 17:18:58 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
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] |