Re: Quick about Current

John Berninger <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <[email protected]>
The up2date config file looks correct.  If possible, could you add a
few lines to /usr/share/current/standalone.py at line 123 (inside the if
len(list) != 8: block) that say:

        log("list results:" , DEBUG)
        log("length: %s" % str(len(list)), DEBUG)
        for item in list:
                log("list item: %s" % str(item), DEBUG)

then restart your server, attempt the update, and re-send the log
entries from the new attempt?

On Thu, 14 Feb 2002, James Nolie Hughes wrote:

> 
> >From Hunter
> > Send you up2date config file to the list. It looks like port skew
> > 
>   Just as a question, if the ports were skewed, then how could the
> rhn_register succeed?  
> 
> Here's the /etc/sysconfig/rhn/up2date on the client.
> 
> <start config file
> 
> 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=
> 
> debug[comment]=Whether or not debugging is enabled
> debug=1
> 
> 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=1
> 
> keepAfterInstall[comment]=Keep packages on disk after installation
> keepAfterInstall=1
> 
> enableProxy[comment]=Use a HTTP Proxy
> enableProxy=0
> 
> proxyUser[comment]=The username for an authenticated proxy
> proxyUser=
> 
> proxyPassword[comment]=The password to use for an authenticated proxy
> proxyPassword=
> headerFetchCount[comment]=The maximimum number of rpm headers to fetch at
> once
> headerFetchCount=10
> 
> versionOverride[comment]=Override the automatically determined system
> version
> versionOverride=
> 
> useNoSSLForPackages[comment]=Use the noSSLServerURL for package, package
> list, and header fetching
> useNoSSLForPackages=0
> 
> enableProxyAuth[comment]=To use an authenticated proxy or not
> enableProxyAuth=0
> 
> noSSLServerURL[comment]=Remote server URL without SSL
> noSSLServerURL=http://red-dog.cs.utk.edu:8080
> 
> noReplaceConfig[comment]=When selected, no packages that would change
> configuration data are automatically installed
> noReplaceConfig=1
> 
> 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://red-dog.cs.utk.edu:8081
> 
> 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
> 
> <end up2date file
> 
> >From John
> > Not to sound like a broken record, but can you as well increase the
> > logging level of the server, and send the logs and the traceback?
> 
> And the logs from the server.  Logging was set to 2.
> 
> <start log
> 
> Feb 02 11:35:20 Attempting to fork() into the background...
> Feb 02 11:35:20 Sucessfully fork()ed
> Feb 02 11:35:20 Starting up Backend
> Feb 02 11:35:20 Starting Up Server
> Feb 02 11:35:23 Requesting: up2date.login
> Feb 02 11:35:23 Dispatching: up2date.login
> Feb 02 11:35:23 sendClientResult() finished
> Feb 02 11:3523 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3523 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:23 sendClientResult() finished
> Feb 02 11:3524 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3524 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:24 sendClientResult() finished
> Feb 02 11:3525 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3525 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:25 sendClientResult() finished
> Feb 02 11:3526 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3526 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:26 sendClientResult() finished
> Feb 02 11:3528 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3528 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:28 sendClientResult() finished
> Feb 02 11:35:50 Requesting: up2date.login
> Feb 02 11:35:50 Dispatching: up2date.login
> Feb 02 11:35:50 sendClientResult() finished
> Feb 02 11:3550 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3550 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:50 sendClientResult() finished
> Feb 02 11:3551 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3551 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:51 sendClientResult() finished
> Feb 02 11:3552 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3552 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:52 sendClientResult() finished
> Feb 02 11:3553 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3553 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:53 sendClientResult() finished
> Feb 02 11:3554 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 98 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 92, in do_GET
>     tmp = self.parseGetPath(connInfo['path'])
>   File "/usr/share/current/standalone.py", line 123, in parseGetPath
>     raise Exception('Invalid GET path, too few/many elements')
> Exception: Invalid GET path, too few/many elements
> Feb 02 11:3554 : EXCEPTION in /usr/share/current/standalone.py, do_GET(),
> 110 [logException()]
> Traceback (innermost last):
>   File "/usr/share/current/standalone.py", line 103, in do_GET
>     log('Requesting: %s' % method, DEBUG)
> NameError: method
> Feb 02 11:35:54 sendClientResult() finished
> 
> <End of log
> 
> Thanks again,
> 
> James
> 
> > On Thu, 2002-02-14 at 02:30, James Nolie Hughes wrote:
> > > Hi guys,
> > > 
> > >   You guys are quick.  I was working on installing 0.9.4 this morning...
> > > and tonight I found that 0.9.5-1 is out.  
> > > 
> > >   I think I have done everything in the documentation, and I am having a
> > > slight problem.  I have gotten to the point where I can run rhn_register
> > > and it registers through the current server and not through RedHat.  So, I
> > > tried to get the up2date list...
> > > 
> > >   [root@client rhn]# up2date -l
> > >   Retrieving list of all available packages...
> > >   There was a fatal error communicating with the server.  The message was:
> > >   400: "Error while makeing xmlrpc call" while attempting to get
> > >   $RHN/redhat-i386-7.2/listPackages/20020214014704
> > > 
> > >   And up2date --showall gives more involved traceback. 
> > > 
> > >   Currently, I have 0.9.5 installed, but this morning, I was getting the 
> > > same error with 0.9.4.  
> > > 
> > >   Ok, now for the info about the install.  Both times, I grabbed the
> > > src.rpm's.  I installed 'em, and then went to the spec file and did rpm
> > > -bb specfile, and install the rpm that it made.  I editted
> > > /etc/current.conf with the relevant parts being....
> > > 
> > > 
> > > [current]
> > > valid_channels = redhat-i386-7.2
> > > #log_file = ./current.log
> > > #pid_file = ./current.pid
> > > log_level = 2
> > > http_port = 8080
> > > https_port = 8081
> > > key_file = ./current.pem
> > > 
> > > [redhat72]
> > > label = redhat-i386-7.2
> > > name = Redhat 7.2
> > > parent_channel =
> > > arch = i386
> > > os_release = 7.2
> > > description = Redhat 7.2
> > > rpm_dirs = /mnt/current/7.2/RedHat/RPMS
> > > xrpm_dirs =
> > > src_dirs = /mnt/src
> > > db_dir = /etc/current/db_current
> > > 
> > > Ah... ran cadmin -v create redhat-i386-7.2.  Created the
> > > create_certificate script, and distributed the certificate.  Started up
> > > the server, and then rhn_register'ed on the clients... Also, changed the
> > > up2date and rhn_register conf files on the clients.  
> > > 
> > > Thanks in advance,
> > > 
> > > James
> > > 
> > > _______________________________________________
> > > Current-server mailing list
> > > [email protected]
> > > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> > > 
> > > 
> > -- 
> > Hunter Matthews                          Unix / Network Administrator
> > Office: BioScience 145/244               Duke Univ. Biology Department
> > Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
> > Never take candy from strangers. Especially on the internet.
> > 
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> > 
> 
> 
> _______________________________________________
> 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.