gbak "Unable to complete network request" on Firebird 3.0 restore

10 views
Skip to first unread message

Aldo Caruso

unread,
Sep 25, 2026, 9:39:27 AM (19 hours ago) Sep 25
to firebird...@googlegroups.com

Hello,

    I'm migrating a server from Ubuntu 22.04 to Ubuntu 26.04, keeping Firebird 3.0

When trying to restore the database running the following command

/usr/bin/gbak -r o -v -se localhost:service_mgr -user sysdba -password $sysdba_psw $backup $alias

I get the following error

gbak: ERROR:Unable to complete network request to host "localhost". gbak: ERROR: Failed to establish a connection. gbak:Exiting before completion due to errors

Environment

Distro: Ubuntu 26.04, arm64 firebird3.0-server installed and running (SuperServer) System also has firebird4.0-server-core, firebird4.0-utils, firebird4.0-common installed (mixed 3.0 / 4.0 packages) libfbclient2 installed version: 4.0.6.3221 /usr/bin/gbak is a symlink to ../share/firebird-utils/fb_wrapper (provided by the firebird-utils 4.0.6 package — a version-selecting wrapper)

Thanks in advance for any help.

Aldo


Mark Rotteveel

unread,
Sep 25, 2026, 10:35:42 AM (19 hours ago) Sep 25
to firebird...@googlegroups.com
The error suggests that Firebird isn't running on localhost (or not on
port 3050). Also, not 100% sure, but I believe sometimes issues like
this can occur if Firebird is listening on 127.0.0.1, but localhost
resolves to the IPv6 ::1 address. Try using 127.0.0.1 instead of
localhost and see if it works.

Mark
--
Mark Rotteveel
Reply all
Reply to author
Forward
0 new messages