On Sat, Nov 12, 2011 at 2:42 AM, Jörgen Maas <jorgen.maas(a)gmail.com> wrote:
Hi,
I tried to install cobbler-master (todays sources) on a fresh CentOS6
system and i get:
Starting cobbler daemon: Traceback (most recent call last):
File "/usr/bin/cobblerd", line 76, in main
api = cobbler_api.BootAPI(is_cobblerd=True)
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 127, in __init__
module_loader.load_modules()
File "/usr/lib/python2.6/site-packages/cobbler/module_loader.py",
line 62, in load_modules
blip = __import__("modules.%s" % ( modname), globals(), locals(),
[modname])
File "/usr/lib/python2.6/site-packages/cobbler/modules/authn_pam.py",
line 53, in <module>
from ctypes import CDLL, POINTER, Structure, CFUNCTYPE, cast,
pointer, sizeof
File "/usr/lib64/python2.6/ctypes/__init__.py", line 546, in <module>
CFUNCTYPE(c_int)(lambda: None)
MemoryError
I did not configure authn_pam but wanted to use authn_testing.
Any ideas?
A quick google shows this seems to be an issue with ctypes in python 2.6:
https://bugzilla.redhat.com/show_bug.cgi?id=674369
http://forums.gentoo.org/viewtopic-t-854298.html
https://bugs.gentoo.org/329499?id=329499
That last one seems to be the real underlying cause.