Type in:
There are a number of sites that are repositories for the latest version of perl, which include GNU mirror sites. http://www.perl.com and https://www.gnu.org/software/perl/perl.html to name a few.
Type in:
If an error is returned, the time modules need to be installed. The time modules, Time-modules-96.061301.tar, are available from the above mentioned sites and the DBNet ftp site. This step may require root access.
The convention is that the account name should indicate the machine where DBNet is being installed. For example, if the machine is called spock, the account name would be dbnspock. Any Unix shell should work; we have been using csh. This step may require root access.
For example, if DBNet home is /usr/home/dbnspock:
Type in:
The reason for this symlink is to provide a simple method of indicating the location of DBNet to an RPC program called InterFace Server - Paranoid mode (IFSP). This program can be run from the command line or from inetd and uses an environment variable called DBNROOT to locate the $DBNROOT/table and $DBNROOT/log directories. Setting this environment variable when running IFSP from inetd can be cumbersome, thus, IFSP defaults to /usr/DBNet when DBNROOT is not set. This step may require root access.
The value should be the full path of the DBNet home directory. The DBNROOT environment variable is used by almost all the DBNet components. The purpose of this variable is to allow DBNet to be installed in any directory. The configuration tables and executable programs are located using this variable. Include this setup in .cshrc and .profile or whatever initialization file is used by your shell.
Type in:
Note: the P option may not be supported and/or unnecessary (defaults to maintaining the permissions). Check your local documentation. Three directories will be created as a result of untaring the file: bin, src and table.
Where
Type in:
There are some DBNet programs that do not exit and start_dbnet.sh ensures that only one instance of each program is running. Modify this script for your OS type and ensure the appropriate programs are run.
The minimum required DBNet programs:
If servicing an async device running the X.224 protocol:
If servicing BUFR decoders:
Modify the $dbn_root_dir to indicate the DBNet home directory (not necessary if /usr/DBNet is symbolically linked). Browse the file, there are a number of options that may pertain if servicing an async device, a BUFR decoder or the DBNet monitor dbn_monsrv.pl.
To ensure continuous execution of the various DBNet programs, the start_dbnet.sh can be croned to attempt to start the programs if not running. In conjunction, the DBNet programs can be started from the machine initialization scripts (rc files).
If the start_dbnet.sh was croned, DBNet will start from cron. Regardless if croned or not croned, DBNet can be started by running bin/start_dbnet.sh.