[Spacewalk-list] Client setup

m.roth2006 at rcn.com m.roth2006 at rcn.com
Mon Feb 16 22:38:53 UTC 2009


Ok, I *think* I got everything installed correctly. But, when I finally run the rhnreg_ks, it errors out. The command I ran is:
sudo /usr/sbin/rhnreg_ks --serverUrl=http://10.70.12.61/XMLRPC --activationkey=<key elided>

It gave some very odd errors; the same one three times:
Introspect error: The name org.freedesktop.Hal was not provided by any .service files
Error reading hardware information: dbus_bindings.DBusException

Now, /var/log/up2date said intenal server error (didn't someone just post something like that last week?)

On the spacewalk server, what I see in /var/log/httpd/error_log is:
RHN 12065 2009/02/16 16:08:26 -05:00: ('Server has invalid release and token contains no base channels', 1000010000, [{'note': 'default key', 'usage_limit': None, 'user_id': 1, 'org_id': 1, 'server_id': None, 'token_desc': 'Spacewalk Management Entitled Servers', 'token_type': 'enterprise_entitled', 'token': '1-d23a11311dbd51fe346bd9c704eefd3f', 'token_id': 1, 'deploy_configs': 'N', 'kickstart_session_id': None, 'is_base': 'Y'}])

So it looks to me as though I've missed some configuration file, since it says the server_id token is None. I see in /etc/sysconfig/rhn/up2date
systemIdPath[comment]=Location of system id
systemIdPath=/etc/sysconfig/rhn/systemid

And there's no such file. I don't see any reference to it in the script that I copied and am modifying. I also don't see a reference to it in <https://fedorahosted.org/spacewalk/wiki/RegisteringClients>

Now, I do have rhn-check installed, and in the man page for rhn_check, I see
FILES
    /etc/sysconfig/rhn/systemid
       The digital server ID for this machine if the  system  
       has  been registered  onto Red Hat Network.  This file 
       does not exist otherwise.

I would have assumed that installation of the client tools would have created it, or that trying to register it with the spacewalk server would. Does anyone know how/when it gets created, or if I have to do that... or am I barking up the wrong tree altogether?

     mark




More information about the Spacewalk-list mailing list