Re: missing database???
Bob Van Cleef <[email protected]> Wed, 18 Dec 2002 13:58:37 -0800 (PST)
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
On 18 Dec 2002, Hunter Matthews wrote:
> On Wed, 2002-12-18 at 16:15, Bob Van Cleef wrote:
> >
> > On Wed, 18 Dec 2002, John Berninger wrote:
> >
> > > That number is a 'version' number (formed through a munge of the date,
> > > obviously) of the database on the server. Did you register the client
> > > in question with RHN preivously?
> >
> > I registered and ran up2date previously. I then added more "stuff" to
> > the current repository.
> >
> > > If so, you'll have to re-register with
> > > your Current server, and may also have to rm -rf /var/spool/up2date/*
> >
> > Is this needed every time you change the contents of your rpm_directory
> > listing? Sounds rather drastic.
>
> No. But, when you added more "stuff", did you restart apache?
Well, I am still in the process of troubleshooting. Short answer, yes.
Give me about one hour and I will respond in more detail.
One problem is lack of clarity in error messages. For example;
vancleef [525] > cadmin create redhat-7.3-i386
error: read failed: Is a directory (21)
Dec 18 13:5419 : EXCEPTION in /usr/share/current/channel.py,
_getHeaderFromFilename(), 592 [logException()]
Traceback (innermost last):
File "/usr/share/current/channel.py", line 589, in
_getHeaderFromFilename
(header, isSource) = rpm.headerFromPackage(fd)
rpm.error: error reading package
error: read failed: Is a directory (21)
Dec 18 13:5419 : EXCEPTION in /usr/share/current/channel.py,
_getHeaderFromFilename(), 592 [logException()]
Traceback (innermost last):
File "/usr/share/current/channel.py", line 589, in
_getHeaderFromFilename
(header, isSource) = rpm.headerFromPackage(fd)
rpm.error: error reading package
I'm really not sure what "Is a directory" ... That is what
I am tracking down, among other errors.
Bob
>
> Right now the "database" that current uses is file based, and rather
> stupid - you have to restart apache any time you change it.
>
>
> >
> > Bob
> >
> > >
> > > On Wed, 18 Dec 2002, Bob Van Cleef wrote:
> > >
> > > >
> > > > Hmmm.... still mucking with my first Current installation.
> > > >
> > > > I run cadmin create, update, checkdb, etc... Everything appears to work.
> > > > I then run up2date (all on a rh7.3 system) current v1.4.2
> > > >
> > > > I get the error:
> > > > 404: "Not Found" while attempting to get
> > > > $RHN/redhat-7.3-i386/listPackages/20021217143304
> > > >
> > > > current/www/redhat-7.3-i386
> > > > vancleef [551] > ls listPackages/
> > > > 20021002094657 20021002125816 20021002150427 20021121122901
> > > > 20021002125047 20021002145852 20021120105204
> > > >
> > > > Yeap... no 20021217143304
> > > >
> > > > Where is that number coming from?
> > > >
> > > > Bob
> > > >
> > > > _______________________________________________
> > > > Current-server mailing list
> > > > [email protected]
> > > > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> > >
> > >
> >
> > --
> > ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><>
> > Bob Van Cleef, System Administrator (408) 734-8100 x271
> > MicroUnity, Inc. FAX (408) 734-8136
> > 376 Martin Ave., Santa Clara, CA 95050 [email protected]
> >
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> >
> >
>
--
><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><>
Bob Van Cleef, System Administrator (408) 734-8100 x271
MicroUnity, Inc. FAX (408) 734-8136
376 Martin Ave., Santa Clara, CA 95050 [email protected]