[Vserver] Re: Re: Re: Re: Re: Re: Re: java crash in vserver...
Hi Jan, Jan Zuchhold wrote: >> I made a package of my guest 'gis' (about 465 MB): >> /etc/vservers/gis (config of the image) >> /vservers/gis (home of the guest images) >> >> http://www.archit.uni-karlsruhe.de/geoserver/vserver.tar.bz2 > > ok, i've tried it. Great thanks a lot! > The problem is caused by running out of space on /tmp. You mount that on > tmpfs, specified in fstab in the vserver-config dir: > > none /tmptmpfs size=16m,mode=1777 0 0 > > If you remove or comment-out this line (or increase the size), it works. With a size of 64m it works for me. Thanks to all for solving this topic! Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...
Herbert Poetzl wrote: >> Thanx for testing. I have no clue, what my problem is and no idea how to >> resolve this. > > maybe you could package up your guest (maybe > after some cleanups to preserve privacy and > reduce size), and upload it somewhere, and > maybe some folks who already had success with > your installation do the same, then try each- > others guests and see what happens ... I made a package of my guest 'gis' (about 465 MB): /etc/vservers/gis (config of the image) /vservers/gis (home of the guest images) http://www.archit.uni-karlsruhe.de/geoserver/vserver.tar.bz2 It would be great if Asier or Michael or somebody else have enough bandwith for down-/uploading. > if the kernel/config is to blame, then your > guest should work fine on another system and > the other guest should fail on yours, no? Yepp, that should be like that ;-) TIA Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...
Hi, Michael S. Zick wrote: > According to this thread, you are running Java 1.5 and the > version reported to work is Java 1.6 I tested also Java 1.6 (look at initial posting). Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...
Asier Baranguán wrote: > Thomas Besser escribió: > >>> Guest have the CAP_NET_BROADCAST and CAP_SYS_RESOURCE enabled. Perhaps >>> you can try with other kernel. >> >> I tried several kernels till now. >> >> Whats about this CAP_SYS_RESOURCE and where/how to set it? In host or >> guest? > > You must write it in the bcapabilities file under the vserver > configuration folder. It's as simple as: > > root # echo CAP_SYS_RESOURCE > /etc/vservers//bcapabilities > > Or if you have the file, add it: > > root # echo CAP_SYS_RESOURCE >> /etc/vservers//bcapabilities > > And restart the vserver. You have some info about the capabilities and the > meaning of this files in the linux-vserver page. > > http://linux-vserver.org/Capabilities_and_Flags > > http://linux-vserver.org/util-vserver:Capabilities_and_Flags Thanx, tried CAP_SYS_RESOURCE. Nothing changed. Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Hi Asier, Asier Baranguán wrote: > Thomas Besser escribió: > Kernel 2.6.16.49 with vserver 2.0.3-rc2 on Debian Sarge 3.1r6, with java > builded with make-jkpg from Sun's java package: > > # java -version > java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) > Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) > > It /seems/ to work: shows the welcome page and some maps. Yeah, then its running. Thanx for testing. > Guest have the CAP_NET_BROADCAST and CAP_SYS_RESOURCE enabled. Perhaps you > can try with other kernel. I tried several kernels till now. Whats about this CAP_SYS_RESOURCE and where/how to set it? In host or guest? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Hi Jan, Jan Zuchhold wrote: > it's working fine for me: > > 1512 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - > Creating cached EPSG database. It may take a few minutes. > 17611 [main] INFO org.springframework.web.context.ContextLoader - Using > context class > [org.springframework.web.context.support.XmlWebApplicationContext] for > [root > WebApplicationContext > 17611 [main] INFO org.springframework.web.context.ContextLoader - Root > WebApplicationContext: initialization completed in 16212 ms > > vserver:~# cat /etc/issue > Debian GNU/Linux 4.0 > > vserver:~# java -version > java version "1.6.0" > Java(TM) SE Runtime Environment (build 1.6.0-b105) > Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) > > host:~# uname -r > 2.6.20.11-vs2.2.0.k7-smp-070502 Thanx for testing. I have no clue, what my problem is and no idea how to resolve this. Perhaps you could send me via pm your installed packages (dpkg --get-selections > packages) of your host and guest? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: java crash in vserver...
Hi, Herbert Poetzl wrote: > On Fri, May 04, 2007 at 11:43:24AM +0200, Thomas Besser wrote: >> Herbert Poetzl wrote: >> > could you try that on a release kernel, e.g. >> > 2.6.19.7-vs2.2.0 or 2.6.20.11-vs2.2.0? >> >> I only found 2.6.20.4-vs2.2.0 on http://linux-vserver.org/ > > as usual, updates and new test releases can be > found here: http://vserver.13thfloor.at/Experimental/ Ok I tried it also now with 2.6.20.11-vs2.2.0, same error and installation aborts. Perhaps is anybody out there who has debian etch in a vserver with suns java deb package and could test if installation fails too or not? It's quiet easy to install and can easily removed after it: 1. get http://downloads.sourceforge.net/geoserver/geoserver-1.5.0-bin.zip 2. unzip it into /usr/local/geoserver 3. execute 'GEOSERVER_HOME=/usr/local/geoserver JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre /usr/local/geoserver/bin/startup.sh' After a few seconds it dies with: 3775 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - Creating cached EPSG database. It may take a few minutes. # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0x7) at pc=0xb7e1accf, pid=3073, tid=3084572896 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing) # Problematic frame: # C [libc.so.6+0x6cccf] memcpy+0x2f # # An error report file with more information is saved as hs_err_pid3073.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp TIA Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: Re: java crash in vserver...
Hi, Herbert Poetzl wrote: >> vplaystation:~# vserver gis start >> ncontext: vc_net_create(): Invalid argument > > looks like a problem with network contexts, do you > happen to still use dynamic contexts after several > years of deprecation? Sorry, I'm just beginning with vserver and installed the debian etch packages. The only thing I configured was the place where the vserver images reside. > please double check your config, the kernel should > work perfectly fine ... There exists a bug report to debian. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421331 I followed the faq and created the 'context' file in the vserver image with value '101'. The vserver is now running with 2.6.20.4-vs2.2.0, but installation of geoserver aborts with the same error :-( Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: java crash in vserver...
Herbert Poetzl wrote: > could you try that on a release kernel, e.g. > 2.6.19.7-vs2.2.0 or 2.6.20.11-vs2.2.0? I only found 2.6.20.4-vs2.2.0 on http://linux-vserver.org/ With that starting of vserver guest fails: vplaystation:~# vserver-stat CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME 0 53 111.6M49M 9m19s31 1m21s15 19h41m17 root server vplaystation:~# vserver gis start ncontext: vc_net_create(): Invalid argument An error occured while executing the vserver startup sequence; when there are no other messages, it is very likely that the init-script (/etc/init.d/rc 3) failed. Common causes are: * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help. Failed to start vserver 'gis' vplaystation:~# vserver --version vserver 0.30.212 -- manages the state of vservers This program is part of util-vserver 0.30.212 Now I'm building 2.6.19.7-vs2.2.0. But I can test it not before monday. Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: Re: java crash in vserver...
Herbert Poetzl wrote: > On Wed, May 02, 2007 at 08:47:09AM +0200, Thomas Besser wrote: > > could you try that on a release kernel, e.g. > 2.6.19.7-vs2.2.0 or 2.6.20.11-vs2.2.0? I'm working on it. > also, what about the ulimits inside the guest? gis:/# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited max nice(-e) 0 file size (blocks, -f) unlimited pending signals (-i) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size(512 bytes, -p) 8 POSIX message queues (bytes, -q) unlimited max rt priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks Looks good, or? Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: Re: java crash in vserver...
Herbert Poetzl wrote: > On Tue, Apr 24, 2007 at 09:00:19PM +0200, Herbert Poetzl wrote: >> On Tue, Apr 24, 2007 at 11:07:29AM +0200, Thomas Besser wrote: >> > Herbert Poetzl wrote: >> > > On Fri, Apr 13, 2007 at 09:30:32AM +0200, Thomas Besser wrote: >> > >> The above mentioned log and also a strace run is here: >> > >> http://www.archIT.uni-karlsruhe.de/geoserver/error.log >> > >> http://www.archIT.uni-karlsruhe.de/geoserver/strace.log >> > > >> > > will look into that after my vacation ... >> > >> > Perhaps you had little time to look into the error log? >> >> not yet, but I'm online for today (despite my vacation :) >> so if you pay a visit to the IRC channel, we can take a >> quick look at it ... > > back from my vacation now .. but the urls above give > 503 Service Unavailable ... Works again. > PS: you can find me on IRC :) I will try it in the afternoon. Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: java crash in vserver...
Herbert Poetzl wrote: > On Fri, Apr 13, 2007 at 09:30:32AM +0200, Thomas Besser wrote: >> The above mentioned log and also a strace run is here: >> http://www.archIT.uni-karlsruhe.de/geoserver/error.log >> http://www.archIT.uni-karlsruhe.de/geoserver/strace.log > > will look into that after my vacation ... Perhaps you had little time to look into the error log? Thanx for your help. Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: is the vserver kernel in debian etch ok?
Lars Hallberg wrote: > It was earlier reported of bugs in the debian prebuilt vserver kernels. > > Now is etch released, is the vserver kernel fixed or are there still > known problems? Running one box here with debian kernel and vserver with no problems. Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: java crash in vserver...
Hi again, Herbert Poetzl wrote: > On Fri, Apr 13, 2007 at 09:30:32AM +0200, Thomas Besser wrote: >> I'm trying to install 'geoserver' (http://geoserver.org, written in Java, >> version 1.5.0-rc4) into a linux vserver (host and guest debian etch). >> >> On a fresh installed and native etch box this installation runs without >> problems, so the problem seems to be vserver specific. >> >> Installation crashes with an java error in conjunction with libc, as far >> as I understand the error output: > > first, check it on the host, maybe you have changed > certain settings in the kernel which are affecting > this specific application Additionally installed package sun-java5-jdk (with all dependancies) and tested it on the vserver host: no crash, installation of geoserver runs through. Because of the error 'memcpy', is there perhaps any default limitation in memory usage? Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: java crash in vserver...
Hi, Herbert Poetzl wrote: > On Fri, Apr 13, 2007 at 09:30:32AM +0200, Thomas Besser wrote: >> Hi, >> >> I'm trying to install 'geoserver' (http://geoserver.org, written in Java, >> version 1.5.0-rc4) into a linux vserver (host and guest debian etch). >> >> On a fresh installed and native etch box this installation runs without >> problems, so the problem seems to be vserver specific. >> >> Installation crashes with an java error in conjunction with libc, as far >> as I understand the error output: > > first, check it on the host, maybe you have changed > certain settings in the kernel which are affecting > this specific application Installed the same kernel on the native etch box (debian standard kernel with vserver) as on the vserver box. The application runs without problems. >> 3510 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - >> Creating cached EPSG database. It may take a few minutes. >> # >> # An unexpected error has been detected by HotSpot Virtual Machine: >> # >> # SIGBUS (0x7) at pc=0xb7e43ccf, pid=24680, tid=3084740832 >> # >> # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing) >> # Problematic frame: >> # C [libc.so.6+0x6cccf] memcpy+0x2f >> # >> # An error report file with more information is saved as >> # hs_err_pid27177.log > > then, make sure that the gust installation is > identical to the 'native etch box', i.e. contains > all the libraries and stuff ... Done with dpkg --get/--set/--clear-selections. Nothing changed: installation aborts. >> I tested it also with several JDK's directly from SUN (also jdk1.6), >> always the same error. Also I tested another java application (ApacheDS) >> without problems. >> >> The above mentioned log and also a strace run is here: >> http://www.archIT.uni-karlsruhe.de/geoserver/error.log >> http://www.archIT.uni-karlsruhe.de/geoserver/strace.log > > will look into that after my vacation ... Thanx for answering from vacation ;-) Regards Thomas ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] java crash in vserver...
Hi, I'm trying to install 'geoserver' (http://geoserver.org, written in Java, version 1.5.0-rc4) into a linux vserver (host and guest debian etch). On a fresh installed and native etch box this installation runs without problems, so the problem seems to be vserver specific. Installation crashes with an java error in conjunction with libc, as far as I understand the error output: 3510 [INFO] org.geotools.referencing.factory.epsg.HSQLDataSource - Creating cached EPSG database. It may take a few minutes. # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0x7) at pc=0xb7e43ccf, pid=24680, tid=3084740832 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing) # Problematic frame: # C [libc.so.6+0x6cccf] memcpy+0x2f # # An error report file with more information is saved as hs_err_pid27177.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Are there any known problems with java applications in vserver? http://linux-vserver.org/Problematic_Programs says nothing about java. I tested it also with several JDK's directly from SUN (also jdk1.6), always the same error. Also I tested another java application (ApacheDS) without problems. The above mentioned log and also a strace run is here: http://www.archIT.uni-karlsruhe.de/geoserver/error.log http://www.archIT.uni-karlsruhe.de/geoserver/strace.log Any hints what could be done for getting more informations for troubleshooting? Thanx in advance... Thomas ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver