you shoud look for 0 bytes files in /var/lib/cobbler/config and remove these.
then try to restart cobblerd

On Tue, Jun 16, 2015 at 11:51 AM, Bruce McAlister <bruce.mcalister@blueface.com> wrote:
Hi All,

I am facing a strange issue after upgrading spacewalk from v2.2 to v2.3, I am having issues starting cobblerd which fails with the error message at the bottom of the mail:

I came accross the following reference at RHN, but since I am not a subscriber, I cannot view the solution:

https://access.redhat.com/solutions/184053

Has anyone come accross this, or can you offer any suggestions on where to look to debug this issue:


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 128, in __init__
    self.deserialize()
  File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 690, in deserialize
    return self._config.deserialize()
  File "/usr/lib/python2.6/site-packages/cobbler/config.py", line 208, in deserialize
    serializer.deserialize(self._profiles)
  File "/usr/lib/python2.6/site-packages/cobbler/serializer.py", line 122, in deserialize
    rc = storage_module.deserialize(obj,topological)
  File "/usr/lib/python2.6/site-packages/cobbler/modules/serializer_catalog.py", line 186, in deserialize
    datastruct = deserialize_raw(obj.collection_type())
  File "/usr/lib/python2.6/site-packages/cobbler/modules/serializer_catalog.py", line 156, in deserialize_raw
    datastruct = simplejson.loads(ydata, encoding='utf-8')
  File "/usr/lib64/python2.6/site-packages/simplejson/__init__.py", line 318, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib64/python2.6/site-packages/simplejson/decoder.py", line 335, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.6/site-packages/simplejson/decoder.py", line 353, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Thanks
Bruce

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler



--
Grtz,
Jörgen Maas