|
From: Leif M. <le...@ta...> - 2009-02-28 16:08:17
|
Mallik, This is what I see in your log file: --- INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: WARNING - Unable to load the Wrapper's native library 'libwrapper-linux-x86-32.so'. INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: The file is located on the path at the following location but INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: could not be loaded: INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: /root/Desktop/wrapper-linux-x86-32-3.3.2/bin/../lib/libwrapper-linux-x86-32.so INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: Please verify that the file is readable by the current user INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: and that the file has not been corrupted in any way. INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: One common cause of this problem is running a 32-bit version INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: of the Wrapper with a 64-bit version of Java, or vica versa. INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: This is a 32-bit JVM. INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: Reported cause: INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: /root/Desktop/wrapper-linux-x86-32-3.3.2/lib/libwrapper-linux-x86-32.so: /root/Desktop/wrapper-linux-x86-32-3.3.2/lib/libwrapper-linux-x86-32.so: cannot restore segment prot after reloc: Permission denied INFO | jvm 1 | 2009/02/27 13:04:00 | WrapperManager: System signals will not be handled correctly. --- The Linux version of the Wrapper is used by a lot of people so I am sure that the release is uncorrupted. I did a quick google on this error message though and got a lot of hits: http://www.google.com/search?hl=en&q=cannot+restore+segment+prot+after+reloc%3A+Permission+denied&btnG=Google+Search&aq=f&oq= Are you running SELinux by any chance? It appears to be caused by a missconfigured system: http://www.archiware.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=58&nav=0,8 Cheers, Leif On Fri, Feb 27, 2009 at 5:16 PM, <mal...@pe...> wrote: > Hi > > I tried to run the java application as unix daemon using Java Service Wrapper. I downloaded the service Wrapper code from http://wrapper.tanukisoftware.org/doc/english/download.jsp for Linux - x86 - 3.3.2 Community version for 32-bit. > > When I tried to run the "testwrapper.sh" located under lib folder, I am getting following error saying that > > "Unable to load the Wrapper's native library 'libwrapper-linux-x86-32.so'. > > Please find the attachment for detailed log file. > > Thanking you, > > Regards > Mallik |