OpenVZ Forum


Home » International » Russian » Keepalived IPVS: Can't initialize ipvs: Permission denied (you must be root) (Keepalived IPVS: Can't initialize ipvs: Permission denied (you must be root))
Keepalived IPVS: Can't initialize ipvs: Permission denied (you must be root) [message #40562] Wed, 01 September 2010 11:55 Go to next message
maxim is currently offline  maxim
Messages: 1
Registered: September 2010
Junior Member
From: 93.92.136*
Приветствую всех!
Ситуация такая, в контейнере установил Keepalived.
При старте сервиса наблюдаю

Sep 1 15:39:18 host Keepalived_vrrp: Using LinkWatch kernel netlink reflector...
Sep 1 15:39:18 host modprobe: FATAL: Error inserting ip_vs (/lib/modules/2.6.18-194.8.1.el5.028stab070.2/kernel/net/ipv 4/ipvs/ip_vs.ko): Operation not permitted
Sep 1 15:39:18 host Keepalived_healthcheckers: IPVS: Can't initialize ipvs: Permission denied (you must be root)

Сервис я запускаю от рута. Может кто подскажет как решить проблему?
Re: Keepalived IPVS: Can't initialize ipvs: Permission denied (you must be root) [message #40572 is a reply to message #40562] Thu, 02 September 2010 11:44 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
From: *sw.ru
Здравствуйте,

скорее всего, дело в том, что сервис пытается загрузить модуль внутри VE - это дело категорически запрещено. Поробуйте загрузить модуль на HN, а лишь затем стартуйте VE.
Re: Keepalived IPVS: Can't initialize ipvs: Permission denied (you must be root) [message #41299 is a reply to message #40562] Fri, 24 December 2010 09:53 Go to previous message
aglarendil is currently offline  aglarendil
Messages: 3
Registered: December 2010
Location: RU
Junior Member

From: *rwsit.net
1) Загрузи модули в HN
2) Установи NET_ADMIN capability для контейнера

После всего этого рестартани контейнер
Previous Topic: Статические маршруты
Next Topic: Несколько --devices
Goto Forum:
  


Current Time: Tue Oct 23 11:20:36 GMT 2018