Re: [Shinken-devel] multiprocessing OSError: [Errno 38] Function not implemented
Status: Beta
Brought to you by:
naparuba
From: Sven V. <sv...@ve...> - 2011-06-03 20:46:58
|
Hi! Diego Amor wrote: > Hi, i install shinken with debian script who create nicola. > > I install shinken on virtual machine with host running openvz, the > host is a Ubuntu 8.04.4 LTS with kernel 2.6.24-28-openvz, and the > virtual have a Ubuntu 10.04.2 LTS. > > the "modules" pollerd and reactionner of shinken crash with the same error: > > Back trace of it: Traceback (most recent call last): > [...] > sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) > OSError: [Errno 38] Function not implemented > > i dont know if the error is bad config or waht else :P > > Please any idea? The "multiprocessing" module needs access to shared memory via "/dev/shm". Just mount a "tmpfs" to "/dev/shm" *IN* your Vserver chroot/jail/... and be happy :) % mount -t tmpfs -o rw,nosuid,nodev,mode=1777,size=20%,mode=1777 none /dev/shm Bye Sven PS: Same problem on Linux-Vserver ;-) -- Leukämie -> http://de.wikipedia.org/wiki/Leuk%C3%A4mie Heilung -> http://de.wikipedia.org/wiki/Knochenmark#Knochenmarkspende Typisierung -> http://www.knochenmarkspende.de/page.php?id=12 Warum&Fragen -> sv...@ve... |