[Spacewalk-list] Ubuntu 12.10 activation and channels.
William Palfreman
william at palfreman.com
Wed May 29 07:32:13 UTC 2013
It says nothing at all:
# cat /var/log/rhn/rhn_server_xmlrpc.log
cat: /var/log/rhn/rhn_server_xmlrpc.log: No such file or directory
On 28/05/2013, Justin Edmands <shockwavecs at gmail.com> wrote:
> yea ignore that response as I was quick to assume that Ubuntu would be
> classified by itself given fedora/centos classifications. Either way what
> does the server side say for /var/log/rhn/rhn_server_xmlrpc.log ?
>
>
> We have a few ubuntu systems. Maybe I should suck them in :)
>
>
> On Tue, May 28, 2013 at 4:36 PM, Justin Edmands
> <shockwavecs at gmail.com>wrote:
>
>> I don't see Ubuntu in the list of manageable systems. Not saying it
>> cannot
>> be done, though.
>>
>> http://spacewalk.redhat.com/faq.html#compare
>>
>>
>> On Tue, May 28, 2013 at 3:01 PM, William Palfreman
>> <william at palfreman.com>wrote:
>>
>>> I am building an evaluation spacewalk system, so as to test out its
>>> suitability. We have here a mixture of RHEL6, Ubuntu and some SUSE and
>>> FreeBSD.
>>>
>>> At the moment I am focusing on the Ubuntu systems, as the RHEL ones
>>> already get this from the real RHN site, so an overview of the update
>>> state for managed systems is not so urgent.
>>>
>>> With a RHEL machines I can register with this activation key and get
>>> the (currently empty) channel I intend to use for ubuntu. With an
>>> Ubuntu system I get nothing. I don't see any channels available for
>>> it in the web interface, and rhn-channel -l says "This system is not
>>> associated with any channel" and with -L gives no output after asking
>>> for my username and password.
>>>
>>> Any ideas?
>>>
>>> # rhnreg_ks --serverUrl=http:/myhostname/XMLRPC
>>> --activationkey="2-xxx-ubuntu" --force
>>> Warning: unable to enable rhnsd with chkconfig
>>> # ps axuwww | grep rhnsd
>>> root 2412 0.0 0.0 7176 712 ? Ss May24 0:01
>>> /usr/sbin/rhnsd
>>> root 5888 0.0 0.0 9392 924 pts/0 S+ 20:55 0:00 grep
>>> --color=auto rhnsd
>>> # rhn-channel -l
>>> This system is not associated with any channel
>>> # tail /var/log/up2date
>>> File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
>>> f(self, value, write)
>>> File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil
>>> raise TypeError, "cannot marshal None unless allow_none is enabled"
>>> <type 'exceptions.TypeError'>: cannot marshal None unless allow_none is
>>> enabled
>>>
>>> [Tue May 28 20:50:31 2013] up2date Warning: haldaemon or messagebus
>>> service not running. Cannot probe hardware and DMI information.
>>>
>>> [Tue May 28 20:55:35 2013] up2date Warning: haldaemon or messagebus
>>> service not running. Cannot probe hardware and DMI information.
>>>
>>> -----------------------------------------------------------------------------------------------------
>>>
>>> Do I need the hal daemon running to subscribe to channels?
>>>
>>> (BTW, the above error I fixed earlirwith this patch in /usr/lib. I
>>> read in the forum archives that it is an Ubuntu bug:
>>>
>>> --- python2.7/xmlrpclib.py 2013-05-28 20:44:38.000000000 +0200
>>> +++ new/xmlrpclib.py 2013-05-28 20:44:24.000000000 +0200
>>> @@ -654,8 +654,8 @@
>>> f(self, value, write)
>>>
>>> def dump_nil (self, value, write):
>>> - if not self.allow_none:
>>> - raise TypeError, "cannot marshal None unless allow_none is
>>> enabled"
>>> +# if not self.allow_none:
>>> +# raise TypeError, "cannot marshal None unless allow_none is
>>> enabled"
>>> write("<value><nil/></value>")
>>> dispatch[NoneType] = dump_nil
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>
More information about the Spacewalk-list
mailing list