Re: can't get rhn_register (and therefore clients) working

John Berninger <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
Ryan -

        First, check to see if the time is synchronized between the
client and server systems.  Second, cut the networkRetries down to 1 in
/etc/sysconfig/rhn/up2date (client side). Third, please add the contents 
of the log file on the server (/var/log/current.log) to what you've 
dropped on to the web; if possible, clear it out, bump up the debugging 
level and cut the retries to 1, and restart the server, then run  
rhn_register on the client and post the log file.

        You also need to ensure that the RHNS_CA_CERT file in
/etc/current on the server is the same as the RHNS_CA_CERT file in 
/usr/share/rhn on the client; if nothing else, try copying this file
over again.

On Wed, 24 Apr 2002, Ryan Speed wrote:

> I recently setup current on a development machine at work and got it running after a few minor problems (all to do with RHNS-CA-CERT).  I setup a few up2date clients to use my server and everything worked and continues to work no problem.
> 
> I figured it was time to slowly roll this out into production, and spent the better half of yesterday trying to get it to work.  I installed current exactly the way that I did on my development machine, built a brand new redhat 7.2 machine, configured it to use my new current server, attempted to run rhn_register and ran into problems.
> 
> I get the following error 5 times and see 0 activity in the current logfile.
> 
> A socket error occured: SSL_connect error, attempt #1-5
> 
> I have attempted everything from matching permissions exactly with my working current server, generating a new certificate, completely re-installing current from scratch.  I have created the following in hopes that someone can help me figure this one out.
> 
> 
> Directory listing on the client/server of RHNS-CA-CERT
> http://speedo.ca/current/certs.txt
> 
> My current.conf file
> http://speedo.ca/current/current.conf
> 
> the output of netstat -nlp on the server
> http://speedo.ca/current/netstat.txt
> 
> the output of ps -ewxf on the server
> http://speedo.ca/current/ps.txt
> 
> the rhn_register config file from my client
> http://speedo.ca/current/rhn_register.cfg
> 
> the output of strace rhn_register from my client (hopefully this can be of a little use)
> http://speedo.ca/current/strace.txt
> 
> the output of a tcpdump on the server (you can see traffic on port 8081)
> http://speedo.ca/current/tcpdump.txt
> 
> a list of the relevant packages on the server
> http://speedo.ca/current/servpkg.txt
> 
> a directory listing of the package database on the server
> http://speedo.ca/current/pkgdb.txt
> 
> If there's any other information that may be needed to figure this one out, let me know, I hope I have provided enough.
> 
> Thanks in advance,
> Ryan
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server

-- 
Thank you,
John Berninger

Systems Administrator		[email protected]
Department of Mathematics	Box 8205, Harrelson Hall
NC State University		Raleigh, NC 27695
Phone:  (919)515-6315		Fax:	(919)515-3798

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22  66AE 822D 42A8 A8C1 D45C
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.