|
This section discusses information on Linux user accounts with respect to operation of Pervasive PSQL.
psql to run utilities (except for PCC). User psql has no password and can only be accessed through the root account by using the su command.user:group ownership psql:pvswroot to run the start and stop scripts for the Pervasive PSQL engines..bash_profile or system /etc/profile as described in Using Utilities from Users Other than psql . pvsw to perform functionality with the following utilities:clilcadm) for functions other than displaying current licenses.dbmaint) for functions other than displaying current databases. psregedit) for functions other than displaying the registry.bcfg).
The single environment variable $PVSW_ROOT is used to determine the location of installed components. The generic location for configuration files are $PVSW_ROOT/etc. For executable files, the location is $PVSW_ROOT/bin, and for shared libraries the location is $PVSW_ROOT/lib.
It is recommended that you add $PVSW_ROOT/bin to your PATH environment variable, and $PVSW_ROOT/lib to LD_LIBRARY_PATH as described in the following section.
To use utilities from user accounts other than psql, you must first make modifications to the user account configuration. Add the following to either the profile for a specific user or to the profile that all users inherit.
Here is an example of a modified profile:
PVSW_ROOT=/usr/local/psql PATH=$PATH:$PVSW_ROOT/bin:/bin:/usr/bin LD_LIBRARY_PATH=$PVSW_ROOT/lib:$PVSW_ROOT/bin:/usr/lib MANPATH=$MANPATH:$PVSW_ROOT/man BREQ=$PVSW_ROOT/lib LD_BIND_NOW=1
Ensure that you export all variables specific to Pervasive PSQL.
|
Chapter contents
Prev topic: Finding What You Need
|