Lock manager: couldn't set uid to superuser

This warning message shows up when you are trying to use a direct connection to database file on Linux using Firebird Classic, and you are not the root user. If you are trying to use Classic as embedded database, this is normal behavior and you can safely ignore it. If you hate seeing it, you can either:

a) attach to any database as root to start the lock manager (make sure you use the same server version)
b) attach to it earlier (error message appears only once when lock manager is started)
c) add the user to firebird group (this works with Firebird 2)

If you are not trying to use Firebird as embedded engine (but rather as a regular server), than you should disconnect and connect using the hostname: prefix in the connection string (to learn what is a connection string, read FAQ #260). Something like:


instead of just:


Please note that you will need to provide username and password in that case.

isql localhost:/path/to/database.fdb -user sysdba -pass ******

Do you find this FAQ incorrect or incomplete? Please e-mail us what needs to be changed. To ensure quality, each change is checked by our editors (and often tested on live Firebird databases), before it enters the main FAQ database. If you desire so, the changes will be credited to your name. To learn more, visit our add content page.

All contents are copyright © 2007-2024 FirebirdFAQ.org unless otherwise stated in the text.

Links   Firebird   News   FlameRobin   Powered by FB: Home Inventory   Euchre  
Add content   About  

 Installation and setup
 Backup and restore
 Connectivity and API
 Errors and error codes