Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
On Wed, May 09, 2007 at 08:18:06AM +0200, Thomas Besser wrote: > 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. 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 ... 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? HTH, Herbert > 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 mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...
On Wed, May 09, 2007 at 10:39:06AM +0200, Thomas Besser wrote: > 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. not unexpected, giving any capabilities beyond the default set can be considered a (sometimes severe) reduction in guest security (i.e. you are handing over control to host specific parts which can be used either for DoS or in most cases direct control over host specific entities) CAP_NET_BROADCAST is not critical, as it is currently unused :) best, Herbert > Regards > Thomas > > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
Michael S. Zick escribió: 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. According to this thread, you are running Java 1.5 and the version reported to work is Java 1.6 No, it works for me with 1.5 :) [EMAIL PROTECTED] uname -a Linux fischer 2.6.16.49-vs2.0.3-rc2 #1 SMP Wed Apr 25 13:56:42 CEST 2007 i686 GNU/Linux [EMAIL PROTECTED] 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) begin:vcard fn:Asier Baranguan n:Baranguan;Asier org;quoted-printable:ELPA Gesti=C3=B3n adr;quoted-printable;dom:;;Henao 4 - 3=C2=BAA;Bilbao;Bizkaia;48009 email;internet:[EMAIL PROTECTED] title:A/P tel;work:944.23.01.66 tel;fax:944.23.01.78 x-mozilla-html:FALSE url:http://www.elpagestion.com version:2.1 end:vcard ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
On Wed May 9 2007 01:18, Thomas Besser wrote: > 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. > According to this thread, you are running Java 1.5 and the version reported to work is Java 1.6 Mike > 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 mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] anybody has experience for Vserver on ARM
On Sun, 2007-05-06 at 08:14 -0400, Wenbin Zhang wrote: > Hi All, > > I can use "vcmd" command correctly on my ARM phone. However, I can > only use vcmd to > start a single isolated process, and no way to build a competed guest > machine. Anybody know > how to use vcmd to build a completed guest? I guess we might be > achieve this to copy a new > filesystem and start a "init" process by some approach. > > Because the "vserver build" package does not work on my phone, If vcmd > cannot build a completed > guest, do we have any other approach to build a guest? I am not an expert but it is my opinion that you should fix the vserver commands rather than trying to work around them. In the long run I suspect this is a better strategy. HTH Cheers, - Martin ___ 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
Re: [Vserver] Re: Re: Re: Re: Re: java crash in vserver...
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 begin:vcard fn:Asier Baranguan n:Baranguan;Asier org;quoted-printable:ELPA Gesti=C3=B3n adr;quoted-printable;dom:;;Henao 4 - 3=C2=BAA;Bilbao;Bizkaia;48009 email;internet:[EMAIL PROTECTED] title:A/P tel;work:944.23.01.66 tel;fax:944.23.01.78 x-mozilla-html:FALSE url:http://www.elpagestion.com version:2.1 end:vcard ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver