User Tools

Site Tools


Installing PSQL on Linux Systems

This is a step by step guide to uninstalling a previous version of Pervasive SQL and installing a newer one.

Tested on a CentOS 5.6

Logging on to the server

The first thing you gotta do is to login to the linux box; My personal favorite is puTTy You can download it here:

Choose the PuTTy.exe for Windows

Note that I tested this on a CentOS 5.6

We need to know what distribution is the linux box. You can ask the customer for this information, in case he doesn't know run this command

cat /etc/*release*

Uninstalling Pervasive v10 and any other versions (came from our FTP Site)

Make sure everyone is off System5 Run the pervasive Monitor on a windows client machine default login would be admin and no password is required

Login to the Linux box and stop the psql services:

/etc/init.d/psql stop

You would need to determine what RPM package is installed on the system.

rpm -qa | grep Pervasive

Assuming Pervasive.SQL-10.13-034.000.i486 is the output of the above command and they are running on PSQL v10

To uninstall pervasive run this command

rpm -e Pervasive.SQL-10.13-034.000.i486

If you have challenges uninstalling Pervasive SQL rpm package, you can run this command

rpm -e --noscripts Pervasive.SQL-10.13-034.000.i486


Make a downloads folder in the root drive:

mkdir downloads

Create a folder on /downloads/pervasive and navigated into it.

mkdir /downloads/pervasive
cd /downloads/pervasive
rpm -ivh Pervasive.SQL-10.13-034.000.i486.rpm

To retain drive space: (This will delete the installer)

rm -rf Pervasive.SQL-10.13-034.000.i486.rpm

To verify if properly or is installed run these command

rpm -qa | grep Pervasive

To start the service on boot time (incase it restarts scheduled or unscheduled) run these commands:

chkconfig --levels 235 psql on
/etc/init.d/psql start

Verify that mkded is running

ps -e | egrep .mkded

If the output is: Pervasive.SQL-10.13-034.000 Then its good.

Now that networking is enabled run this code to re verify.

netstat -tap | grep psql

By default: location for the PVSW is


Adding PSQL Keys

To add the pervasive key for the customer manually edit: Logon to a windows workstation and install the pervasive client that you normally would: Run the Pervasive License Administrator and apply the license there

Note: When logging on to the server, the default user is admin and no password is required

linux_installing_pervasive.txt · Last modified: 2011/06/21 16:29 by ihernandez