On Mon, Jun 25, 2012 at 9:15 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL
TECHNOLOGY SOLUTIONS INC] <stuart.j.newman(a)nasa.gov> wrote:
I renamed
/usr/lib/python2.6/site-packages/cobbler/modules/authn_pam.py to
/usr/lib/python2.6/site-packages/cobbler/modules/xauthn_pam.sav and deleted
/var/www/svc/services.pyo and /var/www/svc/services.pyc. I then attempted
to start cobblerd and got the following:****
** **
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 121, in <module>****
File "/usr/lib64/python2.6/ctypes/__init__.py", line 366, in __getattr__
****
func = self.__getitem__(name)****
File "/usr/lib64/python2.6/ctypes/__init__.py", line 371, in __getitem__
****
func = self._FuncPtr((name_or_ordinal, self))****
AttributeError: /usr/bin/python: undefined symbol: pam_start****
[ OK ]
You need to delete the pyo/pyc for the authn_pam module, not services.