Re: upgrading the main database
David Nebauer <[email protected]> Fri, 29 Sep 2006 07:21:50 +0930
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Markus, > refdbd will display some messages and exit. Similarly, to upgrade an > existing main database, run something like this: > > refdbd -a -D sqlite3 -e 0 -l 7 -i /path/to/db refdbd is now failing unless a username is supplied. Here is the feedback if there is no username: --------------------------------------------------------------------------------------- # refdbd -a -D sqlite -e 0 -l 7 -i /var/lib/refdb/db/refdb incorrect username # refdbctl start incorrect username /usr/bin/refdbctl start: bibliography tool application server could not be started / # --------------------------------------------------------------------------------------- refdbd has not previously required a username when running an sqlite backend. When a spurious username is supplied it attempts to run but still fails: --------------------------------------------------------------------------------------- # refdbd -a -D sqlite -u spurious -e 0 -l 7 -i /var/lib/refdb/db/refdb dbi_driver_dir went to: dbi is up using default driver dir Available libdbi database drivers: sqlite3 mysql pgsql sqlite Requested libdbi driver found Database directory: /var/lib/refdb/db/refdb check main database version localhost david sqlite /var/lib/refdb/db/refdb UTF-8 refdb failed to connect to database server using database: refdb libdbi could not establish a connection could not open main database Can't access or create SQLite database maintenance of main database failed # --------------------------------------------------------------------------------------- The database location is correct. Regards, David. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV