firebird icon indicating copy to clipboard operation
firebird copied to clipboard

Firebird3 stucks in Linux Virtural machine.

Open zheyxu opened this issue 3 years ago • 3 comments

Hi, Firebird stucks in the command CREATE DATABASE or CONNECT. It worked well before but when I ran the command sudo gsec -database. It stucks at CREATW or CONNECT DATABASE. Thanks for any hints! ~$ sudo isql-fb Use CONNECT or CREATE DATABASE to specify a database SQL> CREATE DATABASE 'test.fdb' USER 'test' PASSWORD 'test';

zheyxu avatar May 30 '22 23:05 zheyxu

Did you exit gsec? What server mode is your Firebird instance configured? It sounds like either gsec has an exclusive lock on the security database, or that the embedded connection from isql tries to get an exclusive lock, and thus waits.

As an aside, gsec is deprecated since Firebird 3.0. It is highly recommended to use the SQL user management statements instead.

mrotteveel avatar May 31 '22 08:05 mrotteveel

On 5/31/22 02:20, Zheyuan-Robert-Xu wrote:

Hi, Firebird stucks in the command CREATE DATABASE or CONNECT. It worked well before but when I ran the command sudo gsec -database. It stucks at CREATW or CONNECT DATABASE. Thanks for any hints! ~$ sudo isql-fb Use CONNECT or CREATE DATABASE to specify a database SQL> CREATE DATABASE 'test.fdb' USER 'test' PASSWORD 'test';

Support questions to be asked here: https://groups.google.com/g/firebird-support

AlexPeshkoff avatar May 31 '22 08:05 AlexPeshkoff

Thanks Alex, I exited gsec and I use Ubuntu. And the command sudo killall gsec fixes it.

zheyxu avatar May 31 '22 23:05 zheyxu