Romeo Theriault | 2 Jan 2007 16:29

Re: Access Cdrom, reboot and other questions

Hi, thanks for the isofs patch. I applied it to the srpm kernel and
recompiled the kernel. The compile went fine and the kernel installs fine
but I get the same error in a ve when I try to mount the cd.

I have attached the patch file that I used as well as the kernel-ovz.spec
file that I modified to recompile the kernel with the isofs.patch. The
isofs.patch file was placed directly in the SOURCES directory. Would someone
be able to look at what I did to see if I made a mistake or is there a
problem with the patch?

Thank you,

Romeo

On 12/18/06 12:40 PM, "Kirill Korotaev" <dev@...> wrote:

> Romeo Theriault,
> 
>> Thank you for your response. It is true I was not waiting long enough for
>> the reboots to actually happen, though upon looking at the cron file, it is
>> set to check every 5 minutes. Not a big deal, I can change it if I need to.
>> 
>> Though with the cdrom part of the question, upon your suggestion I set my
>> vps to access the cdrom like this:
>> 
>> vzctl set 104 --devices b:3:0:r --save
>> 
>> I found the 3 and 0 from doing a ls -l /dev/hda
>> 
>> So then I ssh'ed into vps 104 and tried mounting the cd with this:
(Continue reading)

Kirill Korotaev | 3 Jan 2007 13:00
Picon

Re: Access Cdrom, reboot and other questions

Romeo,

1. please always report the exact messages you face.
2. check that iso9660 is available both in VE and in the host
with the command:
# cat /proc/filesystems
most likely you didn't load the module isofs:
# modprobe isofs

Thanks,
Kirill

> Hi, thanks for the isofs patch. I applied it to the srpm kernel and
> recompiled the kernel. The compile went fine and the kernel installs fine
> but I get the same error in a ve when I try to mount the cd.
> 
> I have attached the patch file that I used as well as the kernel-ovz.spec
> file that I modified to recompile the kernel with the isofs.patch. The
> isofs.patch file was placed directly in the SOURCES directory. Would someone
> be able to look at what I did to see if I made a mistake or is there a
> problem with the patch?
> 
> Thank you,
> 
> Romeo
> 
> 
> On 12/18/06 12:40 PM, "Kirill Korotaev" <dev@...> wrote:
> 
> 
(Continue reading)

Douglas G. Phillips | 4 Jan 2007 03:24
Favicon

Out-of-memory question

I'm hitting a strange error, and I wanted to get the input of the list 
on it.  When I try to execute java on the VE, I get this error:

[iguana <at> charade ~]$ /usr/local/java/bin/java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

If I run java from the HN, no problems, it reports the version 
information as expected.

Any ideas?

Information to (hopefully) help figure out what's going on:

System:
512MB RAM, 700MHz Athlon Processor
RedHat FC 4 (latest updates applied)
kernel-2.6.18-ovz028test007.1

VE: CentOS 4.4

VZ package versions:
vzquota-3.0.9-1
vzctl-lib-3.0.13-1
vzctl-3.0.13-1

Output of "free" (with VE mounted and running):
                                 total         used         free         
shared    buffers     cached
(Continue reading)

Ulf Volmer | 4 Jan 2007 11:34
Picon

Re: Out-of-memory question

On Wed, Jan 03, 2007 at 08:24:39PM -0600, Douglas G. Phillips wrote:
> I'm hitting a strange error, and I wanted to get the input of the list 
> on it.  When I try to execute java on the VE, I get this error:
> 
> [iguana <at> charade ~]$ /usr/local/java/bin/java -version
> Error occurred during initialization of VM
> Could not reserve enough space for object heap

Any fail- counters in /proc/user_beancounters?

cu
ulf

--

-- 
Ulf Volmer
u.volmer@...
www.u-v.de
Kir Kolyshkin | 4 Jan 2007 16:20
Favicon

Re: Out-of-memory question

See http://wiki.openvz.org/Resource_shortage

Douglas G. Phillips wrote:
> I'm hitting a strange error, and I wanted to get the input of the list 
> on it.  When I try to execute java on the VE, I get this error:
>
> [iguana <at> charade ~]$ /usr/local/java/bin/java -version
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
>
> If I run java from the HN, no problems, it reports the version 
> information as expected.
>
> Any ideas?
>
> Information to (hopefully) help figure out what's going on:
>
> System:
> 512MB RAM, 700MHz Athlon Processor
> RedHat FC 4 (latest updates applied)
> kernel-2.6.18-ovz028test007.1
>
> VE: CentOS 4.4
>
> VZ package versions:
> vzquota-3.0.9-1
> vzctl-lib-3.0.13-1
> vzctl-3.0.13-1
>
(Continue reading)

E Frank Ball | 5 Jan 2007 06:45
Favicon

vncserver won't start

I'm trying to run a vncserver from within openvz.
According to the wiki this should be easy:
http://wiki.openvz.org/X_inside_VE

My vncserver dies with a "could not open default font 'fixed'" error.

My base server is RedHat Enterprise 4, and my VEs are CentOS 4.

I've done much googling and I'm not getting anywhere.
Here is my vncserver log:

Xvnc version 4.0 - built Feb 21 2005 15:50:07
Underlying X server release 60801000, The X.Org Foundation

Thu Jan  4 16:29:02 2007
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy

Fatal server error:
could not open default font 'fixed'
xsetroot:  unable to open display 'bessel:1'
vncconfig: unable to open display "bessel:1"
twm:  unable to open display "bessel:1"
xterm Xt error: Can't open display: bessel:1

-------------------------------------------------
(Continue reading)

Douglas G. Phillips | 5 Jan 2007 06:53
Favicon

SOLVED: Out-of-memory question

Ulf Volmer wrote:
> On Wed, Jan 03, 2007 at 08:24:39PM -0600, Douglas G. Phillips wrote:
>   
>> I'm hitting a strange error, and I wanted to get the input of the list 
>> on it.  When I try to execute java on the VE, I get this error:
>>
>> [iguana <at> charade ~]$ /usr/local/java/bin/java -version
>> Error occurred during initialization of VM
>> Could not reserve enough space for object heap
>>     
>
> Any fail- counters in /proc/user_beancounters?
>   
Two counters had failures.  First was the privvmpages counter, which I 
increased, and second was the numprocs which hit a limit at 65 after I 
increased the privvmpages counter.  Everything works as expected now.  
Thanks a lot for the suggestions and help.
Alastair Neil | 5 Jan 2007 15:37
Picon

Re: vncserver won't start

do you have the xfs service running?


On 1/5/07, E Frank Ball <efball-xaoliK1djU/QT0dZR+AlfA@public.gmane.org> wrote:
I'm trying to run a vncserver from within openvz.
According to the wiki this should be easy:
http://wiki.openvz.org/X_inside_VE

My vncserver dies with a "could not open default font 'fixed'" error.

My base server is RedHat Enterprise 4, and my VEs are CentOS 4.

I've done much googling and I'm not getting anywhere.
Here is my vncserver log:


Xvnc version 4.0 - built Feb 21 2005 15:50:07
Underlying X server release 60801000, The X.Org Foundation


Thu Jan  4 16:29:02 2007
vncext:      VNC extension running!
vncext:      Listening for VNC connections on port 5901
vncext:      Listening for HTTP connections on port 5801
vncext:      created VNC server for screen 0
error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy

Fatal server error:
could not open default font 'fixed'
xsetroot:  unable to open display 'bessel:1'
vncconfig: unable to open display "bessel:1"
twm:  unable to open display "bessel:1"
xterm Xt error: Can't open display: bessel:1

-------------------------------------------------

Here are the relevant xorg rpms I have installed:

rpm -qa | grep xorg | sort
fonts-xorg-100dpi-6.8.2-1.EL
fonts-xorg-75dpi-6.8.2-1.EL
fonts-xorg-base-6.8.2-1.EL
xorg-x11-6.8.2-1.EL.13.37.2
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37.2
xorg-x11-Mesa-libGLU-6.8.2-1.EL.13.37.2
xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.2
xorg-x11-font-utils-6.8.2-1.EL.13.37.2
xorg-x11-libs-6.8.2-1.EL.13.37.2
xorg-x11-tools-6.8.2-1.EL.13.37.2
xorg-x11-twm-6.8.2-1.EL.13.37.2
xorg-x11-xauth-6.8.2-1.EL.13.37.2
xorg-x11-xdm-6.8.2-1.EL.13.37.2
xorg-x11-xfs-6.8.2-1.EL.13.37.2

Here's a clue, but I don't know how to fix it:
# fslsfonts -server unix/:7100 -ll -fn fixed
fslsfonts: pattern "fixed" unmatched

I've tried running
vncserver :1
vncserver -fp unix/:7100
vncserver -fp /usr/X11R6/lib/X11/fonts/misc

I've edited /usr/bin/vncserver and uncommented:
$cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
This did fix a couple of errors, but not the fatal one.

I've restarted xfs many times, and it is running:
# service xfs status
xfs (pid 23795) is running...

Any help?,  Thanks

--

   E Frank Ball       efball-xaoliK1djU/QT0dZR+AlfA@public.gmane.org
_______________________________________________
Users mailing list
Users-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org
https://openvz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
E Frank Ball | 6 Jan 2007 01:31
Favicon

Does NIS work with OpenVZ?

Does NIS work with OpenVZ?  
ypbind just hangs when I start it:

# ./init.d/ypbind start
Binding to the NIS domain:                                 [  OK  ]
Listening for an NIS domain server.....

In /var/log/messages I get this:
ypbind[24574]: broadcast: RPC: Timed out.

I have ypbind and yp-tools installed.  The portmap is running.  The
hostname has the necessary permissions on the server.  "domainname"
returns the correct server name.

I have the NISDOMAIN set in /etc/sysconfig/network

In /etc/yp.conf I have:
domain xxxxxx broadcast
This works on non-virtual machines.
I also tried setting a server name, but it still hangs.

Our network uses an unusual netmask:  255.255.248.0
Could that be causing a problem?

There's nothing on the wiki about NIS.

My virtual machines are CentOS 4.

--

-- 

   E Frank Ball                efball@...
E Frank Ball | 6 Jan 2007 01:36
Favicon

Re: Does NIS work with OpenVZ?

Nevermind. I got NIS working.  I needed to specify the server 
name, and put that server in /etc/hosts.

On Fri, Jan 05, 2007 at 04:31:58PM -0800, E Frank Ball wrote:
 > Does NIS work with OpenVZ?  
 > ypbind just hangs when I start it:
 > 
 > # ./init.d/ypbind start
 > Binding to the NIS domain:                                 [  OK  ]
 > Listening for an NIS domain server.....
 > 
 > In /var/log/messages I get this:
 > ypbind[24574]: broadcast: RPC: Timed out.
 > 
 > I have ypbind and yp-tools installed.  The portmap is running.  The
 > hostname has the necessary permissions on the server.  "domainname"
 > returns the correct server name.
 > 
 > I have the NISDOMAIN set in /etc/sysconfig/network
 > 
 > In /etc/yp.conf I have:
 > domain xxxxxx broadcast
 > This works on non-virtual machines.
 > I also tried setting a server name, but it still hangs.
 > 
 > Our network uses an unusual netmask:  255.255.248.0
 > Could that be causing a problem?
 > 
 > There's nothing on the wiki about NIS.
 > 
 > My virtual machines are CentOS 4.
 > 
 > -- 
 > 
 >    E Frank Ball                efball@...
 > _______________________________________________
 > Users mailing list
 > Users@...
 > https://openvz.org/mailman/listinfo/users
 > 

--

-- 

   E Frank Ball                efball@...

Gmane