Getting Started
Getting Started
trademarks Btrieve, Client/Server in a Box, Pervasive, Pervasive Software, and the Pervasive Software
logo are registered trademarks of Pervasive Software Inc.
Built on Pervasive Software, DataExchange, MicroKernel Database Engine, MicroKernel Database
Architecture, Pervasive.SQL, Pervasive PSQL, Solution Network, Ultralight, and ZDBA are
trademarks of Pervasive Software Inc.
Microsoft, MS-DOS, Windows, Windows 95, Windows 98, Windows NT, Windows Millennium,
Windows 2000, Windows 2003, Windows 2008, Windows 7, Windows XP, Win32, Win32s, and
Visual Basic are registered trademarks of Microsoft Corporation.
NetWare and Novell are registered trademarks of Novell, Inc.
NetWare Loadable Module, NLM, Novell DOS, Transaction Tracking System, and TTS are
trademarks of Novell, Inc.
Sun, Sun Microsystems, Java, all trademarks and logos that contain Sun, Solaris, or Java, are
trademarks or registered trademarks of Sun Microsystems.
All other company and product names are the trademarks or registered trademarks of their
respective companies.
© Copyright 2010 Pervasive Software Inc. All rights reserved. Reproduction, photocopying, or
transmittal of this publication, or portions of this publication, is prohibited without the express prior
written consent of the publisher.
This product includes software developed by Powerdog Industries. © Copyright 1994 Powerdog
Industries. All rights reserved.
This product includes software developed by KeyWorks Software. © Copyright 2002 KeyWorks
Software. All rights reserved.
This product includes software developed by DUNDAS SOFTWARE. © Copyright 1997-2000
DUNDAS SOFTWARE LTD., all rights reserved.
This product includes software developed by the Apache Software Foundation
(http://www.apache.org/).
This product uses the free unixODBC Driver Manager as written by Peter Harvey
([email protected]), modified and extended by Nick Gorham ([email protected]), with
local modifications from Pervasive Software. Pervasive Software will donate their code changes to the
current maintainer of the unixODBC Driver Manager project, in accordance with the LGPL license
agreement of this project. The unixODBC Driver Danager home page is located at
www.unixodbc.org. For further information on this project, contact its current maintainer: Nick
Gorham ([email protected]).
A copy of the GNU Lesser General Public License (LGPL) is included on the distribution media for
this product. You may also view the LGPL at www.fsf.org/licensing/licenses/lgpl.html.
Getting Started with Pervasive PSQL
General Release September 2010
138-004428-001
Contents
Contents
About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Who Should Read This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Manual Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
iii
Contents
iv
Contents
v
Contents
vi
Contents
vii
Contents
viii
Figures
ix
Tables
x
About This Manual
xi
About This Manual
xii
Manual Organization
This manual is arranged in the order of the main installation
sequence. You complete the installation by following the chapters in
order (skipping the chapters that do not apply to your installation
platform). Getting Started With Pervasive PSQL is divided into the
following sections:
Chapter 1—Welcome to Pervasive PSQL
This chapter provides a basic introduction to Pervasive PSQL
v11.
Chapter 2—Preparing to Install Pervasive PSQL
This chapter discusses important preparations that you should
undertake before attempting to install Pervasive PSQL v11.
Chapter 3—Upgrading Your Pervasive PSQL Installation for
Windows
This chapter describes how to upgrade a previous version of
Pervasive PSQL on Windows.
Chapter 4—Installing Pervasive PSQL Server for Windows
This chapter describes how to install Pervasive PSQL Server for
the first time.
Chapter 5—Installing Pervasive PSQL Clients for Windows
This chapter describes how to install Pervasive PSQL Client for
the first time.
Chapter 6—Installing Pervasive PSQL Workgroup for Windows
This chapter describes how to install Pervasive PSQL Workgroup
for the first time.
Chapter 7—After Installing Pervasive PSQL for Windows
This chapter answers post installation questions you may have
about Pervasive PSQL for Windows.
Chapter 8—Configuring the Workgroup Engine
This chapter describes how to configure the Pervasive PSQL
Workgroup engine.
xiii
About This Manual
xiv
Conventions
Unless otherwise noted, command syntax, code, and examples use
the following conventions:
< > Angle brackets enclose multiple choices for a required item, as
in /D=<5|6|7>.
variable Words appearing in italics are variables that you must replace
with appropriate values, as in file name.
::= The symbol ::= means one item is defined in terms of another.
For example, a::=b means the item a is defined in terms of b.
xv
About This Manual
xvi
chapter
Thank you for purchasing Pervasive PSQL. We are confident that you
will find this release to be the very best, high performance, low
maintenance database engine on the market.
This chapter contains the following topics:
About Pervasive PSQL
The Pervasive PSQL Transactional Interface
The Pervasive PSQL Relational Interface
About the Pervasive PSQL Engines
Pervasive PSQL SDK
1-1
Welcome to Pervasive PSQL
1-2
About Pervasive PSQL
1-3
Welcome to Pervasive PSQL
Benefits of the Pervasive PSQL’s transactional interface is Btrieve, which has been
Transactional the data management system of choice for tens of thousands of
Interface applications around the world for more than 25 years now. In the
highly competitive accounting software market—where reliability
and performance are paramount—many of the top 10 vendors
choose Pervasive PSQL. Many application developers choose
Pervasive PSQL for its speed, data integrity, easy scalability, and low
maintenance costs. As part of Pervasive PSQL, Btrieve’s transactional
interface offers:
Speed. Pervasive PSQL uses the highly-evolved MicroKernel
Database Engine, capable of sub-second response rates, even
when building multi-gigabyte databases for hundreds of users.
The MicroKernel achieves these high speeds through features
such as internal indexing algorithms that cache pages for fast
data retrieval and updates, and automatic index balancing to
maintain fast data access, even as your files grow.
Data Integrity. The MicroKernel guarantees data integrity
through rich transaction processing support, referential
integrity controls, and automatic file recovery. In the event of a
server or system failure, logging features and roll forward
utilities allow you to recover data up to your last completed
transaction.
Scalability. Many client/server database applications begin on
the desktop and scale with corporate growth. Pervasive PSQL
provides easy scalability from workstation to large client/server
environments.
Low Cost. The low support costs experienced by Pervasive PSQL
developers translate into low maintenance costs realized by
Pervasive PSQL application end users. Pervasive PSQL
eliminates the need for sustained database administration
through automatic data recovery functions and easy-to-use
utilities.
1-4
The Pervasive PSQL Transactional Interface
1-5
Welcome to Pervasive PSQL
1-6
The Pervasive PSQL Relational Interface
1-7
Welcome to Pervasive PSQL
1-8
About the Pervasive PSQL Engines
Engine Feature All Pervasive database engines offer the same powerful feature set
Comparison and full-functioned support for programming interfaces. The chart
below shows the major differences between the different editions of
the product.
Table 1-1 Comparison of Server and Workgroup Features
1-9
Welcome to Pervasive PSQL
1-10
Pervasive PSQL SDK
1-11
Welcome to Pervasive PSQL
1-12
chapter
Preparing to Install
Pervasive PSQL 2
Preparation Needed for Pervasive PSQL v11 Installation
2-1
Preparing to Install Pervasive PSQL
Installation Requirements
This section provides an overview of any special requirements you
may need to know about in order to complete the Pervasive PSQL
v11 installation. The following overview is intended to accompany
the software and hardware requirements listed on the Pervasive
Software web site for Pervasive PSQL v11.
2-2
Installation Options
Installation Options
On Windows operating systems, Pervasive PSQL v11 offers
Complete and Custom installation options. On Linux distributions,
each major component has its own separate installation.
Custom The Custom installation is recommended for users that need control
Installation over their Pervasive PSQL v11 installation. The Custom installation
allows you to install Pervasive PSQL v11, along with only the features
you need, in directory locations you specify.
The following sections describe the Pervasive PSQL v11 products
and optional features you can install using either of the installation
options described here.
2-3
Preparing to Install Pervasive PSQL
2-4
Pervasive PSQL v11 Products
Client (64-bit) 64-bit Pervasive PSQL v10 Client Requesters and required
components to access a MicroKernel engine for Windows or
Linux (Btrieve and DTI only).
Client (32-bit) 32-bit Pervasive PSQL v11 Client Requesters and components
needed to access a MicroKernel engine for Windows or Linux.
Pervasive Distributed Tuning Interface (DTI) is used to
configure and monitor the Pervasive components from low-level
(compiled) applications.
Pervasive PSQL v11 Cache Engine
2-5
Preparing to Install Pervasive PSQL
Xtreme I/O Xtreme I/O (XIO) is a database accelerator included with Pervasive
(Server 32-bit PSQL v11. XIO increases database performance by accelerating disk
Only) access time for Pervasive PSQL data files. XIO can be installed only
on Windows Server 32-bit platforms meeting the minimum system
requirements for XIO. See System Requirements in Advanced
Operations Guide.
Pervasive Pervasive Access Methods include the Pervasive PSQL v11 Software
Access Developer’s Kit (SDK) and the DOS Requester.
Methods
ActiveX Interface Controls
A set of nine custom controls that enable development environments
that support ActiveX to easily access Btrieve data. The interface
includes a data source control and eight bound data controls.
ADO.NET Provider
ADO.NET is a .NET managed data provider, built with 100%
managed code. The data provider is a native wire protocol provider,
which means that the data provider will not have to call out to
unmanaged code-code outside of the .NET Framework-in the form
of a database client.
Btrieve DOS
The DOS VxD (Virtual eXtended Driver) (DOS client requester) is
the Btrieve requester used for running DOS based applications via a
Windows Command window. (Transactional access only)
2-6
Pervasive PSQL v11 Optional Features
DTO
The Pervasive Distributed Tuning Objects (DTO) are used from
visual development environments.
JCL
The Java Class Library (JCL) is used for direct transactional access to
data files via Java.
JDBC Driver
The JDBC driver is used for relational access to data files using the
Java programming language.
OLE DB
The OLE DB access method includes runtime binaries used for
transactional and relational access to data files.
PDAC
The Pervasive Direct Access Components (PDAC) includes a set of
Visual Component Library (VCL) components that allow direct
access to Pervasive Database Engines from within the Borland
Delphi and C++ Builder Environments.
2-7
Preparing to Install Pervasive PSQL
License Administrator
Gateway Locator (Workgroup Engine only)
Documentation The Pervasive PSQL v11 Engine and SDK user documentation is
integrated into Pervasive PSQL Control Center (PCC). The
documentation library is accessed through the PCC interface on the
Welcome view, in the Help menu, by pressing F1 (Windows) or Shift
F1 (Linux). Printed copies of the Pervasive PSQL v11 Engine
documentation may be purchased from Pervasive Software. The
Pervasive PSQL v11 SDK documentation titles are only available
online.
2-8
Pervasive PSQL v11 Optional Features
Java Runtime The components of the JRE needed by the following features are
Environment installed as part of Pervasive PSQL:
(JRE) PCC
DDF Builder
Core utilities
Documentation
The PSQL features use the local version of the JRE installed by
Pervasive PSQL.
Note The installation of a local version of the JRE is for use only
by the Pervasive PSQL features listed above. The local version of
the JRE does not affect the requirements for developing Java
applications using the Pervasive PSQL access methods Java Class
Libraries (JCL) or JDBC. Those requirements, such as
components obtained from java.sun.com, are discussed in the
Pervasive PSQL software development kit (SDK)
documentation. See Java Class Library Guide and JDBC Driver
Guide.
2-9
Preparing to Install Pervasive PSQL
Installation Review
This section provides you with a checklist to prepare you for
installation and a set of commonly asked questions you should
consider prior to installation. Please use this section as a review and
a guide for a successful installation.
Quick Checklist This checklist provides a review of the requirements needed in order
to install Pervasive PSQL v11. Each of these items should be met
prior to beginning the install process.
2-10
Installation Review
Common Pre- This section contains some of the most common questions asked
Installation prior to installing Pervasive PSQL v11. These questions represent
Questions special case scenarios that could possibly prevent a successful first-
time installation. Before you begin installation, consider the
situations represented by these questions, along with the Quick
Checklist to determine if you have met all the requirements and if
there are situations that need special attention.
2-11
Preparing to Install Pervasive PSQL
Only one instance of the database engine may run on any terminal
server platform. You cannot run separate copies of the database
engine within two or more terminal sessions.
Pervasive PSQL is supported for Server, Workgroup and Client on
the following Terminal Server Environments:
Citrix Presentation Server 4.0 (32-bit and 64-bit)
Citrix Presentation Server 4.5 (32-bit and 64-bit)
Microsoft Windows Server 2003 Terminal Services
2-12
Installation Review
2-13
Preparing to Install Pervasive PSQL
2-14
Installation Review
2-15
Preparing to Install Pervasive PSQL
2-16
chapter
3-1
Upgrading Your Pervasive PSQL Installation for Windows
Considerations Once you have reviewed the latest product information, review this
When list of considerations to complete your upgrade installation
Upgrading to preparation.
Pervasive
PSQL v11 R Pervasive PSQL Applications - Be aware of what applications you
have currently using previous versions of Btrieve or Pervasive
PSQL in your environment. Don’t forget to include both client
and server-based applications, such as ArcServe.
3-2
Upgrading to Pervasive PSQL v11 From a Previous Version
R New Features and File Rebuilding - In order to make use of all the
new version features, you must rebuild your data files so that
they use the newest version file format. Advanced Operations
Guide includes a chapter that details using the Rebuild Utility to
rebuild your data files.
R Back Up Data Files - Make sure you have a current backup of all
your data, database engine files and configuration prior to
beginning upgrade installation
3-3
Upgrading Your Pervasive PSQL Installation for Windows
You do not have any Pervasive You should be able to connect to the sample
PSQL DSNs defined DEMODATA database now. Refer to Pervasive
PSQL User's Guide for general information on
working with Pervasive PSQL. Refer to
Advanced Operations Guide for detailed
information on working with databases and
database engines.
3-4
Common Questions After Upgrading to Pervasive PSQL
3-5
Upgrading Your Pervasive PSQL Installation for Windows
3-6
chapter
4-1
Installing Pervasive PSQL Server for Windows
Installation When installing Pervasive PSQL v11 for the first time on a
Tips system, Setup checks if all of the needed system files meet the
minimum requirements. In some cases, these files are locked by
the operating system and a reboot is required before Setup can
continue.
4-2
Before You Install the Windows Server Engine
4-3
Installing Pervasive PSQL Server for Windows
Note If the installation fails for any reason, the installation log
file can be found in the Windows %Temp% directory.
4-4
Installing Pervasive PSQL Server for Windows
4-5
Installing Pervasive PSQL Server for Windows
Java Utilities
Pervasive Control Center
Documentation
Data Definition File Builder
Other Utilities
Cobol Schema Exec
Pervasive System Analyzer
10 Click Install to begin installation.
11 A dialog displays when the installation wizard completes. The
product has been installed with a trial key that expires at the end
of its trial period.
You have two choices at this point: continue and authorize the
product with a permanent key, or end the installation (and later
authorize the product with a permanent key).
If you choose to continue and authorize the product, an
Internet connection is required. Click Next and continue
with step 12. (If you have no Internet connection, click Next
then click Finish. See Alternative Authorization Tasks in in
Pervasive PSQL User's Guide.)
If you choose to end the installation at this point, click Next
then click Finish. (You may run the License Administrator
utility at a later time to apply a key. See License
Administration in Pervasive PSQL User's Guide.)
12 Enter your license key and click the button to apply the key.
(If you decide not to authorize the product at this point, click
Finish. You may run the License Administrator utility at a later
time to apply a key. See License Administration in Pervasive
PSQL User's Guide.)
13 A message box displays with the status of the authorization
action. Perform one of the following actions depending on the
status:
If the authorization status message is “key is authorized,”
click OK, then click Finish to complete the installation.
If the authorization status message reports an error or
warning, click OK, and repeat step 12, ensuring that you
enter a valid license key.
4-6
Installing Pervasive PSQL Server for Windows
4-7
Installing Pervasive PSQL Server for Windows
4-8
chapter
5-1
Installing Pervasive PSQL Clients for Windows
5-2
Installing the Pervasive PSQL Client for Windows
Note If the installation fails for any reason, the installation log
file can be found in the Windows %Temp% directory.
5-3
Installing Pervasive PSQL Clients for Windows
5 For the 32-bit Client only, select the engine installation mode ():
Run as an Application (default) or Run as a Service.
Figure 5-1 Engine Installation Mode Dialog Box
5-4
Installing the Pervasive PSQL Client for Windows
10 For the 32-bit client only, select the components and associated
subfeatures you want to exclude from the installation and click
Next. All of the Pervasive PSQL components and subfeatures are
selected for installation by default.
Pervasive Control Center
Documentation
Data Access
ActiveX Interface Controls
ADO.NET Provider 2.1
ADO.NET Provider 3.0
Btrieve DOS
DTO
JCL
JDBC Driver
OLE DB
PDAC
Utilities
Cobol Schema Exec
Data Definition Builder
Pervasive System Analyzer
Note The Client 64-bit installation does not include the utilities,
documentation, or SDK components listed above. To install
them, you need to install both the Client 64-bit and Client 32-bit
products.
5-5
Installing Pervasive PSQL Clients for Windows
5-6
Installing the BTRBOX Requester
Note Clients using the DOS operating system will have only
transactional access to the data files. No relational access is
available for this platform.
Win32 DOS Box BTRBOX allows a DOS application to run in a DOS box on a
Support Windows workstation. This enables direct communication to the
Windows 32-bit workstation components rather than to the
database engine. This configuration can be used with either a local
Pervasive PSQL v11 Workgroup engine, or a remote Pervasive PSQL
v11 server engine. The TCP/IP or SPX protocol supported for client/
server access depends on the configuration of the Windows 32-bit
components.
DOS applications are not supported on 64-bit Windows platforms.
Therefore, BTRBOX is not supported on 64-bit Windows platforms.
5-7
Installing Pervasive PSQL Clients for Windows
DOS Requesters
This type of requester is used for applications that run under the
DOS operating system.
Trace Requesters
Trace requesters are used for troubleshooting (tracing) client
problems at a low level. Generally, you will never need to perform
this type of tracing. The low-level tracing is intended for use by
5-8
Understanding Client Requesters
5-9
Installing Pervasive PSQL Clients for Windows
5-10
chapter
6-1
Installing Pervasive PSQL Workgroup for Windows
Installation When installing Pervasive PSQL v11 for the first time on a
Tips system, Setup will check if all of the needed system files meet the
minimum requirements. In some cases, these files are locked by
the operating system and a reboot is required before Setup can
continue. Click Yes to reboot the system. Setup is then
automatically restarted.
It is strongly recommended that you reboot your system if you
encounter this message. If you do not reboot your system, Setup
will encounter failures during engine and utilities configuration.
If you have any trouble with the following installation, see
Chapter 14, Troubleshooting After Installation.
6-2
Installing the Pervasive PSQL Workgroup for Windows
Note If the installation fails for any reason, the installation log
file can be found in the Windows %Temp% directory.
6-3
Installing Pervasive PSQL Workgroup for Windows
6-4
Installing the Pervasive PSQL Workgroup for Windows
6-5
Installing Pervasive PSQL Workgroup for Windows
(If you decide not to authorize the product at this point, click
Finish. You may run the License Administrator utility at a later
time to authorize a key. See License Administration in Pervasive
PSQL User's Guide.))
14 A message box displays with the status of the authorization
action. Perform one of the following actions depending on the
status:
If the authorization status message is “key is authorized,”
click OK, then click Finish to complete the installation.
If the authorization status message reports an error or
warning, click OK, and repeat step 13, ensuring that you
enter a valid license key.
15 Register your product (recommended) as explained on the
Registration page that displays, then close the Registration page.
If you are prompted to reboot your system, please do so in order
to ensure proper operation of your Pervasive PSQL v11 product.
6-6
Installing the Pervasive PSQL Workgroup for Windows
6-7
Installing Pervasive PSQL Workgroup for Windows
6-8
chapter
7-1
After Installing Pervasive PSQL for Windows
7-2
Common Questions After Installing Pervasive PSQL
Note: The DOS Requester files are installed by default on all Windows platforms at
<drive:>\%WINDIR%\SYSTEM32\
1
Windows Vista and later refers to Windows Vista and any Windows operating system released after
Windows Vista that is currently supported by Pervasive PSQL.
2
Windows pre-Vista refers to any Windows operating system currently supported by Pervasive PSQL that
was released prior to Windows Vista.
7-3
After Installing Pervasive PSQL for Windows
with a client, you may install both the Workgroup (32-bit) and
Client (64-bit) engines on the same machine. Install each product as
you would normally; no special configuration is required.
7-4
Common Questions After Installing Pervasive PSQL
7-5
After Installing Pervasive PSQL for Windows
7-6
chapter
8-1
Configuring the Workgroup Engine
Overview
This section explains the basic concepts and requirements of
Workgroup engines. If you need more in-depth information about
the Workgroup engine, refer to the Advanced Operations Guide. The
Advanced Operations Guide contains detailed technical information
about the Workgroup engine, setting up a Gateway configuration,
and re-directing locator files.
Installation Every computer that may be used to access the same data at the same
Requirements time must have a Workgroup engine installed on it.
Operating Only database server engines can enforce OS level file security based
System on the privileges assigned to the login user name. The Workgroup
Security engine does not attempt to do this. In a small office, where
Workgroup engines are most common, this can be considered a plus
because they are usually short on networking experts, and the fewer
barriers to successful data access the better.
When to Use There are three main configurations in which you would want to use
Workgroup the Workgroup engine.
Peer-to-Peer Configuration
Another situation when you would want to use the Workgroup
engine is when the data is distributed among the workstations. This
is called a peer-to-peer topology. This configuration is used when
each application typically stores much of its own data on the local
hard drive, but periodically needs to access data from other
workstations or share its own data with others.
In this configuration, each computer shares its data directory or
directories. Any computer that needs access to that data maps one or
more drives to the shared data directories. Then the Workgroup
8-2
Overview
Gateway Configuration
The third topology requiring the use of the Workgroup engine is
when the data is stored on a file server where there is no MicroKernel
engine. This can be a UNIX server or other type of network file server
that gets backed up regularly, but cannot support a MicroKernel
engine. In this situation, the first Workgroup engine that opens files
in a directory on the server becomes the Gateway to each file in that
directory. The other workstations access the data in a client-server
fashion through that Gateway engine.
The Gateway engine for a given directory identifies itself by creating
a file named ~PVSW~.LOC in that directory. This file is called a
Gateway locator file and contains the network name of the computer
where the Gateway engine is located. Other Workgroup engines
attempting to access this data read the locator file to find the name of
the engine they must communicate with in order to access the data.
You can ensure that the same engine always services the files in a
given directory by making the locator file read-only. This is called a
static gateway, also referred to as a fixed gateway. See To Set up a Fixed
Gateway for more information.
The Gateway engine acts as a server engine as it reads and writes
pages to the data files, allowing it to make the most use out of its
cache. The Gateway feature is designed so that the ownership of any
particular directory can change whenever the current gateway
engine has no more client applications with any files open in that
directory. When the last data file is closed in a directory by a given
database engine, the engine releases and deletes the locator file.
When the next engine opens a data file, that engine becomes the new
gateway to the directory where the data file(s) resides.
What is a A Gateway engine is a Workgroup engine that acts as the sole point
Gateway of access to all data files in a particular directory on a remote file
Engine? server. If several Workgroup engines are accessing the same database
at the same time, they do not all open the files simultaneously, nor
do they share the files. Rather, the first Workgroup engine to access
that database becomes the temporary “owner” of those files, and all
other Workgroup engines must access the data by contacting the
Gateway engine. Only the Gateway engine has the files open and
8-3
Configuring the Workgroup Engine
8-4
Setting Up a Small Client/Server Configuration
8-5
Configuring the Workgroup Engine
The best way to ensure that only the Gateway services the file is
to set a static gateway locator file using the Gateway Locator
Utility.
8-6
Setting Up a Peer-to-Peer Configuration
8-7
Configuring the Workgroup Engine
The best way to ensure that only the Gateway services the file is
to set a static gateway locator file using the Gateway Locator
Utility.
8-8
Setting Up a Gateway Configuration
The best way to ensure that only the Gateway services the file is
to set a static gateway locator file using the Gateway Locator
Utility.
Floating or You can set up two different Gateway configurations. The default
Fixed Gateway behavior is a floating Gateway configuration. In this configuration,
the first engine to open the remote data files becomes the Gateway
engine for that directory until all files in the directory are closed.
Then the next engine to open the data files becomes the new
Gateway. This configuration is the most flexible, but also can entail
delays upon initial connection to the database, as the engine tries the
different network protocols and checks for an existing Gateway
engine.
8-9
Configuring the Workgroup Engine
8-10
Setting Up a Gateway Configuration
Working with The Gateway Locator Utility provides control of and insight into any
the Gateway Gateway configuration you have on your network. This section
Locator Utility explains how to use the utility for a variety of purposes.
This utility enables users to determine or change the Workgroup
Engine which is being used as the gateway for the data files in a
particular directory. The Gateway Locator utility is used only with
Pervasive PSQL v11 Workgroup Engine.
The Gateway Locator operates by reading and manipulating the
locator file, ~PVSW~.LOC, which resides in any directory which is
assigned a Gateway engine. If this file is locked (in use), the Gateway
8-11
Configuring the Workgroup Engine
Locator can only locate, not change, the Workgroup engine being
used as a Gateway for that particular directory.
Note The Gateway Locator can be used to set the gateway for any
data directory. Data directory locations are not stored with the
tool. Consequently, you must always set the directory path
before you click Change.
8-12
Setting Up a Gateway Configuration
Enter or browse for the machine name you wish to serve as gateway.
8-13
Configuring the Workgroup Engine
8-14
Running the Workgroup Engine as a Service
8-15
Configuring the Workgroup Engine
Stopping the If you want to stop and then restart the service (and not permanently
Service remove the service), then just reboot the machine.
You stop the service on Windows platforms just as you would any
other service.
8-16
chapter
9-1
Configuring Engine Network Communications
Database If your network is 100% Microsoft, and you have a database Server
Engine on engine, then your network probably uses TCP/IP. The Server engine
Windows does not support NetBIOS.
You can run applications over SPX on Microsoft networks if the
applications use only the Pervasive PSQL transactional interface
(Btrieve or ODBC).
If your network is 100% Microsoft, and you are using Workgroup
engines, then you can use either NetBIOS or TCP/IP.
9-2
Engine Network Communication Settings
9-3
Configuring Engine Network Communications
Note To perform any of the tasks in this section, you must have
full administrator-level rights on the machine where the
database engine is running, or be a member of the
Pervasive_Admin group defined on the machine where the
database engine is running.
Tip Remember that you also need to confirm that your client
computers or the client software on your other Workgroup
computers are configured to use TCP/IP, as well. See Chapter 10,
Configuring Network Communications for Clients.
9-4
Setting Up TCP/IP Support
9-5
Configuring Engine Network Communications
9-6
Setting Up SPX Support
Tip Remember that you also need to confirm that your client
computers are configured to use SPX, as well. See Chapter 10,
Configuring Network Communications for Clients.
9-7
Configuring Engine Network Communications
Tip Remember that you also need to confirm that the client
software on your other Workgroup computers are configured to
use NetBIOS, as well. Please refer to Chapter 10, Configuring
Network Communications for Clients.
9-8
Avoiding Unavailable Protocols
9-9
Configuring Engine Network Communications
Tip Remember that you also need to confirm that your client
computers are configured to use the protocol remaining in the
Supported protocols list. Please refer to Chapter 10, Configuring
Network Communications for Clients.
9-10
chapter
Configuring Network
Communications for Clients 10
How to Configure Network Communications for Your Pervasive PSQL Clients
10-1
Configuring Network Communications for Clients
10-2
Network Path Formats Supported by Pervasive Requesters
Universal The following UNC path formats are supported on all clients to all
Naming servers:
Convention \\ServerName or IP address\share\path\file
(UNC) Path \\ServerName or IP address\share:[\]path\file
Formats UNC syntax is resolved correctly regardless of the actual type of
network operating system (NOS) running on the target server. If you
use an IP address, it must be a dotted IPv4 address or one of the two
formats supported for IPv6. See IPv6 With UNC Paths and URI
Connections.
IPv6
A Pervasive PSQL Client connects to a IPv6 host running the
Pervasive PSQL database engine the same way as for IPv4. That is,
the Client specifies a server and connects through DTI or by
specifying a URI or UNC. The server can be either the name or IP
address of the machine running Pervasive PSQL Server or
Workgroup.
10-3
Configuring Network Communications for Clients
Global Global addresses have a 64-bit prefix where the first 3 bits
are always 001, the next 45 bits are set to the global routing
prefix, the next 16 bits are set to the subnet ID and the last
64-bits are the interface ID.
Example: 2001:db8:28:3:f98a:5b31:67b7:67ef
10-4
Network Path Formats Supported by Pervasive Requesters
Modifier Explanation
See Restrictions.
IPv6-literal.net Names
An ipv6-literal.net name is a raw IPv6 address with three changes:
":" is replaced with "-"
"%" is replaced with "s"
The whole address is appended with ".ipv6-literal.net"
Examples:
2001:db8:28:3:f98a:5b31:67b7:67ef
2001-db8-28-3-f98a-5b31-67b7-67ef.ipv6-literal.net
10-5
Configuring Network Communications for Clients
2001:db8:28:3:f98a:5b31:67b7:67ef
[2001:db8:28:3:f98a:5b31:67b7:67ef]
The use of square brackets is required for raw IPv6 addresses used in
a URI or UNC with Pervasive PSQL. See Restrictions. Note that if
you use an address with a ZoneID in a URI, the ZoneID character
“%” must use the escape characters “%25.” See Restrictions.
10-6
Network Path Formats Supported by Pervasive Requesters
Restrictions
The following table lists the restrictions on the use of IPv6 with
Pervasive PSQL.
Table 10-2 IPv6 Restrictions With Pervasive PSQL
Restriction Discussion
In a URI, if you If you use a btrv:// connection with an IPv6 address, you
include a ZoneID must escape the ZoneID for the host name.
to a server
address, the “%” Example:
ZoneID character
A UNC-safe addresses like
must be escaped
with “%25” btrv://@[fe80::20c:29ff:fe67:2ee4%4]
must be changed to
btrv://@[fe80::20c:29ff:fe67:2ee4%254]
10-7
Configuring Network Communications for Clients
Restriction Discussion
License The Pervasive licensing server does not yet support IPv6.
Administrator (and Because of this, you can use License Administrator over
clilcadm) IPv6 to administer licenses but you cannot authorize a
license with the utility. To authorize a license, you must use
an IPv4 network, remote authorization, or telephone
authorization.
Drive-based The following drive representations are supported on all clients to all
Formats servers:
drive:file
drive:[\]path\file
file
[\]path\file
..\file
Linux Path Incoming paths on a Linux server using Samba will be processed as
Formats follows in order of relative priority:
Share names
\\<server>\<sharename>\<path>
Absolute paths
\\<server>\<absolute_path>
10-8
Network Path Formats Supported by Pervasive Requesters
10-9
Configuring Network Communications for Clients
10-10
Using TCP/IP to Connect to a Windows Server
10-11
Configuring Network Communications for Clients
Configuring SPX is not a native protocol on the Windows platforms. If you want
Pervasive to use SPX, perform the following procedures to ensure proper
PSQL to use operation with Pervasive PSQL.
SPX
Changing Pervasive’s configuration to use SPX with a
Windows platform
If you have both TCP/IP and SPX installed, you must remove TCP/
IP from the Pervasive PSQL Client configuration to make SPX
function with Pervasive applications
1 On the Start menu select Control Center (PCC) from the
Pervasive PSQL v11 program group.
2 In the Pervasive PSQL Explorer, expand Local Client.
3 Right-click MicroKernel Router and select Properties. Login if
prompted.
4 Click Communication protocols. In the window to the right, a
list of Supported protocols displays.
5 Clear TCP/IP from the list of selected protocols and click OK.
10-12
Changing the Default Communication Ports
Windows Microsoft Windows operating systems Vista and later enable the
FireWalls firewall by default. The Pervasive PSQL Server and Workgroup
installation adds files to the firewall access list to enable access to the
database engine. If the operating system security prompts you to
10-13
Configuring Network Communications for Clients
Services File The services file is a text file used by the operating system for network
communications. In the services files, you can manually assign the
ports used by Pervasive PSQL Server and its clients. After changing
port assignments in the services file, you must stop then start the
Pervasive PSQL database engine for the changes to take effect. See
10-14
Changing the Default Communication Ports
10-15
Configuring Network Communications for Clients
10-16
Using TCP/IP to Connect a Windows Client to a Linux Server
10-17
Configuring Network Communications for Clients
Data Encoding
An encoding is a standard for representing character sets. Character
data must be put in a standard format, that is, encoded, so that a
computer can process it digitally. An encoding must be established
between the Pervasive PSQL database engine (server) and a Pervasive
PSQL client application. A compatible encoding allows the server
and client to interpret data correctly.
Pervasive PSQL v11 better handles the complexity of the encoding
between client and server and the various combinations of operating
system, languages, and access method. The encoding enhancements
are divided into database code page and client encoding. The two
types of encoding are separate but interrelated (see Table 10-3).
The use of the two encoding methods is intended for advanced users.
In general, the default encoding settings are sufficient and do not
require changing.
Database code page and client encoding apply only to the relational
interface. The transactional interface is not affected.
This section contains the following topics:
Database Code Page
Client Encoding
Encoding Interaction
Legacy Conversion Methods for OEM Data
Database Code Database code page is specified with a new property called database
Page code page, which identifies the encoding to use for data and
metadata. The default database code page is “server default,”
meaning the operating system (OS) code page on the server where
the database engine is running. (The OS code page is generally
referred to as the “OS encoding,” which is the phrase used
throughout the rest of this chapter.)
Database code page is particularly handy if you need to manually
copy Pervasive PSQL DDFs to another platform with a different OS
encoding and still have the metadata correctly interpreted by the
database engine.
10-18
Data Encoding
Encoding The following table explains the interaction between database code
Interaction page and client encoding.
Table 10-3 Interaction Between Database Encoding and Client Encoding
If Database Encoding Is And the Client Application The Pervasive PSQL Client
Specifies
Server Default Automatic Translation Translates data and metadata from the
default operating system (OS) encoding on
the server to the OS encoding on the client.
A specific code page Automatic Translation Translates data and metadata from the
database code page to the OS encoding on
the client.
10-19
Configuring Network Communications for Clients
If Database Encoding Is And the Client Application The Pervasive PSQL Client
Specifies
Server Default Nothing (no encoding Sends data to the database engine in the
specified) encoding of the client machine and ignores
or database code page.
(No encoding specified is the
A specific code page default behavior in versions For compatible data interpretation, the
prior to Pervasive PSQL encoding used by the client machine must
v10.10.) match the encoding of the data and
metadata in the database.
Server Default A specific encoding Sends data to the server in the encoding
specified by the client application and
or ignores database code page.
A specific code page For compatible data interpretation, the
encoding specified by the client application
must match the encoding of the data and
metadata in the database.
When a database has OEM character data in it, the legacy solution
was for the access method, such as ODBC using a DSN, to specify
OEM/ANSI conversion. Now it is possible to set the OEM code page
for the database and have the access method specify automatic
translation. See also Encoding Translation in SQL Engine Reference.
Note The database engine does not validate the encoding of the
data and metadata that an application inserts into a database.
The engine assumes that all data was entered using the database
code page as explained in Table 10-3.
10-20
Data Encoding
ODBC
See also OEM/ANSI Conversion in SQL Engine Reference.
When using ODBC, Win32 encoding is expected to be SHIFT-JIS.
Japanese versions of Linux by default have their encodings typically
set to EUC-JP or UTF-8.
When using Japanese versions of Linux, a client can connect to
another Linux server (for example, locally), or to a Win32 SHIFT-JIS
server. It is also possible to connect to a database encoded in SHIFT-
JIS but located on a Linux server.
Use the following instructions for your listed configuration. In each
case, it is assumed that the application itself does not do any
conversion and uses the encoding that is native for the machine.
Connecting a Linux EUC-JP Client to a Win32 SHIFT-JIS Server
Connecting a Linux UTF-8 Client to a Win32 SHIFT-JIS Server
Connecting a Linux EUC-JP Client to a Linux EUC-JP Server
Connecting a Linux UTF-8 Client to a Linux UTF-8 Server
Connecting a Linux UTF-8 Client to a Linux EUC-JP Server
Connecting a Linux EUC-JP Client to a Linux EUC-JP Server,
with SHIFT-JIS Encoding Used to Store Data on the Server
10-21
Configuring Network Communications for Clients
ServerName=JPN-2000SERVER:1583
TranslationDLL=/usr/local/psql/lib/libxlate.so.10
TranslationOption=90000932
10-22
Data Encoding
10-23
Configuring Network Communications for Clients
ServerDSN=DEMODATA
ServerName=JPN-2000SERVER:1583
TranslationDLL=/usr/local/psql/lib/libxlate.so.10
TranslationOption=90000932
CodePageConvert=932
The last line specifies that even though the server uses EUC-JP
encoding, it should treat the data on the server as SHIFT-JIS.
10-24
Using the DOS Requester
Supported The DOS requester supports both Workgroup and Client to remote
Configurations Server engine configurations.
10-25
Configuring Network Communications for Clients
Running DOS All of the components needed to run DOS applications using
Applications on BTRBOX are installed with your client. After the Windows client
Windows 32-bit component installation, you have everything you need to run a DOS
Platforms or Windows 32-bit application. The default DOS application
support installed is the Win32 DOS Box configuration.
DOS applications are not supported on 64-bit Windows platforms.
Therefore, BTRBOX is not supported on 64-bit Windows platforms.
10-26
chapter
Application Configuration
Scenarios 11
Common Scenarios for Setting up Your Database Engine
11-1
Application Configuration Scenarios
Terminal Services
Microsoft Terminal Services is a multi session environment that
provides remote computers access to Windows-based programs
running on a server. Citrix MetaFrame extends Windows Terminal
Services with additional client and server functionality.
Note Pervasive PSQL Server engines are supported for use with
Microsoft Terminal Server and Citrix MetaFrame running
within an Active Directory environment.
Terminal Server You may use your terminal server as your main network server and
as Network database server. However, if you have high usage of the server as a file
Server server as well as many terminal sessions running at the same time,
you may find the performance less than satisfactory.
11-2
Terminal Services
Workgroup You may configure your server to run the Workgroup engine as a
Engine service. This allows the engine to start automatically when the
Running as a operating system starts. A user is not required to log in to start the
Service engine. Refer to Running the Workgroup Engine as a Service.
11-3
Application Configuration Scenarios
Pervasive Active Directory service manages the security of the network. You
Administrative must grant the correct access authority at the operating system level
Authority to users who need Pervasive administrative privileges.
See Active Directory Tasks for the steps to set access authority. Users
must have the following authority on the machine running the
database engine:
11-4
Active Directory Service
Log on locally
Administrator privileges or belong to the Pervasive_Admin
group
You may grant the Log on locally authority directly to a user or to the
Pervasive_Admin group (and add the user to the group).
You may create the Pervasive_Admin group on the machine running
the database engine (the local machine), on the domain controller
for the local machine, or on both. The database engine checks
privileges first on the domain controller for the local machine then
on the local machine.
An example helps illustrate this. Suppose you have two servers in
your domain that run the Pervasive PSQL database engine, Server A
and Server B. You could create a Pervasive_Admin group on each
server and on the domain controller. You then add User 1 to the
group on Server A, User 2 to the group on Server B, and User 3 to the
group on the domain controller. User 1 has administrative privileges
for the database engine only on Server A. Similarly, User 2 has
administrative privileges only on Server B. User 3, however, has
administrative privileges for the database engines on both Server A
and Server B.
If you create the Pervasive_Admin group on a domain controller,
then the group must be a domain local group. If you create the
Pervasive_Admin group on a machine that is not a domain
controller, then the Pervasive_Admin group must be a local group.
Active This section explains the tasks needed to ensure users have Pervasive
Directory Tasks administrative privileges. The tasks assume the following:
Network user IDs have been added for users who need Pervasive
administrative privileges
A Pervasive_Admin group has been created on the domain
controller and users added to the group
Windows Server 2003 is the operating system on the domain
controller.
11-5
Application Configuration Scenarios
2 Expand the tree for the domain to which you want to add the
Pervasive_Admin group.
For example, the following image shows the expanded tree for
the ADSTEST.com domain.
11-6
Active Directory Service
5 Click OK.
Now that the Pervasive_Admin group exists, you need to add
users to it.
6 On the Active Directory Users and Computers window, right-
click the Pervasive_Admin group, then click Properties. (You
may also double-click the group.)
11-7
Application Configuration Scenarios
The user is added to the list on the bottom. For example, the
following image shows that user ADS_USER1 has been added.
10 Click OK.
The user you added now appears as a member of the
Pervasive_Admin group.
11-8
Active Directory Service
11-9
Application Configuration Scenarios
6 Click Add.
The Add user or group dialog box displays.
7 Type Pervasive_Admin in the Users and group names field.
11-10
Active Directory Service
11-11
Application Configuration Scenarios
If the applications run concurrently (that is, if two or more applications are
using the database server at the same time) ...
You should configure the engine by adding together all the recommended values
for each parameter. For example, if one application vendor suggests Performance
Tuning | Number of Input/Output Threads should be set to 4, and another
application vendor suggests this parameter should be set to 8, then you should set
it to 12.
If the default value is higher than the sum of the recommended settings, then do
not change the default value.
Do not add up the recommended values for any buffer size settings, or log file size
settings. Use the largest recommended setting. Again, do not change the default if
it is larger than any vendor recommendation.
If the applications do not run concurrently (that is, if only one application is
running at any given point in time) ...
You should configure the server by using the largest recommended value for each
parameter. For example, if one application vendor suggests Performance Tuning
| Number of Input/Output Threads should be set to 4, and another application
vendor suggests this parameter should be set to 8, then you should set it to 8.
If the default value is higher than the largest recommended setting, then do not
change the default value.
Settings Most engine settings are not affected when you are running multiple
Affected by applications. This section explains the settings that may need to be
Multiple adjusted for multiple applications.
Applications
Compatibility | Create File Version
Some applications may require that new files be created with version
7.x file format, while other applications may require version 9.x file
format (the default).
11-12
Multiple Client Applications
These applications can run concurrently only if new files are not
created during runtime. There is no way to toggle the setting back
and forth for each application, unless you wish to do it by hand or
write a program to do so using the Distributed Tuning Objects.
If the applications do not create new files during runtime, then this
setting is not relevant for multiple applications.
11-13
Application Configuration Scenarios
11-14
Concurrent Local and Remote Applications
Using the The Workgroup engine can be configured to access files on a remote
Server and file server through a mapped drive on a Windows server.
Workgroup The client software installed with your Workgroup engine can be
Engines used to connect to other server engines on a remote machine.
Concurrently
If you want to use your local engine for local file access and a remote
server for access to files being serviced by the remote Pervasive server,
you must change the settings in your MicroKernel Router. Use the
Pervasive PSQL Control Center to change MicroKernel Router
settings.
11-15
Application Configuration Scenarios
11-16
Accessing Data on Other Computers
11-17
Application Configuration Scenarios
11-18
chapter
12-1
Installing Pervasive PSQL for Linux
12-2
Before You Install Pervasive PSQL for Linux
Full Pervasive PSQL offers full installations of both the RPM and TAR
Installations Linux packages. A full installation includes the necessary engine and
client files, utilities, and the complete user documentation. A full
installation does not include the word “full” in the package name.
The following table outlines the installation packages.
Table 12-1 Full and Client Linux Installations
1
Because of the minimal files included in the 64-bit client, the installation
package name includes the word “core.”
12-3
Installing Pervasive PSQL for Linux
Installing Determine the package name to use for the installation using the
Pervasive following table and the distribution media.
PSQL Server Table 12-2 Linux Server Package Names - RPM
for Linux - RPM
Installation Package Name
Type
12-4
Installing Pervasive PSQL Using RPM
Note Refer to Linux Server Package Names - RPM for the package
name to use. You must include the appropriate release and build
number information to perform the installation. Verify the complete
package name from the distribution media.
Upgrade Installation
If you have a previous version of Pervasive PSQL already installed,
you must uninstall that product and then install the Pervasive PSQL
v11 product.
See Uninstalling Pervasive PSQL for Linux for information on
uninstalling Pervasive PSQL.
12-5
Installing Pervasive PSQL for Linux
Installing the The name of the Pervasive PSQL Client installation package
Pervasive conforms to the following conventions:
PSQL Client for Table 12-3 Linux Client Package Names - RPM
Linux - RPM
Installation Package Name
Type
Note Refer to Linux Client Package Names - RPM for the package
name to use. You must include the appropriate release and build
number information to perform the installation. Verify the complete
package name from the distribution media.
12-6
Installing Pervasive PSQL Using RPM
Upgrade Installation
If you have a previous version of Pervasive PSQL already installed,
you must uninstall that product and then install the Pervasive PSQL
v11 product.
See Uninstalling Pervasive PSQL for Linux for information on
uninstalling Pervasive PSQL.
12-7
Installing Pervasive PSQL for Linux
12-8
Installing Pervasive PSQL Using TAR
Note Refer to Linux Server Package Names - TAR for the package
name to use. You must include the appropriate release and build
number information to perform the installation. Verify the complete
package name from the distribution media.
Upgrade Installation
If you have a previous version of Pervasive PSQL already installed,
you must uninstall that product and then install the Pervasive PSQL
v11 product.
See Uninstalling Pervasive PSQL for Linux for information on
uninstalling Pervasive PSQL.
12-9
Installing Pervasive PSQL for Linux
Note Refer to Linux Client Package Names - TAR for the package
name to use. You must include the appropriate release and build
number information to perform the installation. Verify the complete
package name from the distribution media.
12-10
Installing Pervasive PSQL Using TAR
Upgrade Installation
If you have a previous version of Pervasive PSQL already installed,
you must uninstall that product and then install the Pervasive PSQL
v11 product.
See Uninstalling Pervasive PSQL for Linux for information on
uninstalling Pervasive PSQL for more information.
12-11
Installing Pervasive PSQL for Linux
Verifying The following table provides commands with which you can verify
Installed which packages the RPM packager installed. The commands are case
Products With sensitive.
RPM Table 12-6 RPM Commands To Verify Pervasive PSQL Packages Installed
Verifying Optionally, after the installation script finishes, you can verify that
Database the database engine is running with the Linux ps utility. Type the
Engine is following at the command line:
Running ps -e | egrep mkded
Client All configuration settings for the Linux client are discussed in Linux
Configuration Client Configuration Parameters in the Advanced Operations Guide.
12-12
After Installing Pervasive PSQL for Linux
In this guide, see also Installing Pervasive PSQL Clients for Windows
and Configuring Network Communications for Clients for
additional information about clients.
User Count Once you have completed installation, you may need to update your
License user count license by using the clilcadm utility. The update can be
done anytime before using Pervasive PSQL from a client.
Information about how to do this can be found in Pervasive PSQL
User's Guide (see License Administration). Detailed information
about clilcadm can also be found in the Linux man pages. The
Pervasive PSQL User's Guide also explains clilcadm (see clilcadm and
w64clilcadm).
Note You must be a member of group pvsw to run the clilcadm utility.
See Pervasive PSQL Account Management on Linux for more
information.
Common If you are have problems with your installation, see Troubleshooting
Questions After After Installation or get help online from the Pervasive Knowledge
Installation Base at the Pervasive Web site. The following are common questions
after installation of the products:
Where Do Files Reside After Installing Pervasive PSQL?
How Do I Access the Documentation?
What If I Get Errors Trying To Start the Utilities?
12-13
Installing Pervasive PSQL for Linux
./bin Binary files, executable utilities and so forth Server and Client
./bin/plugins A directory pertaining to files for the utilities and Server and Client
documentation
pre-product installation
post-product installation
pre-product uninstall
post-product uninstall
12-14
After Installing Pervasive PSQL for Linux
Table 12-7 Primary Directories and Files for Pervasive PSQL Products Installed on Linux
./man/man1 Man pages for the command-line utilities Server and Client
Man Pages
Man pages are provided for the command-line utilities. To make
these man pages available, add $PVSW_ROOT/man to your MANPATH
environment variable.
Note that the man pages are installed with Pervasive PSQL Server
and with Pervasive PSQL Client. They are not installed as part of the
user documentation.
Documentation Library
The Pervasive PSQL Documentation Library contains the complete
set of user documentation, including the user documentation for the
Pervasive PSQL engine and software developer’s kit, as well as a
glossary of database terminology.
12-15
Installing Pervasive PSQL for Linux
Note that the viewer for the documentation library is integrated into
Pervasive PSQL Control Center (PCC). The documentation library
is accessed through the PCC interface on the Welcome view, in the
Help menu, by pressing F1 (Windows) or Shift F1 (Linux).
Release Notes
The release notes in readme.htm contain late-breaking news that
could not be included as part of the user documentation. The release
notes file is located in the /usr/local/psql/docs/ directory.
12-16
Uninstalling Pervasive PSQL for Linux
RPM Version The following table lists the RPM commands to uninstall the various
Pervasive PSQL packages. You must log in as the root user using the
“su” command before executing any of the commands.
Table 12-8 RPM Commands to Uninstall the Pervasive PSQL Packages
Note The uninstall program does not remove the system databases
DEFAULTDB and SYSTEMDB.
TAR Version The following table lists the shell scripts used to uninstall the various
Pervasive PSQL packages. You must log in as the root user using the
su command before executing any of the commands.
sh postuninstall.sh
12-17
Installing Pervasive PSQL for Linux
1
Assumes that the scripts are executed from the directory where they reside:
/usr/local/psql/etc
2
You may want to remove the uninstall scripts themselves after the product
is uninstalled. For example:
rm preunistall.sh
rm postunistall.sh
rm client*.sh
Example
To uninstall only the 64-bit client you would run the following:
/usr/local/psql/etc.clientpreuninstall.sh -a x86_64
/usr/local/psql/etc/clientpostuninstall.sh -a x86_64
12-18
chapter
13-1
Using Pervasive PSQL on Linux
Man Pages The man pages are installed with Pervasive PSQL Server or Client.
Refer to the directory $PVSW_ROOT/man/man1for the man pages
available.
To make these man pages easily accessible, add $PVSW_ROOT/man to
your MANPATH environment variable. If you need more detailed
information on a utility or application, see the chapter Command
Line Interface Utilities Pervasive PSQL User's Guide.
Note Check the man pages for the most current information. Every
effort is made to ensure that the information in this guide matches that
in the man pages. On occasion, last-minute changes may be included
in the man pages after this guide has been published.
Exclusions Because the Linux platform is unique, the following areas in the
Pervasive PSQL documentation do not apply to Linux.
The section Pervasive PSQL Event Logging in Advanced
Operations Guide regarding differs for Pervasive PSQL v11 on
Linux.
Pervasive PSQL v11 uses the standard Linux logging system.
Depending on the configuration of /etc/syslog.conf,
messages are sent to the syslogd daemon, which does one of the
following:
logs it in an appropriate system log
writes it to the system console
forwards it to a list of users
forwards it to syslogd on another host over the network
More information can be found in the man pages for syslogd
and syslog.conf.
13-2
Finding What You Need
13-3
Using Pervasive PSQL on Linux
After User psql has no password and can only be accessed through the
Installation root account by using the su command.
Behavior You can access the .bash_profile for user psql with ~psql/
.bash_profile.
All Pervasive files have user:group ownership psql:pvsw
You must be logged in as root to run the start and stop scripts
for the Pervasive PSQL engines.
You can run utilities on other user accounts if you add the
necessary environment variables to the user .bash_profile or
system /etc/profile as described in Using Utilities from Users
Other than psql.
In addition to the instructions outlined in Using Utilities from
Users Other than psql, users other than ROOT must be a
member of the group pvsw to perform functionality with the
following utilities:
Pervasive PSQL Control Center (PCC) to administer the
local server.
License Administrator utility (clilcadm) for functions
other than displaying current licenses.
Named Database Maintenance utility (dbmaint) for
functions other than displaying current databases.
Pervasive Services Registry Editor (psregedit) for
functions other than displaying the registry.
Linux command-line configuration (bcfg).
13-4
Pervasive PSQL Account Management on Linux
Using Utilities To use utilities from user accounts other than psql, you must first
from Users make modifications to the user account configuration. Add the
Other than psql following to either the profile for a specific user or to the profile that
all users inherit.
13-5
Using Pervasive PSQL on Linux
Configuration
Generally, the default configuration settings for Pervasive PSQL
Server and Client are sufficient. You typically do not have to
configure any settings for the database engine and clients to
communication and function together correctly. This subsection
discusses two settings that you may want or need to configure:
Configuration File
Authentication
If you want to explore all of the configuration settings, see the
chapter Configuration Reference in Advanced Operations Guide:
Authentication This option specifies which type of authentication to use for access
to the server engine. The available options are:
Emulate Workgroup Engine. Use this value when Samba is used
to authenticate user access on the system.
Proprietary Authentication (using btpasswd). Use this value
when not using Samba and the user does not have an account on
the server. This allows a separate password file to be maintained
when connecting to the Linux system.
If you are using BTPASSWD or PAM authentication on your
Linux server, user names and passwords must be set up using the
pvnetpass utility from clients connecting to this server. See
pvnetpass in the Pervasive PSQL User's Guide.
Standard Linux Authentication. Use this value when not using
Samba but users have accounts on the Linux system.
Supported Path From a Pervasive PSQL Client on a Windows platform, the order of
Formats for path parsing is as follows:
Samba \\server\share\relative\path
13-6
Configuration
Note Client users must be advised that share names on a Linux server
are case sensitive. When mapping drives to a Linux server they must
pay careful attention to the case of the share name if they want all their
utilities to work properly.
If neither smb.conf nor the share name are found, the path
defaults to \\server\absolute\path format. If the absolute
path is not correct, status 12 is returned.
13-7
Using Pervasive PSQL on Linux
Client Information
A Pervasive PSQL Client on Linux can connect to any of the
Pervasive PSQL Servers provided the client and server machines can
communicate with a shared protocol.
Authentication To connect to a remote machine using the Linux client, you need to
to Remote have authentication to the remote machines. This is accomplished by
Machines entering a specific username and password for the server using the
pvnetpass utility. This utility stores the username and password in
an encrypted format for that particular server in the Pervasive
registry on the client machine. If you do not specify user names and
passwords, your applications can receive status code 3119.
See pvnetpass in Pervasive PSQL User's Guide.
13-8
Setting Up Web-based Data Access
ODBC Behavior When you first install Pervasive PSQL, the odbc.ini file is written to
/usr/local/psql/etc
If you have other ODBC driver managers such as unixODBC, they
might be using a different odbc.ini file located, for example, at /etc/
odbc.ini.
One way to unify the ODBC setup is to add soft links from where
unixODBC expects the odbc.ini file to be located over to the
Pervasive PSQL directories.
su
cd /etc
ln -s /usr/local/psql/etc/odbc.ini
Configuring This section shows how you should set up the machine where the
Web Server web server such as Apache resides.
You should make the user account under which you run any web
server such as Apache a member of the group pvsw. These user
accounts run under restricted accounts such as nobody
To find the user account, see your Apache configuration file,
typically located at /etc/httpd/conf/httpd.conf
In this file, the following lines show what user the Apache server uses
to operate under.
User nobody
Group nobody
Options ExecCgi Indexes
You should add this user to the pvsw group, substituting the name
used in your Apache configuration file.
/usr/bin/gpasswd -a nobody pvsw
13-9
Using Pervasive PSQL on Linux
PHP PHP allows for easy development of web applications, using a style
that is similar to both ASP in the Microsoft world and JSP in the Java
world. Using PHP, you enclose database calls in special tags and
format the output using HTML.
PHP Sample
This complete sample presents the user a choice of three
DEMODATA tables and then displays the table.
<HTML>
<HEAD>
<TITLE>PVSW PHP Sample</TITLE>
</HEAD>
<BODY>
<?
// -------MAIN MENU----------------------------
13-10
Setting Up Web-based Data Access
if (!(isset ($HTTP_GET_VARS["_function"]))):
// --------------------------------------------
?>
<p>
<input type=submit value="Show table">
</p>
</form>
<?
// ------SHOWTABLE-----------------------------
Elseif ($HTTP_GET_VARS["_function"] ==
"showtable"):
// --------------------------------------------
$thetable = $HTTP_POST_VARS["selecttable"];
// determine from FORMS data which table to open
13-11
Using Pervasive PSQL on Linux
} // end odbc_fetch_row
13-12
Setting Up Web-based Data Access
// END OF SHOWTABLE
Else:
// ----------------------------------------------
Endif;
?>
</BODY>
</HTML>
Perl Perl allows for both command line and web-based applications using
Pervasive PSQL.
13-13
Using Pervasive PSQL on Linux
use DBI;
Perl Sample
This complete sample presents the user a choice of three
DEMODATA tables and then displays the table.
# Perl sample
use CGI":cgi-lib";
$cgiquery = new CGI;
$functionreq = $cgiquery->url_param('_function');
# use ‘url_param’ for GET and ‘param’ for POST
print &PrintHeader;
print &HtmlTop("Pervasive PSQL Hello World Sample -
Perl");
print <<ENDOFMENU;
<H1>Pervasive Hello World Samples - Perl</H1>
<P>
This sample will display the DEMODATA database
tables in the following drop-down
by using Perl/DBI.
</p>
ENDOFMENU
# -----MAIN MENU-------------------------------
13-14
Setting Up Web-based Data Access
if (!$functionreq) {
# ---------------------------------------
print <<ENDOFTEXT;
ENDOFTEXT
} # !($function)
# ------SHOWTABLE-------------------------------
print("<p>Return to <a
href='$ENV{'SCRIPT_NAME'}'>Perl Hello World Sample
- Main Menu</a></p>");
use DBI;
$dbInfo = "DBI:ODBC:DEMODATA";
$dbUserName = "";
$dbPassword = "";
$myRecordSet = $connect->prepare($query);
$myRecordSet->execute();
13-15
Using Pervasive PSQL on Linux
$num_fields = $myRecordSet->{NUM_OF_FIELDS};
$count = 0;
$count = 0;
while(@row=$myRecordSet->fetchrow_array) {
print "<tr>\n";
while ($count < $num_fields) {
print "<td>$row[$count]</td>\n";
$count++;
}
print "</tr>\n";
$count = 0;
}
else {
print &HtmlBot;
13-16
Using Perl and ODBC with Pervasive PSQL
13-17
Using Pervasive PSQL on Linux
13-18
chapter
Troubleshooting After
Installation 14
How to Proceed When You Encounter Errors During Installation
14-1
Troubleshooting After Installation
Troubleshooting Tools
The following table describes some tools that can help you avoid or
solve problems.
Table 14-1 Pervasive Tools that Assist in Installation and Problem
Determination
14-2
Troubleshooting Strategies
Troubleshooting Strategies
Pervasive Software hopes that your installation process completes
without experiencing any problems. However, this depends on a
number of factors, including proper network support, and operating
system configuration.
If something does go wrong during an installation, Pervasive offers
some tools that can help in diagnosing the problem. This chapter
explores some of the troubleshooting techniques that you can use.
Note If the installation fails for any reason, the installation log
file can be found in the Windows %Temp% directory.
Checklist for R Did you see any error messages displayed during installation?
Problems R Does the Network function correctly?
R Do you have the appropriate administrator-level privileges?
R Is the Engine running?
R Is the Client software correctly functioning?
R Are there errors in your PVSW.LOG file?
Troubleshoot The rest of this section contains procedures that you can use in
the Problem verifying your installation.
Configuration for Special Installation Situations
Diagnosing Problems with Pervasive System Analyzer (PSA)
Verifying Database Engine is Running
Obtaining File, Client, and Engine Version Number
How to Get Additional Help
14-3
Troubleshooting After Installation
14-4
Diagnosing Problems with Pervasive System Analyzer (PSA)
14-5
Troubleshooting After Installation
Windows You can use the Services function of the Windows control panel.
Server (Non-
Vista) ³ To check Pervasive Services on Windows servers
using the Control Panel
1 At the operating system, open Services under Administrative
Tools.
2 Scroll the list of services until you reach the following services.
Pervasive PSQL Transactional Engine
Pervasive PSQL Relational Engine
Both of these services must be started if Pervasive PSQL is to
function correctly.
The Status column displays whether or not the service is
currently running. The Startup column indicates whether the
service is set to automatically start on system startup or start
manually.
Figure 14-1 Displaying the Services Status
14-6
Verifying Database Engine is Running
Windows To verify that the Pervasive PSQL v11 workgroup engine is running:
Workgroup
³ To start the Pervasive Workgroup engine
1 From the Start menu, select Engines from the Pervasive
program.
2 Click Start Workgroup Engine.
By default, the MicroKernel allocates resources and is ready to
service local application database requests.
Note You will receive a warning message when trying to stop the
engine if any of the following is true:
Linux Server You can verify that the engine (mkded) is running with the Linux ps
utility:
Type the following at a command line:
ps -e | egrep ‘mkded’
14-7
Troubleshooting After Installation
Determining You can check the engine and client versions using Function
Client and Executor on Windows platforms or using the BUTIL command-line
Engine Version utility on all platforms. Function Executor is a utility that simulates
Btrieve client operations using the Pervasive PSQL requesters.
14-8
Obtaining File, Client, and Engine Version Number
The requester and engine versions are then displayed. You cannot
determine the version of a remote server engine with this tool.
Determining a You can determine the file version of a MicroKernel data file using
File Version the Pervasive PSQL v11 utilities. On the Windows platform, use
Control Center, Function Executor, DDF Builder, or Btrieve
Maintenance. On any platform, use the BUTIL command-line
utility. The following provides information on using a few of these
methods.
14-9
Troubleshooting After Installation
Figure 14-4 Obtaining a File Version with the Pervasive PSQL Control Center
14-10
Obtaining File, Client, and Engine Version Number
14-11
Troubleshooting After Installation
14-12
Engine and Client Version Conflicts
14-13
Troubleshooting After Installation
14-14
Troubleshooting Common Pervasive PSQL Issues
See the Status Codes and Messages manual for more cases in which
this status code can be returned.
14-15
Troubleshooting After Installation
14-16
Issues After Uninstalling Pervasive PSQL on Windows
14-17
Troubleshooting After Installation
14-18
Index B
Before you install
common questions 2-11
Pervasive PSQL for Linux 12-2
A Windows client 5-2
About Pervasive PSQL Windows server 4-2
engines 1-8 Windows workgroup 6-2
relational or transactional access 1-3 BTRBOX Requester 10-25
Accessing installation 5-7
data on other computers 11-17 Btrieve
documentation in Linux 12-15, 14-16 file conversion 3-4
documentation in Windows 7-4 older versions, problems with 14-15
remote server engines 11-15 Btrieve DOS
Active Directory 11-4 Pervasive Access Methods 2-6
administrative rights required for 11-4 BUTIL
create Pervasive_Admin group on domain determining file version 14-9
controller 11-5
directory and file permissions 11-4 C
grant log on privileges to Pervasive_Admin group Changes, configuration
11-8 effects not seen 14-14
installation of Pervasive PSQL with 2-13 Changing
Pervasive PSQL clients used with 11-4 default communication ports 10-13
tasks 11-5 Checklist
use of Terminal Services with 11-4 for installation 2-10
ActiveX Interface Controls for installation troubleshooting 14-3
Pervasive Access Methods 2-6 Citrix MetaFrame
Administrative rights installing Pervasive PSQL on 2-12
for Active Directory 11-4 Client
ADO.NET Provider determining version 14-8
Pervasive Access Methods 2-6 DOS support 10-25
After Installing Pervasive PSQL for Linux 12-12 encoding 10-19
behavior 13-4 engine for Windows 2-4
Application data files installation 5-3
in Pervasive PSQL 7-3 installed with Workgroup engine 7-4
Applications network communication settings 10-2
configuration scenarios 8-1 SPX support 10-12
configuring for multiple 11-14 TCP/IP support 10-10, 10-16
developing with Pervasive PSQL 1-10 Client configuration
not using Workgroup engine 14-15 in Linux 12-12
restarting after improper program exit 14-15 on Linux 12-12
Authentication Client encoding 10-18
for Linux 13-6 interaction with database code page 10-19
Authentication to Remote Machines 13-8 Client engine
Automatic encoding 10-18 32-bit for Windows 2-5
64-bit for Windows 2-5
install image 7-4
Index 1
installation 5-1 server engine with two network cards 9-5
installation location 2-11 SPX support for Windows server 9-6
installed after server 2-13 TCP/IP on Windows server 9-4, 9-8
using 64 bit with Workgroup engine 7-3 web server 13-9
Client Information workgroup engine 8-15
for Linux 13-8 Connectivity
Client installation testing 14-1
on Linux 12-2 Create File Version
Client requesters multiple applications and 11-12
concepts 5-8 Creating a Client DSN 13-8
Client version conflicts Creating, new database
troubleshooting 14-13 with Workgroup engine using PCC (Windows
Client/server configuration Vista) 14-14
workgroup engine 8-2, 8-5 Custom Setup
Cobol Schema Executor installation option 2-3
Utilities 2-8
Code page 10-18 D
Code Snippet for Perl and DBI 13-17 Data
Common Questions After Installation 12-13 accessing on other computers 11-17
Communication ports Data Dictionary File Builder
changing defaults 10-13 Utilities 2-8
Communication, network Data Source Names
client settings 10-2 handling 3-4
Communications Data translation 10-18
testing 14-5 Database code page 10-18
troubleshooting 14-5 interaction with client encoding 10-19
Complete Setup Database encoding 10-18
installation option 2-3 Database engine
Configuration checking status 14-6
database code page 10-18 uninstall on Linux 12-17
on Linux 13-6 uninstalling on Windows 7-6
Configuration changes Default communication ports
effects not seen 14-14 changing 10-13
Configuration File Determining
for Linux 13-6 type of network 9-2
Configuration parameters Developing
for server authentication 13-6 applications with Pervasive PSQL 1-10
Configuration settings Diagnosing
affected by multiple applications 11-12 system problems 14-5
migration of existing, during upgrade 3-4 Disabling administrative functions
other 2-15 in Terminal Services 11-2
to restrict access on Terminal Services 2-14 DNS
Configuring used to configure Server IP address (Linux) 10-16
application scenarios 8-1 used to configure Server IP address (Windows)
for special installation situations 14-4 10-10
multiple applications, for 11-14 Documentation
2 Index
accessing 14-16 optional in Pervasive PSQL 2-6
accessing in Linux 14-16 File Conversion 3-4
accessing in Windows 7-4 Btrieve 3-4
accessing on Linux 12-15 rebuild utility 3-4
installing as an optional feature 2-8 scalable SQL 3-4
DOS File locations
components 14-15 for Pervasive PSQL 7-2
components, troubleshooting 14-15 File version
utilities 14-15 determining 14-9
DOS box 10-25 Files
preferred for Windows platforms 10-26 difference between 32-bit and 64-bit 7-3
DOS requesters 5-8 installed on Linux 12-14
ODBC not supported 10-25 services 10-14
using 10-25 Finding what you need
with Active Directory 11-4 using Pervasive PSQL on Linux 13-2
Downloading Fixed gateway engine 8-9
Pervasive PSQL installation file 2-14 setting up 8-10
DTO Floating gateway engine 8-9
Pervasive Access Methods 2-7 setting up 8-10
Frame type 9-6
E Full installations for Linux 12-3
Encoding 10-18
ANSI 10-20 G
automatic 10-18 Gateway engine
client 10-18, 10-19 configuration 8-3, 8-9
interaction between client and database code page definition of 8-3
10-19 fixed, definition of 8-9
OEM 10-20 fixed, setting up 8-10
Engine floating, definition of 8-9
checking status 14-6 floating, setting up 8-10
determining version 14-8 locator file, definition of 8-3
features compared 1-9 Gateway Locator File
network communication settings for Pervasive definition of 8-3
PSQL 9-3 Gateway Locator Utility 8-11, 14-2
relational 1-6 changing workgroup engine 8-13
running on Terminal Services 4-2 locating workgroup engine 8-13
running Workgroup as service 8-15 Group
stopping Workgroup as service 8-16 pervasive_admin TCP/IP support on Windows
transactional 1-4, 1-5 9-3
troubleshooting version conflicts 14-13
Environment space 14-16 H
Exclusions Handling
in Linux 13-2 Data Source Names (DSNs) 3-4
Hosts file
F used to configure Server IP address in Linux 10-
Features 17
Index 3
used to configure Server IP address in Windows Windows client 5-2
10-10 Windows server 4-2
Windows workgroup 6-2
I with Active Directory 2-13
install.log file 4-4, 5-3, 14-3 with Citrix MetaFrame 2-12
for workgroup engine 6-3 with Microsoft Cluster Services 2-12
Installation with Terminal Services 2-12
before you begin on Linux 12-2 workgroup for Windows 6-3
BTRBOX Requester 5-7 IP address, for server
checklist 2-10 configuring using DNS in Linux 10-16
client 5-3 configuring using DNS in Windows 10-10
client for Windows 5-1 configuring using hosts file in Linux 10-17
image for Client engine 7-4 configuring using hosts file in Windows 10-10
location for client software 2-11 IPX/SPX 10-12
location for clients accessing web applications 2-
13 J
location for downloaded file 2-14 Java Runtime Environment (JRE) 2-9
location for server 2-11 JCL
location for workgroup 2-11 Pervasive Access Methods 2-7
log file location 4-4, 5-3, 6-3, 14-3 JDBC Driver
on Terminal Services 4-2 Pervasive Access Methods 2-7
options 2-3
over existing Pervasive products 3-2 L
overview 2-2 License
problems during 14-1 installed with Pervasive PSQL 3-5
requirements 2-2 Licenses
requirements for Workgroup engine 8-2 installed with Pervasive PSQL 7-5
review 2-10 migrating from previous versions 2-14
Samba 12-2 updating or verifying 7-4
scheduling upgrade 2-10, 2-14 Linux
server for Windows 4-1, 4-4 accessing documentation 12-15
sever or client first 2-13 authentication 13-6
tips for Server engine on Windows 4-2 before you install 12-2
tips for Workgroup engine on Windows 6-2 client configuration 12-12
troubleshooting 14-2, 14-3, 14-14 client information 13-8
troubleshooting checklist 14-3 client installation 12-2
Workgroup 6-3 configuration 13-6
workgroup engine for Windows 6-1 configuration file 13-6
Installation, special situations cserver installation 12-2
troubleshooting 14-4 engine status 14-6
Installing exclusions 13-2
Linux client using RPM 12-6 files installed 12-14
Linux client using TAR 12-10 installation 12-1
Linux server using RPM 12-4 man (manual) pages 13-2
Linux server using TAR 12-8 path formats 10-8, 13-6
server on Linux 12-1 platform notes 12-2
4 Index
pre-installation notes 12-2 testing 14-5
readme 12-16 Network server
user count licenses 12-13 from terminal services 11-2
user environment 13-4
Locations O
for installing client engine 2-11 ODBC
for installing clients accessing web applications 2- Administrator 1-6
13 not supported with DOS requesters 10-25
for installing server engine 2-11 ODBC Behavior 13-9
for installing workgroup engine 2-11 OEM/ANSI 10-20
no longer used by Pervasive PSQL 7-2 OLE DB
of files installed 7-2 Pervasive Access Methods 2-7
Locator file, see Gateway locator file Optional features
ActiveX Interface Controls 2-6
M ADO.NET Provider 2-6
Man pages 13-2 Btrieve DOS 2-6
MicroKernel Database Engine 1-5 Cobol Schema Executor 2-8
Microsoft Cluster Services Data Dictionary File Builder 2-8
installing on 2-12 Documentation 2-8
Migrating DTO 2-7
configuration settings 3-4 in Pervasive PSQL 2-6
licenses from previous versions 2-14 JCL 2-7
Multi-engine systems 11-15 JDBC Driver 2-7
Multiple applications OLE DB 2-7
configuring for 11-14 PDAC 2-7
for clients 11-12 Pervasive Access Methods 2-6
Multiple network cards Pervasive Control Center 2-8
configuring server engine for 9-5 Pervasive System Analyzer(PSA) 2-8
Utilities 2-7
N Xtreme I/O (Server 32-bit Only) 2-6
NetBIOS Options
not supported by Server engine 9-2 for Complete installation 2-3
Network for Custom installation 2-3
determining what type 9-2 for installation 2-3
path formats 10-3 Overview
path formats, UNC 10-3 for installation 2-2
path formats,drive-based 10-8 Pervasive PSQL 1-2
path formats,Linux 10-8 Pervasive PSQL engines 1-8
removing unused protocols 9-9
setting up SPX for Windows server 9-6 P
setting up TCP/IP for Windows server 9-4, 9-8 Path formats
Network cards drive-based 10-8
configuring server engine for multiple 9-5 Linux 10-8
Network communications network 10-3
settings for clients 10-2 UNC 10-3
settings for Pervasive PSQL engines 9-3 PATH too long error 14-16
Index 5
PDAC Pervasive_Admin security group
Pervasive Access Methods 2-7 use with Active Directory 11-4, 11-5, 11-8
Peer-to-peer configuration PHP 13-10
workgroup engine 8-2, 8-7 Platform notes
Perl 13-13 Linux 12-2
Pervasive Access Methods Windows 4-2
ActiveX Interface Controls 2-6 Ports, communication
ADO.NET Provider 2-6 changing default 10-13
Btrieve DOS 2-6 Post installation
DTO 2-7 common questions 7-2
JCL 2-7 Pre-installation notes, Linux 12-2
JDBC Driver 2-7 Previous version
OLE DB 2-7 upgrading from 3-1, 3-2
optional feature 2-6 Program files
PDAC 2-7 difference between 32-bit and 64-bit 7-3
Pervasive Control Center in Pervasive PSQL 7-3
Utilities 2-8 Protocol
Pervasive PSQL determining correct 9-2
about 1-2 IPX/SPX 10-12
about relational or transactional access 1-3 NetBIOS not supported by server 9-2
about the engines 1-8 removing unused 9-9
application data files 7-3 PVSW\BIN
engines 2-4, 2-5 no longer used 7-2
engines, status of 14-6
files location 7-2 R
installation 6-1 Readme
license installed 3-5 for Linux 12-16
licenses installed 7-5 Rebuild utility 3-4
optional features 2-6 Relational engine 1-6
products 2-4 ODBC Interface 1-6
program files 7-3 Release notes
PVSW\BIN location 7-2 as part of installation 4-2, 5-2
relational engine 1-6 Remote
server engine overview 1-8 server engine access 11-15
Software Developer Kit (SDK) 1-10 Remote applications
transactional engine 1-4 concurrent with local 11-14
troubleshooting 14-14 Removing
Pervasive PSQL Account Management on Linux 13- unused network protocols 9-9
4 Requesters
Pervasive PSQL Workgroup engine preferred for Windows platforms 10-26
overview 1-8 trace 5-8
Pervasive Software Website 14-18 types for Windows 5-8
Pervasive System Analyzer (PSA) 14-5 used with Active Directory 11-4
Utilities 2-8 Requesters, client
Pervasive_admin concepts 5-8
and TCP/IP support on Windows 9-3 Requesters, DOS 5-8
6 Index
Requirements Services
for installing 2-2 checking status 14-6
Restarting applications Services File 10-14
after improper program exit 14-15 Setting up
Restricting user access Web-based data access 13-9
on Terminal Services 2-14 Settings
Review for configuration 2-15
for installation 2-10 Setup Type
Rights Complete 2-3
administrative authority for Active Directory 11- Custom 2-3
4 Software Developer Kit (SDK) 1-10
Terminal Services 4-2 environment 1-11
RPM Version 12-17 programming languages 1-11
Running SPX
Workgroup engine as a service 8-15 frame type 9-6
setting up for Windows server 9-6
S support for clients 10-12
Samba installation 12-2 Status 7012, when creating a new database
Scalable SQL with Workgroup engine using PCC (Windows
file conversion 3-4 Vista) 14-14
Security Status 95
pervasive_admin support for TCP/IP on after running applications successfully 14-14
Windows 9-3 Status, of database engine 14-6
workgroup engine and 8-2 Stopping
Server Configuration 12-12 Workgroup engine as a service 8-16
Server engine Supported Path Formats for Samba 13-6
32-bit for Windows 2-4
64-bit for Windows 2-4 T
compared to Workgroup 1-9 TAR Version 12-17
for Windows 2-4 TCP/IP
installation 4-1, 4-4 for clients 10-10, 10-16
installation location 2-11 setting up for Windows server 9-4, 9-8
installed before client 2-13 Technical Support 14-18
mixed engine systems 11-15 Terminal Server
NetBIOS not supported 9-2 as network server 11-2
on Linux 12-1 Terminal Services 11-2
Server installation disabling administrative functions 11-2
on Linux 12-2 installing on 2-12, 4-2
Server IP Address permissions 4-2
configuring using DNS (Linux) 10-16 restricting user access 2-14
configuring using DNS (Windows) 10-10 running the engine with 4-2
configuring using hosts file in Linux 10-17 use within Active Directory environment 11-4
configuring using hosts file in Windows 10-10 Testing
Service network connectivity 14-5
running Workgroup engine as 8-15 Tips
stopping Workgroup engine as 8-16 for installing Server engine on Windows 4-2
Index 7
for installing Workgroup engine on Windows 6-2 optional features 2-7
Trace Requesters 5-8 Pervasive Control Center 2-8
Transaction Durability Pervasive PSQL 2-6
multiple applications and 11-13 Pervasive System Analyzer (PSA) 2-8
Transactional engine 1-4, 1-5 Rebuild 3-4
Translate data 10-18
Translation V
data encoding 10-18 Verifying
Troubleshooting 14-1 database engine is running 12-12
after installation 7-2 engine status 14-6
after uninstalling 14-17 installed products with RPM 12-12
communications 14-5 licenses 7-4
DOS components 14-15 Version
engine and client version conflicts 14-13 determining in files 14-9
installation 14-14 engine and client 14-8
strategies 14-3 troubleshooting conflicts 14-13
tools 14-2
Types of installation
Complete 2-3
W
Custom 2-3 Web applications
client installation location 2-13
Web Server
U configuring 13-9
Uninstall Web site
Pervasive PSQL Server on Linux 12-17 Pervasive Software 14-18
Uninstalling Win32 DOS Box Support 5-7
files not removed by 14-17 Windows
Pervasive PSQL on Windows 7-6 accessing documentation 7-4
Uninstalling Pervasive PSQL for Linux 12-17 installation error "PATH statement too long" 14-
Universal Naming Convention See Network path 16
formats, UNC. pervasive_admin group and TCP/IP support 9-3
Updating platform notes 4-2
licenses 7-4 types of requesters 5-8
Upgrading Workgroup engine
from a previous version 3-1, 3-2 and Client (64-bit) 7-3
installation 2-10, 2-14 applications not using 14-15
migration of existing configuration settings 3-4 compared to Server engine 1-9
User count licenses configuration 8-15
Linux 12-13 for Windows 2-4
User environment gateway configuration 8-3, 8-9
in Linux 13-4 installation 6-1, 6-3
Using Perl and ODBC with Pervasive PSQL 13-17 installation location 2-11
Using Utilities from Users Other than psql 13-5 installation requirements 8-2
Utilities installing client with 7-4
Cobol Schema Executor 2-8 mixed engine systems 11-15
Data Dictionary File Builder 2-8 peer-to-peer configuration 8-2, 8-7
Gateway Locator Utility 8-11, 8-13, 14-2 running as a service 8-15, 11-3
8 Index
security and 8-2
small client/server configuration 8-2, 8-5
stopping as a service 8-16
X
Xtreme I/O (Server 32-bit Only)
optional feature 2-6
Index 9
10 Index