FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-15-2011, 10:56 PM
Greg Pelly
 
Default disabling ipv6 on 11.04

Hi,

I have HBase installed on a a Ubuntu 11.04 box. It's having problems and they are due to the fact that ipv6 is enabled, the advice is to disable ipv6. The method of disabling appears to be adding the following three lines to sysctl.conf:



net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1

When I do this and reboot the machine it makes no difference. When I run sysctl -p I get the following messages:

error: "Operation not permitted" setting key "net.ipv6.conf.all.disable_ipv6"

error: "Operation not permitted" setting key "net.ipv6.conf.default.disable_ipv6"
error: "Operation not permitted" setting key "net.ipv6.conf.lo.disable_ipv6"


I've been searching on the web for other ways of disabling ipv6 without much luck, all direct me to files that don't exist on the system.

Regards,
Greg

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-16-2011, 11:24 PM
sktsee
 
Default disabling ipv6 on 11.04

On 12/15/2011 05:56 PM, Greg Pelly wrote:

Hi,

I have HBase installed on a a Ubuntu 11.04 box. It's having problems and
they are due to the fact that ipv6 is enabled, the advice is to disable
ipv6. The method of disabling appears to be adding the following three
lines to sysctl.conf:

***net.ipv6.conf.all.disable_ipv6 = 1*
*net.ipv6.conf.default.disable_ipv6 = 1*
*net.ipv6.conf.lo.disable_ipv6 = 1




Easier way to do this is to pass the kernel a parameter to disable ipv6
on bootup. To do that, edit /etc/default/grub and add
"ipv6.disable_ipv6=1" on the GRUB_CMDLINE_LINUX_DEFAULT line so it looks
similar to the following:


GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable_ipv6=1"

Save the file and then run "sudo update-grub" to update grub.cfg and
generate new initramfs images. Reboot and ipv6 should be disabled on all
interfaces.


--
sktsee


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org