ovdb_init − Prepare ovdb database for use


ovdb_init ["−u"|"−r"]


This command must be run before any other process can access the overview database. It performs the following steps:


Creates the database environment, if necessary


If the database is idle (and if the "−u" option is not specified), it performs a normal recovery. The recovery will remove stale locks, recreate the memory pool cache, and repair any damage caused by a system crash or improper shutdown.


If the "−u" option is specified, it performs any necessary upgrades to the database. See the UPGRADING section below.


Starts the DB housekeeping processes (ovdb_monitor) if they’re not already running. (Unless the "−r" option is specified).


Starts the ovdb readserver (ovdb_server) processes if readserver in ovdb.conf is true, and if they are not already running. (Unless the "−r" option is specified).

Returns exit status of 0 if all steps were completed successfully. In the event of an error, messages are written to syslog and/or stderr.

If a recovery was attempted but it failed, the database may be damaged beyond repair, requiring a rebuild with makehistory(8).

This command is normally invoked automatically by rc.news(8).

It is OK to run this command multiple times.



Perform recovery only. "ovdb_monitor" is not started.


Perform any needed upgrades. Recovery is not attempted. "ovdb_monitor" is started if the upgrade succeeded.


There are two situations in which the database will need to be upgraded:

You upgrade the Berkeley  DB library to a newer version, for example from 2.7.7 to 3.1.17. In this case, the Berkeley  DB db−>upgrade() method is used.

You upgrade ovdb to a newer major version; i.e., ovdb−1.0 to ovdb−2.0.

In both of these cases, the database is upgraded in-place; and the upgrade can not be undone. Do not interrupt the upgrade process once it has started, because there is a risk of irrepairable corruption. The upgrade may take several minutes to complete. If an upgrade does get interrupted, try running the upgrade again.

Here’s an example procedure to upgrade a database created with Berkeley  DB  2.7.7 to use Berkeley  DB  3.1.17:


Build and install the Berkeley  DB  3.1.17;


Run configure in the INN source tree and make sure it picks up the right Berkeley  DB directory (e.g., /usr/local/BerkeleyDB.3.1);


Do a "make";


Shut down INN (e.g., with "rc.news stop") and be sure to kill all instances of nnrpd as well;


Do a "make update" to install the new binaries;


Run "ovdb_init −u" as the news user;


Start INN with "rc.news".

It is OK to specify "−u" even if no upgrades are needed.


Written by Heath Kehoe <hakehoe@avalon.net> for InterNetNews.

$Id: ovdb_init.pod 7851 2008−05−26 19:33:08Z iulius $


ovdb(5), makehistory(8)

More Linux Commands

aa_change_profile(2) change a tasks profile - Linux man page
aa_change_profile.2 - An AppArmor profile applies to an executable program; if a portion of the program needs different access permissions than other portions,

pnmnoraw(1) - replaced by pnmtoplainpnm - Linux manual page
This program is part of Netpbm(1) pnmnoraw was replaced in Netpbm 8.2 (March 2000) by pnmtoplainpnm(1) , which was obsoleted by pnmtopnm in Netpbm 10.23 (July 2

clog2l(3) - base-2 logarithm of a complex number (Man Page)
The call clog2(z) is equivalent to clog(z)/log(2). The other functions perform the same task for float and long double. Note that z close to zero will cause an

iptables(8) - administration tool for IPv4 packet filtering
Iptables and ip6tables are used to set up, maintain, and inspect the tables of IPv4 and IPv6 packet filter rules in the Linux kernel. Several different tables m

gnutls_x509_crt_get_subject_alt_name2(3) - API function.....
This function will return the alternative names, contained in the given certificate. It is the same as gnutls_x509_crt_get_subject_alt_name() except for the fac

simpleftp(1) - Rudimentary FTP client - Linux manual page...
simpleftp is a Perl script that provides basic support for fetching files with FTP in a batch oriented fashion. It takes one or more FTP URLs on the command lin

glDrawBuffer(3gl) - specify which color buffers are to be dr
When colors are written to the frame buffer, they are written into the color buffers specified by glDrawBuffer. The specifications are as follows: GL_NONE No co

scrollok(3ncurses) - curses output options - Linux man page
These routines set options that change the style of output within curses. All options are initially FALSE, unless otherwise stated. It is not necessary to turn

munchlist(1) - Interactive spelling checking (Man Page).....
Ispell is fashioned after the spell program from ITS (called ispell on Twenex systems.) The most common usage is ispell filename. In this case, ispell will disp

gnutls_x509_crl_sign(3) - API function - Linux manual page
This function is the same a gnutls_x509_crl_sign2() with no flags, and SHA1 as the hash algorithm. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwi

isosize(8) - output the length of an iso9660 filesystem.....
This command outputs the length of an iso9660 filesystem that is contained in the specified file. This file may be a normal file or a block device (e.g. /dev/hd

XvSelectPortNotify(3) - enable or disable XvPortNotify event
XvSelectPortNotify(3) enables or disables PortNotify event delivery to the requesting client. XvPortNotify(3) events are generated when port attributes are chan

We can't live, work or learn in freedom unless the software we use is free.