Native Client Path
See original GitHub issueSystem information:
- Operating system: Linux Mint 20.1 xfce
- DBeaver version: Version 7.3.3.202101161839
Connection specification:
- Database: PostgreSQL 13.1
- Driver name: PostgreSQL
Describe the problem you’re observing:
Unable to create Backup/Restore because of invalid native client path
Steps to reproduce, if exist:
- Edit Connection
- Edit Driver Settings
- Native Client (tab)
- Add Home (button)
- Select Native Client path which is in my case
/usr/
but the path showed as/run/user/1000/doc/6112140e/usr
(this is wrong I think) - Tried to make a backup, but I got this error:
Error executing process
Cannot run program "/run/user/1000/doc/6112140e/usr/bin/pg_dump" (in directory "/run/user/1000/doc/6112140e/usr/bin"): error=2, No such file or directory
Cannot run program "/run/user/1000/doc/6112140e/usr/bin/pg_dump" (in directory "/run/user/1000/doc/6112140e/usr/bin"): error=2, No such file or directory
error=2, No such file or directory
error=2, No such file or directory
Terminal log:
$ ls -lh /usr/bin/pg_*
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_archivecleanup -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_basebackup -> ../share/postgresql-common/pg_wrapper
-rwxr-xr-x 1 root root 14K Oct 14 00:03 /usr/bin/pg_buildext
-rwxr-xr-x 1 root root 1.3K Nov 5 2018 /usr/bin/pg_config
-rwxr-xr-x 1 root root 6.3K Nov 10 15:45 /usr/bin/pg_config.libpq-dev
-rwxr-xr-x 1 root root 6.2K Jun 29 2017 /usr/bin/pg_conftool
-rwxr-xr-x 1 root root 35K Sep 29 15:24 /usr/bin/pg_createcluster
-rwxr-xr-x 1 root root 24K Nov 12 14:37 /usr/bin/pg_ctlcluster
-rwxr-xr-x 1 root root 7.6K Mar 2 2020 /usr/bin/pg_dropcluster
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_dump -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_dumpall -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_isready -> ../share/postgresql-common/pg_wrapper
-rwxr-xr-x 1 root root 5.2K Feb 24 2020 /usr/bin/pg_lsclusters
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_receivewal -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_receivexlog -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_recvlogical -> ../share/postgresql-common/pg_wrapper
-rwxr-xr-x 1 root root 5.8K Mar 1 2019 /usr/bin/pg_renamecluster
lrwxrwxrwx 1 root root 37 Nov 12 14:37 /usr/bin/pg_restore -> ../share/postgresql-common/pg_wrapper
-rwxr-xr-x 1 root root 34K Oct 22 15:16 /usr/bin/pg_upgradecluster
-rwxr-xr-x 1 root root 9.1K Oct 13 21:37 /usr/bin/pg_virtualenv
$ pg_dump --version
pg_dump (PostgreSQL) 13.1 (Ubuntu 13.1-1.pgdg20.04+1)
The other software able execute pg_dump
without any problem.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Installing - SQL Server Native Client - Microsoft Learn
One way to install multiple packages in what seems to the user to be a single installation is to use chainer and bootstrapper...
Read more >Download the Native Client SDK - Chrome Developers
Follow the steps below to download and install the Native Client SDK. Prerequisites. Python 2.7. Make sure that the Python executable is in...
Read more >Extension with a native client - adding PATH doesn't work
The extension works with MPVplayer. When installing, I get the error: Make sure it is installed and in your path... Someone suggested to...
Read more >How to install Open In's Native Client in Windows OS - YouTube
This small tutorial walk you through installing the open-in's native client on Windows operation system. This native client is mandatory for ...
Read more >How to fix - DBeaver Native client is not specified for connection
Native client is not specified for connection Download Mysql or Postgres or (appropriate database ) ... Paste the path in there such as ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The bug still occurs with flatpak version
21.0.0.202102281712
This bug continues to occur in flatpak Version 7.3.0.202011291229 while it doesn’t occur in gz Version 7.3.0.202011291229 (dbeaver-ce-7.3.0-linux.gtk.x86_64.tar.gz)
EDIT: I forgot to mention; This issue occurs although I gave DBeaver full access to files system as shown below: