[ipv6_test] Kernel is not compiled with IPv6 support


 
Thread Tools Search this Thread
Special Forums IP Networking [ipv6_test] Kernel is not compiled with IPv6 support
# 1  
Old 02-27-2014
[ipv6_test] Kernel is not compiled with IPv6 support

Hello, i tried to enable IPv6 networking and after service network restart i seen these messages:

Code:
FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy
CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy
CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support
                                                           [  OK  ]

Code:
ping6 ipv6.google.com

returns:
Quote:
socket: Address family not supported by protocol
Im amateur, can you please suggest how to fix this IPv6 support kernel issue? Please if you get idea on commands i need to do, i will do it.

Code:
[root@CentOS-58-64-minimal /]# cat vi /etc/sysconfig/network | grep 6;
cat: vi: No such file or directory
HOSTNAME=CentOS-58-64-minimal
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6_DEFAULTDEV=eth0
IPV6_DEFAULTGW=2a01:04f8:0191:4150:0000:0000:0000:0000
# defaultgw was 2a01:4f8:191:4150::2/64
IPV6_AUTOCONF=yes
[root@CentOS-58-64-minimal /]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 | grep 6;
HWADDR=50:46:5d:9f:f8:bf
IPADDR=144.76.40.81
SCOPE="peer 144.76.40.65"
IPV6INIT=yes
IPV6ADDR=2a01:4f8:191:4150::2/64
IPV6_DEFAULTGW=fe80::1
IPV6_DEFAULTDEV=eth0
[root@CentOS-58-64-minimal /]# cat /etc/sysctl.conf | grep 6;
# ipv6 settings (no autoconfiguration)
net.ipv6.conf.default.autoconf=0
net.ipv6.conf.default.accept_dad=0
net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.default.accept_ra_defrtr=0
net.ipv6.conf.default.accept_ra_rtr_pref=0
net.ipv6.conf.default.accept_ra_pinfo=0
net.ipv6.conf.default.accept_source_route=0
net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.all.accept_dad=0
net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.all.accept_ra_defrtr=0
net.ipv6.conf.all.accept_ra_rtr_pref=0
net.ipv6.conf.all.accept_ra_pinfo=0
net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.all.accept_redirects=0
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.proxy_ndp=1
net.ipv6.bindv6only=1
net.ipv4.ip_conntrack_max=32760
[root@CentOS-58-64-minimal /]# uname -a
Linux CentOS-58-64-minimal 2.6.18-348.16.1.el5.028stab108.1 #1 SMP Tue Aug 27 13:02:53 MSD 2013 x86_64 x86_64 x86_64 GNU/Linux


Last edited by postcd; 02-27-2014 at 01:59 PM..
# 2  
Old 02-27-2014
What's your system? Are you in a virtual server?
# 3  
Old 02-27-2014
Quote:
Originally Posted by Corona688
What's your system? Are you in a virtual server?
Thx, i added new info to the first post. It is Dedicated server with OpenVZ kernel.
# 4  
Old 02-27-2014
That you have a dedicated server doesn't mean it's not a virtual server too. Smilie OpenVZ is a kernel for virtualization. Running in a virtual server means outside things may have control over what you can do.

You may need to enable ipv6 in /etc/vz/vz.conf
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 02-27-2014
Corona688: I mean its physical server on which these errors appears.
I tried to look into /etc/vz/vz.conf and its there.

## Enable IPv6
IPV6="yes"

---------- Post updated at 08:11 PM ---------- Previous update was at 08:07 PM ----------

IT WAS FIXED. Server needed to restart. Not sure why...
This User Gave Thanks to postcd For This Post:
# 6  
Old 02-27-2014
I suspect that file is checked when the system boots, not all the time. There might have been some service you could have restarted instead, but openvz's not my thing, I wouldn't know.
# 7  
Old 02-27-2014
Quote:
Originally Posted by postcd
Corona688: I mean its physical server on which these errors appears.
A virtual server runs on physical hardware, yes.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

2. Solaris

Older OS support in Kernel zones

folks, I have a query. Can we create Kernel zone with the earlier Solaris OS? More precisely Can i create kernel zone with any different OS than that of OS in global zone. As of now in sol11U2 if we create kernel zone, there will be sol11u2 OS in kernel zone since the same is in global. But... (4 Replies)
Discussion started by: Vaishey
4 Replies

3. Ubuntu

Phenom II support in kernel

Does anyone know at which kernel version support for Phenom II x6 first appeared? (7 Replies)
Discussion started by: Varsel
7 Replies

4. UNIX for Dummies Questions & Answers

Make sure kernel was compiled with NFS server support

Hi there, I have a Debian Squeeze server. How can I check if my kernel was compiled with NFS server support? Extra question: if it is not, how do I enable NFS support in my kernel? Thanks for your help. Santiago (3 Replies)
Discussion started by: chebarbudo
3 Replies

5. Solaris

NTP server to support IPv4 and IPv6 client

Hi I am looking to have an NTP server that will support both ipv4 and ipv6 clients. Is there anything specific about the configuration that I should be looking at? (7 Replies)
Discussion started by: eeisken
7 Replies

6. UNIX for Dummies Questions & Answers

Script to automatically reboot to newly compiled kernel with fallback

Hi, I'm new here. Just started playing around with kernel compilation. I need a little bit of advice. I'm trying to do a bash script to automatically compile a kernel package and reboot to that new kernel by default, with fallback to the old kernel. So far, I'm getting stuck at the part... (0 Replies)
Discussion started by: tridus_08
0 Replies

7. UNIX for Dummies Questions & Answers

Kernel Support

Hi, I want to learn that all the family of x86 processors are supported by kernel. I want to buy a board, which has VIA ESP10K processor and CHIPSET: VIA CN333 north bridge & VIA VT8237R south bridge Where can I find this? Thanks. (5 Replies)
Discussion started by: yildiz.a
5 Replies

8. Ubuntu

Does Posix support kernel level threading?

Hi All, Please let me know the following. 1) Does POSIX lib support kernel threads? if yes, please let me know what are the specific function calls used to create/manage kernel threads. 2) Is Posix scalable? 3) Does POSIX take the advantage of multiprocessor systems? your help is much... (4 Replies)
Discussion started by: jayfriend
4 Replies

9. IP Networking

DNS Server with IPv6 support

Hello, i have a problem with a dns server. It is running bind 9.4.1 (compiled with "-enable-ipv6") on an AIX 5.3 system. The server starts without any errors or warnings. I am also able to lookup names for IPv4 adresses. But with IPv6 i have a strange problem. When i execute the following dig... (3 Replies)
Discussion started by: skanatiker
3 Replies
Login or Register to Ask a Question