OpenVZ Forum


Home » General » Support » Debian VE networking no longer works?
Debian VE networking no longer works? [message #4370] Fri, 07 July 2006 20:39 Go to next message
mike503 is currently offline  mike503
Messages: 4
Registered: July 2006
Junior Member
As far as I can tell, I haven't changed any configuration settings on the host or the VE.

Host: CentOS 4.3
VE: debian-3.1-x86_64-minimal

Boots up fine

[root@mike network]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
191.255.255.1 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
0.0.0.0 191.255.255.1 0.0.0.0 UG 0 0 0 venet0

[root@mike network]# ifconfig
No usable address families found.
socket: No such file or directory
[root@mike network]#

[root@mike network]# nslookup yahoo.com
nslookup: isc_socket_create: not enough free resources

[root@mike network]# ping 127.0.0.1
socket: No buffer space available

But I am getting all these errors. The odd thing is I can ssh inbound from a remote host. But once I'm on there it's basically useless... any help is appreciated.

I haven't modified the /etc/network/interfaces file, either.
Re: Debian VE networking no longer works? [message #4371 is a reply to message #4370] Fri, 07 July 2006 22:09 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

[...]

[root@mike network]# nslookup yahoo.com
nslookup: isc_socket_create: not enough free resources

[root@mike network]# ping 127.0.0.1
socket: No buffer space available

But I am getting all these errors. The odd thing is I can ssh inbound from a remote host. But once I'm on there it's basically useless... any help is appreciated.

I haven't modified the /etc/network/interfaces file, either.

Have you checked the user_beancounters of the ve?
Some failures listed?

Regards,
Thorsten
Re: Debian VE networking no longer works? [message #4373 is a reply to message #4371] Sat, 08 July 2006 02:41 Go to previous messageGo to next message
mike503 is currently offline  mike503
Messages: 4
Registered: July 2006
Junior Member
yes:

numothersock

held 79
maxheld 80
barrier 80
limit 80
failcnt 1015

that's the only one. 1015 failures.

okay weird, now ifconfig -is- showing something, but still errors too:

[root@mike root]# ifconfig
warning: no inet socket available: No such file or directory
lo Link encap:Local Loopback
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:366 errors:0 dropped:0 overruns:0 frame:0
TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38899 (37.9 KiB) TX bytes:38899 (37.9 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:634 errors:0 dropped:0 overruns:0 frame:0
TX packets:615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:57828 (56.4 KiB) TX bytes:41328 (40.3 KiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

Re: Debian VE networking no longer works? [message #4453 is a reply to message #4370] Mon, 10 July 2006 22:29 Go to previous messageGo to next message
mike503 is currently offline  mike503
Messages: 4
Registered: July 2006
Junior Member
bump?
Re: Debian VE networking no longer works? [message #4456 is a reply to message #4453] Tue, 11 July 2006 07:37 Go to previous messageGo to next message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

bump. mike, did you try to increase "numothersock", say to 150?

Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
Re: Debian VE networking no longer works? [message #4485 is a reply to message #4456] Tue, 11 July 2006 15:47 Go to previous messageGo to next message
mike503 is currently offline  mike503
Messages: 4
Registered: July 2006
Junior Member
aistis wrote on Tue, 11 July 2006 00:37

bump. mike, did you try to increase "numothersock", say to 150?


well i can't do it this minute, so i'll ask a quick question or two for later:

1) how do i change those variables?
2) why would i need to? it was working fine after install. is the beancounters thing just specific to the whole VE deal? i don't want to have something which should work out of the box keep breaking. this time it could be that variable, next time it could be another one, right? Smile i'd rather not run into that when it's in production...

or perhaps just a script or information on which variables i can "max out" so there won't be any random resource limits i hit. the only one i really care about are the CPU units, which look to be controlled by vzctl anyway.

thanks.
Re: Debian VE networking no longer works? [message #4487 is a reply to message #4370] Tue, 11 July 2006 16:49 Go to previous message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

Mike, each VE has its resource limits, thus you have a place where they are accounted -> /proc/user_beancounters. You have bunch of manageable resource limits per VE for your good - stability and security. You should definetelly read OpenVZ User's Guide, "Chapter 6 - Managing Resources" for more information on that.

You can change those variables using command line tool vzctl or by editing VE configuration files directly and restarting a VE. More info on the same document, page 95.

Let us know if you need more information Rolling Eyes


Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
Previous Topic: Virtuozzo für Linux 3.0 compatible with SAP-Software ?
Next Topic: Change IP
Goto Forum:
  


Current Time: Fri Oct 04 18:18:29 GMT 2024

Total time taken to generate the page: 0.03939 seconds