Re: RH 8.0 Client

Mike Wohlgemuth <[email protected]> 26 Nov 2002 12:52:45 -0500
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
I had this problem, too.  You can find my workaround here:

https://lists.dulug.duke.edu/pipermail/current-server/2002-October/000647.html

Woogie

On Tue, 2002-11-26 at 11:21, Lawrence MacIntyre wrote:
> Here is a list of the up2date/rhn stuff included in RH8.0:
> 
> up2date-3.0.7-1.i386.rpm
> up2date-gnome-3.0.7-1.i386.rpm
> rhn-applet-2.0.0-28.i386.rpm
> rhnlib-1.0-1.noarch.rpm
> 
> Note that there is no rhn_register, so this, at least, is different.  I
> edited /etc/sysconfig/rhn/up2date as you would before RH8.0, but, as
> there is no rhn_register, I couldn't edit that.  When I tried to run
> up2date, I got this:
> 
> [root@karabou rhn]# up2date
> Traceback (most recent call last):
>   File "/usr/sbin/up2date", line 801, in ?
>     main()
>   File "/usr/sbin/up2date", line 463, in main
>     ret = configdlg.main(options.firstboot)
>   File "/usr/share/rhn/up2date_client/configdlg.py", line 365, in main
>     gui = Gui(firstboot)
>   File "/usr/share/rhn/up2date_client/configdlg.py", line 79, in
> __init__
>     self.setInitialValues()
>   File "/usr/share/rhn/up2date_client/configdlg.py", line 95, in
> setInitialValues
>     self.serverUrls = configUtils.getServerUrls()
>   File "/usr/share/rhn/up2date_client/configUtils.py", line 40, in
> getServerUrls    serverUrls = rpcServer.doCall(s.servers.list)
>   File "/usr/share/rhn/up2date_client/rpcServer.py", line 107, in doCall
>     ret = apply(method, args, kwargs)
>   File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in
> _request
>     verbose=self._verbose
>   File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 141,
> in request
>     return self.parse_response(fd)
>   File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 160,
> in parse_response
>     p.close()
>   File "/usr/lib/python2.2/xmlrpclib.py", line 393, in close
>     self._parser.Parse("", 1) # end of data
> xml.parsers.expat.ExpatError: no element found: line 1, column 0
> 
> Then I tried to run the rhn-applet.  It died with a traceback that was
> in a window with scrollbars but they didn't work, so I couldn't get the
> traceback.  However, the following message was on the terminal window I
> ran it from:
> 
> [root@karabou rhn]# /usr/bin/rhn-applet-gui
> could not figure out kernel
> 
> The machine is running a custom kernel, but the kernel rpms are still
> there.
> 
> On Mon, 2002-11-25 at 23:58, Barry K. Nathan wrote:
> > On Mon, Nov 25, 2002 at 04:04:56PM -0500, Lawrence MacIntyre wrote:
> > > Is there a way to get a RH8.0 machine to work with the current server
> > > with the version of up2date that ships with it, or do I need to remove
> > > the up2date and redhat network software that comes with it:
> > [snip]
> > 
> > The 8.0 up2date stuff should work reasonably well as a client. Sometimes
> > it explodes with a traceback after it finishes applying the updates (due
> > to some new server-side thing that's not implemented in current yet --
> > look back at the archives earlier this month for a subject line
> > mentioning "weird traceback"). It actually applies the updates properly,
> > though. AFAIK setup is no different than with 7.x clients.
> > 
> > -Barry K. Nathan <[email protected]>
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> -- 
>      Lawrence MacIntyre     865.574.8696     [email protected]
>                 Oak Ridge National Laboratory
> Center for High Performance Information Infrastructure Technology