|
From: Leif M. <le...@ta...> - 2006-02-07 13:12:11
|
Tony,
Let me make sure I understand.
You are able to run fine when running the shell script with the
"console" command.
But you say it is not working when run as a daemon. Is this the case
when you run
from your user account using the "start" command, or when rebooting and
starting
using a link in the /etc/init.d directory?
What user is it running as when run as a daemon?
Are you sure that you are using the same JVM? You can verify this
by adding
the wrapper.debug=true property and then running both as a console app and
daemon. If java is being found on the path then they might not be the
same if the
user environment is different.
Cheers,
Leif
Tony Seebregts wrote:
> Hi Leif,
>
> Thanks for the quick reply - I'm running a standard 32 bit JVM, have set
> the permissions to "rwxrwxrwx" for the library (just in case), and (just
> checked) its definitely the Linux version.
>
> Its something to do with the machine startup environment (running the
> script from the command works perfectly) but I just can't figure out what.
>
> regards
>
> Tony
>
>
>
>> Tony,
>> Are you running a 64-bit JVM? The current linux version only
>> supports 32-bit JVMs.
>> That is a common cause of this problem. I'll be releasing a 64-bit
>> linux version with the
>> 3.2.0 release.
>> Other than that, this can be caused by a permission problem on the
>> file, or unlikely,
>> but attempting to use a solaris version of the libwrapper.so for example.
>>
>> Cheers,
>> Leif
>>
|