Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [UPDATE] RE: up2date Fetch loop

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: [UPDATE] RE: up2date Fetch loop

Reply

Author hunterm
Full name Hunter Matthews
Date 2003-08-12 15:50:28 PDT
Message Thanks for the log file snippet (I'll study it way more later) but the
only time I've seen the client do that was with a bogus mod_python.

What does rpm -q mod_python say?


On Tue, 2003-08-12 at 18:08, Dallas L. Engelken wrote:
> I'm actually seeing the error in the log now that i have the log level
> set better. i tested that sql query where it says operational error,
> and it tested ok...
>
> current=> select name, label, arch, description,
> current-> lastupdate from channel
> current-> where arch = 'i386'
> current-> and osrelease = '7.3'
> current-> ;
> name | label | arch | description |
> lastupdate
> -------------+------​------+------+------​--------------------​-+----------
> ------
> Red Hat 7.3 | redhat-7.3 | i386 | Red Hat Linux version 7.3 |
> 20030812215240
> (1 row)
>
>
> [start log snip]
> --------------------​--------------------​-------------------
> Aug 12 16:59:40 Requesting: up2date.login
> Aug 12 16:59:40 with params = [snip]
> Aug 12 16:59:40 method = up2date.login
> Aug 12 16:59:40 module = up2date
> Aug 12 16:59:40 function = login
> Aug 12 16:59:40 (/usr/share/current/​current_apache.py, callAPIMethod(),
> 286): params = [snip]
> Aug 12 16:59:40 Dispatching: up2date.login
> Aug 12 16:59:40 /usr/share/current/a​pi/up2date.py:login(​{'sysid_string':
> '<sysid_string not logged>'})
> Aug 12 16:59:40 /usr/share/current/a​rchtab.py:getCannonA​rch({'arch':
> 'i686'})
> Aug 12 16:59:40 arch: i386, rel: 7.3
> Aug 12 16:59:40 ERROR: Recognized function up2date.login blew up with
> undefined error
> Aug 12 16:5940 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
> callAPIMethod(), 305 [logException()]
> Traceback (most recent call last):
> File "/usr/share/current/​current_apache.py", line 291, in
> callAPIMethod
> result = apply(func, params)
> File "/usr/share/current/​api/up2date.py", line 51, in login
> si.getattr('os_release'))
> File "/usr/share/current/​db/postgres/postgres​.py", line 684, in
> getCompatibleChannels
> self.cursor.execute("""select name, label, arch, description,
> File "/usr/lib/python2.2/​site-packages/pgdb.p​y", line 189, in execute
> self.executemany(operation, (params,))
> File "/usr/lib/python2.2/​site-packages/pgdb.p​y", line 210, in
> executemany
> raise OperationalError, "internal error in '%s'" % sql
> OperationalError: internal error in 'select name, label, arch,
> description,
> lastupdate from channel
> where arch = 'i386'
> and osrelease = '7.3''
> Aug 12 16:59:40 exception said: internal error in 'select name, label,
> arch, description,
> lastupdate from channel
> where arch = 'i386'
> and osrelease = '7.3''
> Aug 12 16:59:40 params were: [snip]
> Aug 12 16:59:40 Result is a Fault
> Aug 12 16:59:40 (/usr/share/current/​current_apache.py,
> sendClientResult(), 239): Data sent.
> Aug 12 16:59:40 sendClientResult() finished
> --------------------​--------------------​-------------------
> [end log snip]
>
>
>
> > -----Original Message-----
> > From: Dallas L. Engelken
> > Sent: Tuesday, August 12, 2003 4:02 PM
> > To: 'users at current dot tigris dot org'
> > Subject: up2date Fetch loop
> >
> >
> > [root@mailgw tmp]# up2date -l
> >
> > Fetching package list for channel: rhl7.3...
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > ####################​####################​
> > etc..
> >
> > over and over it goes.
> >
> >
> > Server is fully up to date, running
> >
> > [root@rhn-1 rhn]# rpm -q current
> > current-1.5.5rc1-1.8x
> >
> > [root@rhn-1 rhn]# cat /etc/redhat-release
> > Red Hat Linux release 8.0 (Psyche)
> >
> > I have tried clients of 7.3 and 8.0, which i have valid
> > channels for...
> >
> > current=> select * from channel;
> > channel_id | parentchannel_id | name | label | arch
> > | osrelease | description | lastupdate
> > ------------+-------​-----------+--------​-----+--------+-----​-+
> > -----------+--------​-------------------+​----------------
> > 2 | | Red Hat 8.0 | rhl8.0 | i386
> > | 8.0 | Red Hat Linux version 8.0 | 20030812201646
> > 1 | | Red Hat 7.3 | rhl7.3 | i386
> > | 7.3 | Red Hat Linux version 7.3 | 20030812205012
> >
> > and i have ran cadmin scan_channel for both, my
> > current.httpd.conf exists and is intercepting the XMLRPC calls.
> >
> > [current@rhn-1 rhn]$ ls -la /export/current/www/
> > total 16
> > drwxr-xr-x 4 apache root 4096 Aug 12 15:08 .
> > drwxr-xr-x 3 apache root 4096 Aug 12 14:48 ..
> > drwxr-xr-x 7 apache apache 4096 Aug 12 15:05 rhl7.3
> > drwxr-xr-x 7 apache apache 4096 Aug 12 15:08 rhl8.0
> >
> > /var/log/httpd/current.log seems to think everything went great.
> >
> > Aug 12 16:01:04 Dispatching: up2date.login
> > Aug 12 16:01:04
> > /usr/share/current/a​pi/up2date.py:login(​{'sysid_string':
> > '<sysid_string not logged>'}) Aug 12 16:01:04
> > /usr/share/current/a​rchtab.py:getCannonA​rch({'arch': 'i686'})
> > Aug 12 16:01:04 arch: i386, rel: 7.3 Aug 12 16:01:04 found:
> > [['Red Hat 7.3', 'rhl7.3', 'i386', 'Red Hat Linux version
> > 7.3', '20030812205012']] Aug 12 16:01:04 Result is normal
> > data: turn it into an XML chunk Aug 12 16:01:04
> > (/usr/share/current/​current_apache.py, sendClientResult(),
> > 239): Data sent. Aug 12 16:01:04 sendClientResult() finished
> >
> >
> > any ideas?????????????
> > d
> >
> >
> >
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
--
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.


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
For additional commands, e-mail: users-help at current dot tigris dot org

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

[UPDATE] RE: up2date Fetch loop dallase Dallas Engelken 2003-08-12 15:08:25 PDT
     Re: [UPDATE] RE: up2date Fetch loop hunterm Hunter Matthews 2003-08-12 15:50:28 PDT
Messages per page: