LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » GNU/Linux Help » LXC - CentOS running within Ubuntu not recognizing sctp.ko is loaded. (When I try to create an SCTP IPv4 socket I get the error "address family not supported by protocol")
LXC - CentOS running within Ubuntu not recognizing sctp.ko is loaded. [message #89203] Tue, 20 September 2011 11:52 Go to next message
ddavoren is currently offline ddavoren  Ireland
Messages: 2
Registered: September 2011
Location: Ireland
Member
Hi,

I have CentOS 5.6 running as a container with Ubuntu.

Kernel: 2.6.38-11-generic

I have sctp.ko loaded from the host and I have the lksctp tools installed on CentOS. (version 1.0.6).

When I try to create an SCTP socket (IPv4) I get the error code 97 - address family not supported by this protocol.

I can create an IPv6 SCTP socket.

Also when I run netstat within CentOS I get the following:

netstat: no support for `AF INET (sctp)' on this system.

From a search on the web this error is due to the fact the SCTP kernel object is not installed. I have confirmed it is installed via lsmod.

I have tried copying the relative kernel files to my CentOS installation and doing the modproble from there rather than from the host but didnt have any success.

Any help would be greatly appreciated.

Thanks,
Dave.
Re: LXC - CentOS running within Ubuntu not recognizing sctp.ko is loaded. [message #89204 is a reply to message #89203] Tue, 20 September 2011 12:09 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
So you are booting to the Ubuntu kernel? I guess you are using pygrub or pvgrub to do so... Can you confirm?

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: LXC - CentOS running within Ubuntu not recognizing sctp.ko is loaded. [message #89208 is a reply to message #89204] Tue, 20 September 2011 15:39 Go to previous messageGo to next message
Walter  
Messages: 865
Registered: February 2009
Location: Florianopolis / BR
Senior Master
Forum Moderator
LxCenter Project Manager

No, apparently he installed CentOS in an Ubuntu server using LXC (http://lxc.sourceforge.net/). Think OpenVZ.

This is in no way related to HyperVM, Xen or OpenVZ and I'm moving it to another forum. OP should consider other venues.


Re: LXC - CentOS running within Ubuntu not recognizing sctp.ko is loaded. [message #89210 is a reply to message #89208] Tue, 20 September 2011 16:35 Go to previous message
ddavoren is currently offline ddavoren  Ireland
Messages: 2
Registered: September 2011
Location: Ireland
Member
Hi,

Walter is correct, I am running CentOS using LXC.
Apologies for logging on the wrong forum, I will move to another forum.
Previous Topic:how enable xml reader & writer
Next Topic:Custom ServerTokens
Goto Forum:
  


Current Time: Tue May 21 04:44:09 EDT 2013

Total time taken to generate the page: 0.01062 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software