Обсуждение: Pgbackrest Restore Error - Segmentation fault (core dumped)

Поиск
Список
Период
Сортировка

Pgbackrest Restore Error - Segmentation fault (core dumped)

От
pgdba pgdba
Дата:
Hello, when I restore with Pgbackrest, I get the following error, I couldn't find a solution when I researched, can you support?

postgres@dev-test:~$ pgbackrest --config=/etc/pgbackrest/pgbackrest.conf --stanza=db3 --log-level-console=info --type=immediate restore
WARN: configuration file contains invalid option 'archive-mode'
2023-09-06 06:54:45.826 P00 INFO: restore command begin 2.27: --config=/etc/pgbackrest/pgbackrest.conf --log-level-console=info --pg1-path=/var/lib/ postgresql/11 --repo1-host=0.0.0.1 --repo1-host-user=postgres --stanza=db3 --type=immediate
Segmentation fault (core dumped)

Thanks,

Re: Pgbackrest Restore Error - Segmentation fault (core dumped)

От
Daniel Gustafsson
Дата:
> On 6 Sep 2023, at 13:08, pgdba pgdba <postgresdba12@outlook.com> wrote:
>
> Hello, when I restore with Pgbackrest, I get the following error, I couldn't find a solution when I researched, can
yousupport? 

You might be better off raising this question on the pgbackreset Github repo as
an issue, where more pgbackrest developers are likely to see it.

Are you able to repeat the issue such that you can get a stack trace from it?
That will be helpful for anyone trying to find the issue.  The postgres wiki
has some information on getting a stack trace from a postgres process, and
while not the same the process is similar enough that it might be helpful
reading.

--
Daniel Gustafsson




Re: Pgbackrest Restore Error - Segmentation fault (core dumped)

От
Rob Sargent
Дата:
On 9/6/23 05:08, pgdba pgdba wrote:
P {margin-top:0;margin-bottom:0;}
Hello, when I restore with Pgbackrest, I get the following error, I couldn't find a solution when I researched, can you support?

postgres@dev-test:~$ pgbackrest --config=/etc/pgbackrest/pgbackrest.conf --stanza=db3 --log-level-console=info --type=immediate restore
WARN: configuration file contains invalid option 'archive-mode'
2023-09-06 06:54:45.826 P00 INFO: restore command begin 2.27: --config=/etc/pgbackrest/pgbackrest.conf --log-level-console=info --pg1-path=/var/lib/ postgresql/11 --repo1-host=0.0.0.1 --repo1-host-user=postgres --stanza=db3 --type=immediate
Segmentation fault (core dumped)

Thanks,
Have you tried removing the invalid option ('archive-mode') from the config file?

Ynt: Pgbackrest Restore Error - Segmentation fault (core dumped)

От
pgdba pgdba
Дата:
I removed  it but I keep getting the same error

Gönderen: Rob Sargent <robjsargent@gmail.com>
Gönderildi: 6 Eylül 2023 Çarşamba 16:32
Kime: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Konu: Re: Pgbackrest Restore Error - Segmentation fault (core dumped)
 
On 9/6/23 05:08, pgdba pgdba wrote:
Hello, when I restore with Pgbackrest, I get the following error, I couldn't find a solution when I researched, can you support?

postgres@dev-test:~$ pgbackrest --config=/etc/pgbackrest/pgbackrest.conf --stanza=db3 --log-level-console=info --type=immediate restore
WARN: configuration file contains invalid option 'archive-mode'
2023-09-06 06:54:45.826 P00 INFO: restore command begin 2.27: --config=/etc/pgbackrest/pgbackrest.conf --log-level-console=info --pg1-path=/var/lib/ postgresql/11 --repo1-host=0.0.0.1 --repo1-host-user=postgres --stanza=db3 --type=immediate
Segmentation fault (core dumped)

Thanks,
Have you tried removing the invalid option ('archive-mode') from the config file?

Re: Ynt: Pgbackrest Restore Error - Segmentation fault (core dumped)

От
Rob Sargent
Дата:
On 9/6/23 11:27, pgdba pgdba wrote:
P {margin-top:0;margin-bottom:0;}
I removed  it but I keep getting the same error

OK.  The custom here is to put your response at the bottom  of short messages ("bottom post") or intermixed with original as appropriate on longer posts.  Putting your reply first ("top posting") is discouraged due to archival and clarity issues.

At this point you're in to debugging the "core" file, likely in the dir you're running pgbackrest from.  Standard C tools required ;)  I suspect a library mismatch: maybe LDD on the executable would be informative (to the knowledgeable).