Hello,
Just upgraded from Cobbler 2.2.1-1 to 2.2.3-2 on RHEL58 x86_64, starting cobblerd service
gave the following error message;
Starting cobbler daemon: No module named ctypes
Traceback (most recent call last):
File "/usr/bin/cobblerd", line 76, in main
api = cobbler_api.BootAPI(is_cobblerd=True)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 127, in __init__
module_loader.load_modules()
File "/usr/lib/python2.4/site-packages/cobbler/module_loader.py", line 62, in
load_modules
blip = __import__("modules.%s" % ( modname), globals(), locals(),
[modname])
File "/usr/lib/python2.4/site-packages/cobbler/modules/authn_pam.py", line 53,
in ?
from ctypes import CDLL, POINTER, Structure, CFUNCTYPE, cast, pointer, sizeof
ImportError: No module named ctypes
If found the following about it;
https://fedorahosted.org/pipermail/cobbler/2012-January/007128.html
After installing the package python-ctypes, cobblerd service started fine.
In the sandbox the same upgrade went fine, as this package was already installed some time
ago (dependency of func/smolt package).
So, should the dependency list op the rpm of Cobbler 2.2.3-2 (and onwards) be updated with
this package?
# rpm -qpR cobbler-2.2.3-2.el5.noarch.rpm
python >= 2.3
httpd
tftp-server
mod_wsgi
createrepo
python-cheetah
python-netaddr
python-simplejson
python-urlgrabber
PyYAML
rsync
mkisofs
yum-utils
/sbin/chkconfig
/sbin/chkconfig
/sbin/service
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
#
I tried to find the EPEL package maintainer for the cobbler packages but had no luck.
Stefan
Informatie van de Raad voor de rechtspraak, de rechtbanken, de gerechtshoven en de
bijzondere colleges vindt u op
www.rechtspraak.nl.