Yes, I had this issue too. The problem is in python.. It's a known issue. I fixed it by upgrading to centos6... Op 11 jan. 2012 18:23 schreef "jehan procaccia" < [email protected]> het volgende: > > OK, I upgraded from 2.2.1 to 2.3.1 however now cobblerd doesn't start anymore :-( > > [root@cobbler ~]# /etc/init.d/cobblerd start > 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 > > Any idea of what could be wrong ? > you told me to check potential .rpmnew files, there are 2 in /etc/cobbler: > > [root@cobbler cobbler]# ls -ltra /etc/cobbler/*.rpmnew > -rw-r--r-- 1 root root 17205 Jan 11 16:10 /etc/cobbler/settings.rpmnew > -rw-r--r-- 1 root root 3266 Jan 11 16:10 /etc/cobbler/modules.conf.rpmnew > > could this be related ? > > thanks. > > Le 11/01/2012 16:44, Michael DeHaan a écrit : >> >> File system info -- >> >> https://github.com/cobbler/cobbler/wiki/File%20System%20Information >> >> You should be fine. Backing up /var/lib/cobbler is smart though, and pay attention to any .rpmnew files created. >> >> --Michael >> >> On Wednesday, January 11, 2012 at 10:41 AM, jehan procaccia wrote: >>> >>> OK, I got the latest source and made the rpms >>> # ls >>> cobbler-2.3.1-1.noarch.rpm koan-2.3.1-1.noarch.rpm >>> cobbler-web-2.3.1-1.noarch.rpm >>> >>> My cobbler installation is running on a centos5.7 system >>> # rpm -qa | grep -i cobbler >>> cobbler-web-2.2.1-1.el5 >>> cobbler-2.2.1-1.el5 >>> >>> can I blindly upgrade those packages with the 2.3.1, or should I do something before ? >>> where is the cobbler "database", config files , settings that I should care about before upgrade ? >>> is there an upgrade page recommendation ? I found that related: >>> https://github.com/cobbler/cobbler/wiki/Relocating%20Your%20Install >>> but I'am afraid of bracking our installation by upgrading with a simple yum localinstall cobbler*2.3.1*, should I ? >>> >>> Thanks. >>> >>> >>> >>> Le 10/01/2012 16:22, Jörgen Maas a écrit : >>>> >>>> On Tue, Jan 10, 2012 at 1:51 PM, jehan procaccia < [email protected]> wrote: >>>>> >>>>> >>>>> In the tread it is mentioned that it should be corrected in 2.3.1 >>>>> where can I get 2.3.1 !? and a SRPMS so that I can recompile to the latest release ? >>>>> >>>> >>>> Hi, >>>> >>>> 2.3.1 is the current development version, you can get it by pulling the source with git and run 'make rpms' >>>> >>>> HTH >>>> -- >>>> Grtz, >>>> Jörgen Maas >>>> >>>> >>>> _______________________________________________ >>>> cobbler mailing list >>>> [email protected] >>>> https://fedorahosted.org/mailman/listinfo/cobbler >>> >>> >>> _______________________________________________ >>> cobbler mailing list >>> [email protected] >>> https://fedorahosted.org/mailman/listinfo/cobbler >> >> > > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
