Po aktualizaci NetWorker NMC z verze 9.2.X na verzi 19.X neproběhne migrace databáze Postgres na verzi 11 úspěšně.
Summary: Po aktualizaci NetWorker NMC z verze 9.2.X na verzi 19.X neproběhne migrace databáze Postgres na verzi 11 úspěšně. Cílem je získat NMC verze 19.X + Postgres 11.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Při upgradu NMC dochází k problému s migrací Postgres z verze 9.2 na verzi 11 v následujícím bodě protokolů.
Z "pg_upgrade_server.log".
command: "/opt/lgtonmc/postgres/9.2/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D "/nsr/nmc/nmcdb/pgdata" -o "-p 5432 -c autovacuum=off -c autovacuum_freeze_max_age=2000000000 -c listen_addresses='' -c unix_socket_permissions=0700" start >> "pg_upgrade_server.log" 2>&1 pg_ctl: another server might be running; trying to start server anyway waiting for server to start....FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied stopped waiting pg_ctl: could not start server Examine the log output. From "install.log".
Performing Consistency Checks on Old Live Server ------------------------------------------------ Checking cluster versions ok could not open file "/nsr/nmc/nmcdb/pgdata/postmaster.pid": No such file or directory Failure, exiting 107558:gstdbinit: The binary '/opt/lgtonmc/postgres_latest/bin/pg_upgrade' did not launch or complete successfully 186994:gstdbinit: pg_upgrade --check failed Upgrade to Postgres 11 Failed. Failover to 9.2 binaries so that db can start
Cause
Jde o vzácný případ, kdy má nějaký proces zámek souboru "/tmp/.s.PGSQL.5432.lock".
Resolution
Abychom tento problém vyřešili, musíme zastavit služby NMC a znovu spustit skript "nmc_config", aby se Postgres migroval ručně: /opt/lgtonmc/bin/nmc_config
Zde je příslušný výstup z tohoto skriptu po úspěšném spuštění. (Pokud dojde ke stejnému problému, může být před opětovným spuštěním tohoto skriptu vyžadován restart).
Zde je příslušný výstup z tohoto skriptu po úspěšném spuštění. (Pokud dojde ke stejnému problému, může být před opětovným spuštěním tohoto skriptu vyžadován restart).
Postgres 9.2 database detected. It will be migrated to Postgres 11 It may take a while to upgrade..... Migration to Postgres 11 Successful. The installation completed successfully.
Additional Information
Tento obsah je přeložený do 15 jazyků:
| https://downloads.dell.com/TranslatedPDF/CS_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/DA_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/DE_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/ES-XL_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/FI_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/FR_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/IT_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/JA_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/KO_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/NL_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/NO-NO_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/PL_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/PT-BR_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/RU_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/SV_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/TR_KB540106.pdf |
| https://downloads.dell.com/TranslatedPDF/ZH-CN_KB540106.pdf |
Affected Products
NetWorker Management ConsoleProducts
NetWorker, NetWorker Series, NetWorker Management ConsoleArticle Properties
Article Number: 000170938
Article Type: Solution
Last Modified: 23 Sept 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.