License problems do not always look like license problems.
An application starts reporting connection failures. Database features become restricted. An instance behaves differently after a server migration. It is easy to spend hours investigating network settings or database configuration before discovering that the actual problem is the license.
In GBase Database (GBase 8s), three common license-related issues deserve attention: license expiration, connection limits, and hardware binding.
Fortunately, all three can be investigated using the same starting point.
1. License Expiration: Check Time Limit and Start Time
Typical symptoms:
- Database features become restricted unexpectedly.
- The instance behaves differently without any configuration changes.
- Previously available capabilities are no longer accessible.
Start by checking the license information:
onpsc -q Look for these two fields:
Time limit 2026-12-26 08:38:09 Start time 2025-12-25 08:38:09 Do not check Time limit alone.
The Start time is equally important because it establishes when the license validity period began.
For example, if a one-year license started six months ago, approximately six months remain — not another full year.
After expiration, GBase Database may enter a restricted operating mode. Do not wait for application errors to reveal the problem.
How to troubleshoot:
- Run
onpsc -q. - Compare
Time limitwith the current date. - Check
Start timeto understand the actual license period. - If renewal is required, follow the license replacement procedure using
pfrl.ini. - Restart the instance and verify the updated license information.
GBase Database uses a file-based licensing mechanism, so replacing the license file is the standard renewal procedure. The operation still requires proper backup, restart planning, and verification.
2. Connection Limit: Compare License Capacity with Application Pools
Typical symptoms:
- Connections work normally during off-peak hours.
- Intermittent connection failures occur during peak traffic.
- Application logs report connection establishment failures rather than SQL execution errors.
Check the following field in the license output:
Connect limit 30 This value represents the maximum concurrent connection count permitted by the license.
A common configuration mistake is comparing the license limit with the connection pool of only one application instance.
Consider this example:
| Application instance | Maximum pool connections |
|---|---|
| Application A | 30 |
| Application B | 30 |
| Application C | 40 |
| Total | 100 |
If the license connection limit is 30 but the combined application pool ceiling is 100, the application environment can potentially request far more connections than the license permits.
The result may be connection establishment failures under peak load.
How to troubleshoot:
- Run
onpsc -qand identifyConnect limit. - Collect the maximum connection pool settings from every application instance.
- Calculate the combined configured pool capacity.
- Compare the total with the license limit.
- Review actual concurrent connections and application connection behavior.
The important distinction is between configured pool capacity and actual concurrent usage. A pool ceiling does not mean every connection is permanently open, but it determines how much connection demand the application can generate.
If the license limit is insufficient, review connection pool sizing or request an appropriate license adjustment.
3. Hardware Binding: Check the NIC MAC Address
Typical symptoms:
- The database fails to start after moving to another server.
- An environment clone behaves differently from the original.
- Database capabilities become restricted after a hardware or virtualization change.
Some GBase Database licenses are associated with a network interface MAC address.
Check the address recorded in the license information:
MAC Address 0cc47aa9d8d2 Then inspect the server's network interfaces:
ip link | grep -i ether Compare the MAC address in the license output with the actual network interface address.
One detail matters: onpsc displays the MAC address as twelve continuous hexadecimal characters, without colons.
For example:
License: 0cc47aa9d8d2 System: 0c:c4:7a:a9:d8:d2 These represent the same address.
Why does this happen?
A hostname can remain unchanged after a machine migration, but the network interface address may change.
If the license is bound to the previous NIC address, the new environment may no longer match the licensed hardware identity.
This makes hardware binding particularly important during:
- Physical server replacement
- Virtual machine migration
- Environment cloning
- Network interface replacement
- Infrastructure rebuilding
Before migrating a GBase Database instance, check the license binding requirements and confirm the appropriate license update procedure with the vendor.
4. One Command for All Three License Problems
All three troubleshooting categories share the same entry point:
onpsc -q The output provides several groups of license information:
| Information group | Key fields | Related issue |
|---|---|---|
| Identity | Product and hardware information | Hardware binding |
| Term | Start time and time limit | License expiration |
| Capacity | Connect limit | Connection failures |
| Capability | Enabled features and switches | Restricted functionality |
Instead of immediately investigating network settings, SQL statements, or application configuration, check the license output first.
It takes only a few seconds and can eliminate several unnecessary troubleshooting directions.
5. Recommended Troubleshooting Order
When a GBase Database instance behaves unexpectedly, use this sequence:
- Check expiration: Is the license still within its validity period?
- Check connection capacity: Does the connection limit match the application's expected concurrency?
- Check hardware binding: Does the recorded MAC address match the current server environment?
- Check capabilities: Are the required database features enabled?
- Apply the appropriate correction: Renew the license, adjust capacity, or resolve hardware binding through the approved licensing procedure.
- Verify again: Run
onpsc -qand confirm that the license information matches the expected configuration.
This approach is especially useful after license renewal, server migration, environment cloning, or unexpected connection failures.
Conclusion
License troubleshooting in GBase Database (GBase 8s) does not need to begin with complicated network or database diagnostics.
Three common problems — expiration, connection limits, and hardware binding — can all be investigated through onpsc -q.
The key is knowing which fields to read and how to interpret them.
A license is part of the database operating environment, not just an installation requirement. Checking it early can save hours of unnecessary troubleshooting.