RE rhn_register protocol error

Guillaume-externe DELACOUR <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Message-ID <OF8C8F07F6.CDA78338-ONC125751D.002A29F5-C125751D.002A38DA@notes.edfgdf.fr>
This was a network filtering problem.

Solved on my side !




Guillaume-externe DELACOUR/E/EDFGDF/FR 
05/12/2008 15:16

A
[email protected]
cc

Objet
rhn_register protocol error





Hello,

I have a problem to register my 5.2 system. When i launch rhn_register 
(with -v argument), i have the following message (/var/log/up2date 
indicates same errors):

[Fri Dec  5 13:26:50 2008] rhn_register A protocol error occurred: 
Forbidden , attempt #1,
[Fri Dec  5 13:26:55 2008] rhn_register A protocol error occurred: 
Forbidden , attempt #2,
[Fri Dec  5 13:27:00 2008] rhn_register A protocol error occurred: 
Forbidden , attempt #3,
[Fri Dec  5 13:27:05 2008] rhn_register A protocol error occurred: 
Forbidden , attempt #4,
[Fri Dec  5 13:27:10 2008] rhn_register A protocol error occurred: 
Forbidden , attempt #5,

and the register first step don't work.

The message was reported by exception "except rpclib.ProtocolError, e:" in 
/usr/share/rhn/up2date_client/rpcServer.py file:
# grep "protocol error occurred" *
rpcServer.py:            log.log_me("A protocol error occurred: %s , 
attempt #%s," % (


There is an auth proxy on my network and the rhn tools are configured like 
this (/etc/sysconfig/rhn/up2date):

############################################
# Automatically generated Red Hat Update Agent config file, do not edit.
# Format: 1.0
versionOverride[comment]=Override the automatically determined system 
version
versionOverride=

enableProxyAuth[comment]=To use an authenticated proxy or not
enableProxyAuth=1

networkRetries[comment]=Number of attempts to make at network connections 
before giving up
networkRetries=5

enableProxy[comment]=Use a HTTP Proxy
enableProxy=1

serverURL[comment]=Remote server URL
serverURL=https://xmlrpc.rhn.redhat.com/XMLRPC

proxyPassword[comment]=The password to use for an authenticated proxy
proxyPassword=xxxxxx

noSSLServerURL[comment]=None
noSSLServerURL=http://xmlrpc.rhn.redhat.com/XMLRPC

proxyUser[comment]=The username for an authenticated proxy
proxyUser=xxxxxxxx

disallowConfChanges[comment]=Config options that can not be overwritten by 
a config update action
disallowConfChanges=noReboot;sslCACert;useNoSSLForPackages;noSSLServerURL;serverURL;disallowConfChanges;

sslCACert[comment]=The CA cert used to verify the ssl server
sslCACert=/usr/share/rhn/RHNS-CA-CERT

debug[comment]=Whether or not debugging is enabled
debug=1

httpProxy[comment]=HTTP proxy in host:port format, e.g. 
squid.redhat.com:3128
httpProxy=myproxyaddress:3128

systemIdPath[comment]=Location of system id
systemIdPath=/etc/sysconfig/rhn/systemid

noReboot[comment]=Disable the reboot actions
noReboot=0
############################################

I see at the top of this file that it is automaticly generated but by 
which command ?
Maybe this is a firewall problem on my side ?
Parallely, i'm trying to connect to remote server 
https://xmlrpc.rhn.redhat.com/XMLRPC via wget and proxy option.

I don't have command up2date on don't find it in any packages that i have 
(5.2 DVD) mentionned on RedHat Network documentation (maybe i don't read 
the correct).

Thanks in advance.


System informations:
# rhn_register --version
rhn_register (Red Hat Network Client Tools) 0.4.17-8.el5

# cat /proc/version
Linux version 2.6.18-92.1.18.el5 ([email protected]) 
(gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Wed Nov 5 09:00:19 
EST 2008

# more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

_______________________________________________
rhn-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhn-users
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.