[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: submission/search problems on demo site
- From: Tibor Simko <tibor.simko@xxxxxxx>
- Subject: Re: submission/search problems on demo site
- Date: Tue, 19 Jul 2005 19:50:53 +0200
Hello
On Tue, 19 Jul 2005, Stuart L. Marshall wrote:
> I can submit documents on my demo site but they never show up
> in the search/browse functions. That is, the files are in the
> system, bibsched is running {webcoll, etc.} but the system reports
> "This collection does not contain any document yet." when I browse
> the collection to which the document was posted.
Which CDSware version are you using? Note that v0.7.1 contains an
important bugfix for bibconvert v0.7.0, see:
http://cdsware.cern.ch/news/
If you are using v0.7.1, then what does the following URL print?
http://xxxxx.stanford.edu/cds/search.py?recid=2&of=hm
Do you see some metadata or only a line like:
000000001 001__ 2
Such a line would suggest that the record was not integrated into the
database at all, only that its record ID has been ``reserved'' by the
WebSubmit.
After you submit a document and see the ``Submission Complete!!''
message, the system processes your input data quite as Mike said in a
previous email. WebSubmit doesn't upload anything by itself, it only
creates an XML MARC file based on submission's configuration and on
your input data, and then invokes a BibUpload task to upload it. Can
you check whether this BibUpload task did run okay? You can browse
through your old tasks in the bibsched admin, or by launching a
command like:
$ echo "SELECT id,proc,runtime,status,progress FROM schTASK where proc='bibupload';" | /prefix/bin/dbexec
For every interesting task ID, you can look in your log directory for
corresponding log files, like:
$ cat /prefix/var/log/bibsched_task_1234.{log,err}
to see whether those bibupload tasks finished successfully or not.
What the log files say? We can offer more debugging help after we
know. Anyway, if you want to investigate further, you may also look
at your intermediate submission files in tmp and data places; look for
files named like:
$ cat /prefix/var/tmp/TEST-ARTICLE-2005-002_2005-07-19_19:28:57
$ tar tvfz /prefix/var/data/submit/storage/done/running/TEXT/TEST-ARTICLE-2005-002_20050719192858.tar.gz
to see what was prepared by the WebSubmit for the final BibUpload.
Are the files okay?
Last but not least, when you first installed CDSware, have you done
``make load-demo-records'' and everything worked as it should, even
submission? Can Apache user write into dirs mentioned above in order
to create all these temporary files? Can the bibsched user read them
in order to upload them? Etc.
I hope that this gives you some ideas as to what to look for. Please
don't hesitate to come back if it doesn't help.
Tibor
|