Fixing Status 161
Fixing Status 161
with
Pervasive PSQL v10
Pervasive PSQL v10 uses a different licensing scheme than previous versions of
Pervasive PSQL used, which has led to a lot of confusion in the installation and
implementation of the database engine for both Server engines and Workgroup engines
alike.
This paper explains how to check your licenses and determine why you may be seeing a
Status 161 (Out of Pervasive Licenses) in your environment. It is broken down into 6
sections:
1. Determining Your Engine Version and Type
2. Determining Your Engine Platform and Bit Level
3. Determining Your License Information
4. Verifying that Licenses Are Installed Properly
5. Counting the Licenses Currently In Use
6. Troubleshooting Common License Problems
If you have PSQLv10.10 or earlier, your box may look slightly different, but it will still
convey most of the same information.
You should see one entry in this screen for each installed license. As you can probably
imagine, you are checking for several traits of the installed licenses:
1. Version and License Type: Verify that the information under "Product" matches
your installed engine information, both in terms of the Version (PSQLv9 versus
PSQLv10) and the License Type (Server versus Workgroup).
2. License Type: This is a slightly different use of the term than what we used
above, which in this case can either be Permanent or Temporary. If you are
running a trial license, then you may still see a Temporary license in this screen.
but it should disappear after it the Expiration Date has past. All purchased
licenses should show up as Permanent.
3. Platform and Bit Level: In the Platform column, you will see one of several
different values, such as Win32, Win64, Linux32, Linux64. Pervasive also has
some special-use platform values, like Any. Verify that the platform and bit level
match what you have installed.
4. User Count: Verify that the purchased User Count on your license matches the
displayed number here. If you have multiple licenses installed, and if they are all
the same platform, bit level, version, and engine type, then you should add up the
licenses shown here to get your total user count.
5. State: New to PSQLv10 is the "state" of a license, which may be Active or
Deactivated. Pervasive uses an electronic license process to prevent software
piracy that can deactivate your license if it determines that the underlying
machine has substantially changed. You should verify that the license state is
showing as Active in this column.
3. In the Maximum column for the Licenses In Use row, verify that the number of
licenses being reported matches the number of licenses installed. If these do not
match, then please go back to the previous section and review your installed
license information.
4. Finally, look at the Current column to see how many licenses are currently in
use, as seen by the database engine. In this case, we see that TWO licenses are
currently in use, which leaves us with 4 more concurrent users available on this
server.
When you look at the Current Licenses In Use value, it should match the number of
computers that are currently accessing the database engine. If this number does not
match what you THINK is currently running, then you may have to verify what is
running on each computer. Note that when an application is not "properly" terminated, it
may leave a connection to the database open. Further, if a workstation crashes, the
database connection can survive for up to two hours before it is terminated automatically
by the engine, which can also impact your license count.
To check which machines are currently accessing the engine, follow these steps:
1. Go to the server's console and start the Pervasive Monitor utility.
Information Provided By Goldstar Software Inc.
http://www.goldstarsoftware.com
Page 6 of 10
2. In the menu, select Microkernel, and then Active Users.... You will see a dialog
box similar to the following:
3. Write down the Network Address information onto a piece of paper. In this
case, the connection is coming from a computer at TCP/IP address 192.168.1.11.
This represents one license. Some network addresses will show up with a suffix,
like $1, $2, etc. These suffixes indicate that a remote desktop connection is
running from the stated machine. Each remote desktop connection is tracked as a
separate license and must be counted separately. You can also note the user name
shown (reported only for server engines) and contact that user to verify that they
are still using the system. Workgroup Engines report connection names of "Client
#...", but with the smaller environment, it shouldn't be too hard to figure out who
it is.
4. Next, click on the other connects shown in the upper left corner and continue
writing down each address that shows up there. When we click on the second
connection, we get this screen:
Note that this is ALSO a local connection. The database engine sees multiple
connections coming from the same computer as a single license, so we do NOT
count this separately.