[Spacewalk-list] register systems
m.roth2006 at rcn.com
m.roth2006 at rcn.com
Wed Feb 18 16:32:46 UTC 2009
Steve,
I do know that I finally got spacewalk up and running on CentOS 5.2, which is the equivalent of RHEL 5.2. As Miroslav said, and I found out myself, XMLRPC is an apache? tomcat5? handler - there is no such directory.
I don't think I saw your reply - after you ran the registration from the client, did the system show up on the server, or not? When I did it, both rhnreg_ks and rhn_register (the latter interactive), I saw errors... but when I went to the browser interface on the server, I had two registrations of my test system.
The only python dependency that I had to manually get was pyOpenSSL.
Your error about "not found" *sounds* - and I'm not sure - as though there's a configuration file somewhere that needs editing, so that it points to your spacewalk server.
Sorry if I can't be of more help.
mark
---- Original message ----
>Date: Wed, 18 Feb 2009 07:59:23 -0500
>From: Steve Vargo <stevevargo at hotmail.com>
>Subject: RE: [Spacewalk-list] register systems
>To: <spacewalk-list at redhat.com>
>
> Well since no-one has any ideas I think I am going
> to re-install and try RHEL 4.7 even though there are
> supposedly people out there that can get systems
> registered on RHEL 5.2. Wish me luck..........
>
> ------------------------------------------------
>
> From: stevevargo at hotmail.com
> To: spacewalk-list at redhat.com
> Subject: RE: [Spacewalk-list] register systems
> Date: Tue, 17 Feb 2009 13:23:50 -0500
>
> This is the only thing that looks suspicious:
>
> from /var/log/httpd/error_log on the spacewalk
> server
>
> [Tue Feb 17 13:11:20 2009] [error] [client
> 172.30.217.20] File does not exist:
> /var/www/html/XMLRPC
> [Tue Feb 17 13:11:20 2009] [error] [client
> 172.30.217.20] RHN::Exception: Tried to read 122
> bytes from rpc request, but only could read 0\n
> PXT::Request
> /usr/lib/perl5/site_perl/5.8.8/PXT/Request.pm 527
> RHN::Exception::throw\n PXT::Request
> /usr/lib/perl5/site_perl/5.8.8/PXT/Request.pm 541
> PXT::Request::xml_body\n PXT::ApacheHandler
> /usr/lib/perl5/site_perl/5.8.8/PXT/ApacheHandler.pm
> 396 PXT::Request::rpc_params\n PXT::ApacheHandler
> /usr/lib/perl5/site_perl/5.8.8/PXT/ApacheHandler.pm
> 67 PXT::ApacheHandler::initialize_pxt\n main -e 0
> PXT::ApacheHandler::handler\n main -e 0 (eval)\n
>
> I brought up this point on a post back on 2-5-09
>
> find / -name XMLRPC
> /usr/lib/perl5/vendor_perl/5.8.8/XMLRPC
> /usr/lib/perl5/vendor_perl/5.8.8/Apache/XMLRPC
> /usr/share/doc/perl-SOAP-Lite-0.710.08/examples/XMLRPC
>
> I was told by Miroslav Suchy that
>
> "It is apache handler defined in
> /etc/rhn/satellite-httpd/conf/rhn/xmlrpc.conf. No
> such file exist."
>
> No other logs have any additional information on the
> server.
>
> **Note the above is when I run rhn_register.
>
> When I run
>
> rhnreg_ks
> --serverUrl=https://spacewalk.company.com/XMLRPC
> --activationkey=9b96b0f4a6a16ec24aeecb9ad191ed90
>
> I get the following in /var/log/up2date on the
> client and nothing on the server.
>
> [Tue Feb 17 13:20:49 2009] up2date
> Traceback (most recent call last):
> File "/usr/sbin/rhnreg_ks", line 267, in ?
> cli.run()
> File "/usr/share/rhn/up2date_client/rhncli.py",
> line 65, in run
> sys.exit(self.main() or 0)
> File "/usr/sbin/rhnreg_ks", line 88, in main
> rhnreg.getCaps()
> File "/usr/share/rhn/up2date_client/rhnreg.py",
> line 324, in getCaps
> s.capabilities.validate()
> File "/usr/share/rhn/up2date_client/rhnserver.py",
> line 154, in __get_capabilities
> self.registration.welcome_message()
> File "/usr/share/rhn/up2date_client/rhnserver.py",
> line 50, in __call__
> return rpcServer.doCall(method, *args, **kwargs)
> File "/usr/share/rhn/up2date_client/rpcServer.py",
> line 263, in doCall
> raise up2dateErrors.CommunicationError(e.errmsg)
> up2date_client.up2dateErrors.CommunicationError:
> Error communicating with server. The message was:
> Not Found
>
> Thanks
> Steve
>
> > From: m.roth2006 at rcn.com
> > Subject: RE: [Spacewalk-list] register systems
> > To: spacewalk-list at redhat.com
> > Date: Tue, 17 Feb 2009 13:06:14 -0500
> >
> > Steve,
> >
> > I assume you've looked:
> > on the spacewalk server:
> > /var/log/messages
> > /var/log/httpd/error_log
> > /var/log/tomcat5/catalina.out
> > /var/log/rhn/*
> > on the client:
> > /var/log/messages
> > /var/log/up2date
> >
> > and seen nothing useful?
> >
> > mark
> >
> >
> > ---- Original message ----
> > >Date: Tue, 17 Feb 2009 12:56:07 -0500
> > >From: Steve Vargo <stevevargo at hotmail.com>
> > >Subject: RE: [Spacewalk-list] register systems
> > >To: <spacewalk-list at redhat.com>
> > >
> > > No firewall on either server and I can use lynx
> to
> > > connect tot he web gui
> > >
> > > -Steve
> > >
> > > > From: m.roth2006 at rcn.com
> > > > Subject: RE: [Spacewalk-list] register systems
> > > > To: spacewalk-list at redhat.com
> > > > Date: Tue, 17 Feb 2009 12:37:02 -0500
> > > >
> > > > Steve,
> > > >
> > > > >Date: Tue, 17 Feb 2009 12:33:10 -0500
> > > > >From: Steve Vargo <stevevargo at hotmail.com>
> > > > >
> > > > > Yes I can ping it and I can get the the web
> gui
> > > via
> > > > > a browser
> > > >
> > > > Mmm... not sure then. Wait - are you using a
> > > browser on the client system? If not, you might
> want
> > > to check to see if port 443 is open on the
> client.
> > > >
> > > > mark
> > > >
> > > > > > From: m.roth2006 at rcn.com
> > > > > > Subject: RE: [Spacewalk-list] register
> systems
> > > > > > To: spacewalk-list at redhat.com
> > > > > > Date: Tue, 17 Feb 2009 12:31:25 -0500
> > > > > >
> > > > > > Steve,
> > > > > >
> > > > > > >Date: Tue, 17 Feb 2009 12:25:24 -0500
> > > > > > >From: Steve Vargo
> <stevevargo at hotmail.com>
> > > > > > >
> > > > > > > I am only using spacewalk.company.com in
> > > this
> > > > > post
> > > > > > > because I am not permitted to give out
> > > actual
> > > > > > > hostname and domain. It is attempting to
> > > connect
> > > > > to
> > > > > > > the correct server and host name I just
> > > changed
> > > > > them
> > > > > > > in the email.
> > > > > > >
> > > > > > Oh, ok. Well, couple questions, then:
> > > > > > 1) can you ping that server by name?
> > > > > > 2) can you point your browser to the link
> -
> > > even
> > > > > if you
> > > > > > get a "not allowed", you'll know it's a
> good
> > > link.
> > > > > >
> > > > > > mark
> > > > > > > Thanks
> > > > > > > Steve
> > > > > > >
> > > > > > > > From: m.roth2006 at rcn.com
> > > > > > > > Subject: RE: [Spacewalk-list] register
> > > systems
> > > > > > > > To: spacewalk-list at redhat.com
> > > > > > > > Date: Tue, 17 Feb 2009 11:59:20 -0500
> > > > > > > >
> > > > > > > > Steve,
> > > > > > > >
> > > > > > > > >Date: Tue, 17 Feb 2009 11:44:33 -0500
> > > > > > > > >From: Steve Vargo
> > > <stevevargo at hotmail.com>
> > > > > > > > >
> > > > > > > > > When I attempt to use rhn_register
> It
> > > says:
> > > > > > > > >
> > > > > > > > > We are attempting to contact the Red
> Hat
> > > > > Network
> > > > > > > > > server at
> > > > > https://spacewalk.company.com/XMLRPC.
> > > > > > > > >
> > > > > > > > > Then says:
> > > > > > > > >
> > > > > > > > > We can't contact the Red Hat Network
> > > Server.
> > > > > > > Double
> > > > > > > > > check the location provided - is
> > > > > > > > <snip>
> > > > > > > > Do you actually want to contact them?
> > > Mmmm...
> > > > > > > nslookup, use browser, sitename being
> > > squatted
> > > > > on,
> > > > > > > it looks like. I think that you're meant
> to
> > > > > replace
> > > > > > > spacewalk.company.com with your
> company's
> > > > > spacewalk
> > > > > > > server URL.
> > > > > > > >
> > > > > > > > mark
> > > > > > > >
> > > > > > > >
> > > > >
> _______________________________________________
> > > > > > > > Spacewalk-list mailing list
> > > > > > > > Spacewalk-list at redhat.com
> > > > > > > >
> > > > > > >
> > > > >
> > >
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> > > > > > >
> > > > > > >
> > > ------------------------------------------------
> > > > > > >
> > > > > > > See how Windows Mobile brings your life
> > > > > > > together.at home, work, or on the go.
> See
> > > Now
> > > > > > >________________
> > > > > >
> > > >_______________________________________________
> > > > > > >Spacewalk-list mailing list
> > > > > > >Spacewalk-list at redhat.com
> > > > > >
> > > > >
> > >
> >https://www.redhat.com/mailman/listinfo/spacewalk-list
> > > > > >
> > > > > >
> > > _______________________________________________
> > > > > > Spacewalk-list mailing list
> > > > > > Spacewalk-list at redhat.com
> > > > > >
> > > > >
> > >
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> > > > >
> > > > >
> ------------------------------------------------
> > > > >
> > > > > Get more out of the Web. Learn 10 hidden
> secrets
> > > of
> > > > > Windows Live. Learn Now
> > > > >________________
> > > >
> >_______________________________________________
> > > > >Spacewalk-list mailing list
> > > > >Spacewalk-list at redhat.com
> > > >
> > >
> >https://www.redhat.com/mailman/listinfo/spacewalk-list
> > > >
> > > >
> _______________________________________________
> > > > Spacewalk-list mailing list
> > > > Spacewalk-list at redhat.com
> > > >
> > >
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> > >
> > > ------------------------------------------------
> > >
> > > Stay up to date on your PC, the Web, and your
> mobile
> > > phone with Windows Live. See Now
> > >________________
> > >_______________________________________________
> > >Spacewalk-list mailing list
> > >Spacewalk-list at redhat.com
> >
> >https://www.redhat.com/mailman/listinfo/spacewalk-list
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> >
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> ------------------------------------------------
>
> Want to do more with Windows Live? Learn "10
> hidden secrets" from Jamie. Learn Now
>
> ------------------------------------------------
>
> See how Windows Mobile brings your life
> together.at home, work, or on the go. See Now
>________________
>_______________________________________________
>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