From: "bulent acikgoz" <[EMAIL PROTECTED]> > Hi Will, > I tried your advice
What advice? The output below looks like you may have actually cleared everthing from your /etc/sysconfig/rhn/up2date or something like that? I was just suggesting that Doza look into this as one possible cause of problems. If you've actually zapped /etc/sysconfig/rhn/up2date then you probably need to run... # up2date --configure and fill in the appropriate settings to regenerate the settings in the file rather than copy someone else's. I have included a modified copy of one from one of my machines but you'd be best off doing what I suggested above then try up2date. If it's still giving you trouble, sync your clock, try again and post any errors to the list. > , I took this output, > root@bulent root]# up2date -u > Traceback (most recent call last): > File "/usr/sbin/up2date", line 20, in ? > from up2date_client import rpcServer > File "/usr/share/rhn/up2date_client/rpcServer.py", line 10, in ? > import up2dateAuth > File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 6, in ? > import rpmSource > File "/usr/share/rhn/up2date_client/rpmSource.py", line 116, in ? > psc = PackageSourceConfig() > File "/usr/share/rhn/up2date_client/rpmSource.py", line 76, in > __init__ > self.serverSettings = ServerSettings() > File "/usr/share/rhn/up2date_client/rpmSource.py", line 54, in > __init__ > if cfg["enableProxy"] and up2dateUtils.getProxySetting(): > File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 124, in > getProxySetting > if proxyHost[:7] == "http://": > TypeError: unsubscriptable object > [root@bulent root]# > > can you send me sample file /etc/sysconfig/rhn/up2date? > thank you......... > # Automatically generated Red Hat Update Agent config file, do not edit. # Format: 1.0 storageDir[comment]=Where to store packages and other data when they are retrieved storageDir=/var/spool/up2date networkSetup[comment]=None networkSetup=1 headerCacheSize[comment]=The maximum number of rpm headers to cache in ram headerCacheSize=40 httpProxy[comment]=HTTP proxy in host:port format, e.g. squid.redhat.com:3128 httpProxy=X.X.X.X debug[comment]=Whether or not debugging is enabled debug=0 useGPG[comment]=Use GPG to verify package integrity useGPG=1 networkRetries[comment]=Number of attempts to make at network connections before giving up networkRetries=5 removeSkipList[comment]=A list of package names, optionally including wildcards that up2date will not remove removeSkipList=kernel*; retrieveOnly[comment]=Retrieve packages only retrieveOnly=0 enableProxy[comment]=Use a HTTP Proxy enableProxy=0 keepAfterInstall[comment]=Keep packages on disk after installation keepAfterInstall=0 proxyPassword[comment]=The password to use for an authenticated proxy proxyPassword=yourpass gpgKeyRing[comment]=The location of the gpg keyring to use for package checking. gpgKeyRing=/etc/sysconfig/rhn/up2date-keyring.gpg proxyUser[comment]=The username for an authenticated proxy proxyUser=youruser headerFetchCount[comment]=The maximimum number of rpm headers to fetch at once headerFetchCount=10 versionOverride[comment]=Override the automatically determined system version versionOverride= enableProxyAuth[comment]=To use an authenticated proxy or not enableProxyAuth=1 noSSLServerURL[comment]=Remote server URL without SSL noSSLServerURL=http://www.rhns.redhat.com/XMLRPC noReplaceConfig[comment]=When selected, no packages that would change configuration data are automatically installed noReplaceConfig=1 sslCACert[comment]=The CA cert used to verify the ssl server sslCACert=/usr/share/rhn/RHNS-CA-CERT noBootLoader[comment]=To disable modification of the boot loader (lilo, silo, etc) noBootLoader=0 systemIdPath[comment]=Location of system id systemIdPath=/etc/sysconfig/rhn/systemid serverURL[comment]=Remote server URL serverURL=https://www.rhns.redhat.com/XMLRPC pkgSkipList[comment]=A list of package names, optionally including wildcards, to skip pkgSkipList=kernel*; adminAddress[comment]=List of e-mail addresses for update agent to communicate with when run in batch mode adminAddress=root@localhost; forceInstall[comment]=Force package installation, ignoring package, file and config file skip list forceInstall=0 fileSkipList[comment]=A list of file names, optionally including wildcards, to skip fileSkipList=; retrieveSource[comment]=Retrieve source RPM along with binary package retrieveSource=0 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
