Hi,
I get this error message "main database is too old or corrupt" after
updating from 0.9.5.
My original build didn't quite follow the approved pattern but worked:
113 >more RefDB/My_Notes.txt
"I built RefDB using the FreeBSD port of RefDB then added, from
sourceforge, the RefDB-Client module (by mistake) and then the
RefDB-perlmod module to translate PubMed references into RefDB style.
None of these contained the Text-Iconv-1.4 module which is necessary for
perlmod to function so I added that last from the meta-starter kit which
wasn't the order suggested in the meta-starter kit but it seems to work
anyway."
RefDB is installed on my machine and I'm the sole user.
Having read some previous posts I collected the following info-
refdbd -s -e 0 -l 7
pkg_info | grep sql
ll /usr/local/share/refdb/db/
refdb-bug
Any suggestions?
Bruce Hayward
mme-pc2132# refdbd -s -e 0 -l 7
dbi_driver_dir went to:
dbi is up using default driver dir
Available libdbi database drivers:
mysql
pgsql
sqlite
sqlite3
Requested libdbi driver found
Database directory:
/usr/local/share/refdb/db
application server started
share extended notes by default
use /tmp/refdbd_fifo9639 as fifo
server waiting n_max_fd=4
adding client 127.0.0.1 on fd 5
server waiting n_max_fd=5
parent removing client on fd 5
server waiting n_max_fd=4
try to read from client
serving client on fd 5 with protocol version 4
210-02-30-68
send pseudo-random string to client
viewstat -u medbha
dbi is up
localhost
medbha
sqlite
/usr/local/share/refdb/db
refdb
connected to database server using database:
refdb
main database is too old or corrupt
child finished client on fd 5
child exited with code 1
server waiting n_max_fd=4
109 >pkg_info | grep sql
mysql-client-4.1.15 Multithreaded SQL database (client)
postgresql-client-7.4.9 PostgreSQL database (client)
sqlite-2.8.17 An SQL database engine in a C library w/ Tcl wrapper
sqlite-3.2.8 An SQL database engine in a C library w/ Tcl wrapper
111 >ll /usr/local/share/refdb/db/
total 2516
-rw-r--r-- 1 root wheel 40K Aug 10 16:22 refdb
-rw-r--r-- 1 root wheel 2.2M Jan 24 09:44 refs
-rw-r--r-- 1 root wheel 171K Aug 23 15:02 test
And the refdb-bug output is:
FreeBSD mme-pc2132.leeds.ac.uk 5.4-STABLE FreeBSD 5.4-STABLE #1: Tue Aug
23 09:34:
31 BST 2005 medbha@xxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/BRUCE
i386
RefDB binaries and scripts in the path:
/usr/local/bin/refdbd
/usr/local/bin/refdba
/usr/local/bin/refdbc
/usr/local/bin/refdbib
/usr/local/bin/nmed2ris
/usr/local/bin/bib2ris
and their version numbers:
refdbd 0.9.6
refdba 0.9.6
refdbc 0.9.6
refdbib 0.9.6
nmed2ris 0.9.6
nmed2ris is
bib2ris 0.9.6
DSSSL engines in the path:
and their version numbers:
$REFDBLIB is /usr/local/share/refdb
global refdbd config file:
refdblib /usr/local/share/refdb
serverip localhost
dbsport
dbserver sqlite
dbpath /usr/local/share/refdb/db
port 9734
logfile /var/log/refdbd.log
logdest file
loglevel info
pidfile /var/run/refdbd.pid
remoteadmin f
remoteconnect f
keep_pnames t
keyword_scan t
db_encoding UNICODE
in_encoding ISO-8859-1
global refdba config file:
serverip 127.0.0.1
port 9734
pager less
passwd <protected>
logdest file
loglevel info
logfile /var/log/refdba.log
global refdbc config file:
serverip 127.0.0.1
port 9734
pager less
passwd <protected>
logdest file
loglevel info
logfile /var/log/refdbc.log
cssurl /usr/local/share/refdb/css/refdb.css
fromencoding ISO-8859-1
global refdbc config file (cgi):
refdblib /usr/local/share/refdb
serverip 127.0.0.1
port 9734
logfile /var/log/refdbcgi.log
logdest file
loglevel info
autokill 1800
global refdbib config file:
refdblib /usr/local/share/refdb
serverip 127.0.0.1
port 9734
pager less
passwd <protected>
outtype db31
logfile /var/log/refdbib.log
logdest file
loglevel info
stylespecdir .
ignore_missing f
global nmed2ris config file:
medsource PUBMED
outappend t
ignoretag t
logfile /var/log/nmed2ris.log
logdest file
loglevel info
global bib2ris config file:
refdblib /usr/local/share/refdb
logfile /var/log/bib2ris.log
logdest file
loglevel info
abbrevfirst t
forcejabbrev t
listsep ;
$HOME is /home/medbha
user refdba config file:
user refdba config file (hidden):
user refdbc config file:
user refdbc config file (hidden):
user refdbib config file:
user refdbib config file (hidden):
user nmed2ris config file:
user nmed2ris config file (hidden):
user bib2ris config file:
user bib2ris config file (hidden):
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
|