Re: pg_dumpall -> by hand without --binary-upgrade or BUG #5690: pg_upgrade fails - Mailing list pgsql-bugs

From Harald Armin Massa
Subject Re: pg_dumpall -> by hand without --binary-upgrade or BUG #5690: pg_upgrade fails
Date
Msg-id CD6566F2-BBC2-47E2-88D3-49A306298087@ghum.de
Whole thread Raw
In response to pg_dumpall -> by hand without --binary-upgrade or BUG #5690: pg_upgrade fails  (Chris English <sglish@hotmail.com>)
List pgsql-bugs
Please try to change you cuttent working directory to a place you have Writ=
e-Access before pg_upgrade

As in cd \temp or cd %Home%


Harald

Am 12.10.2010 um 01:09 schrieb Chris English <sglish@hotmail.com>:

> In my attempts I changed all pg_hba.conf (8.4 & 9.0) to trusted, turned o=
ff firewall,
> followed instructions to shut down db(s) and ran cmd.exe as postgres:
>=20
> C:\WINDOWS\system32>pg_upgrade.exe -p 5432 -P 5433 -d "c:/program files/p=
ostgres
> ql/8.4/data" -D "c:/program files/postgresql/9.0/data" -b "c:/program fil=
es/post
> gresql/8.4/bin" -B "c:/program files/postgresql/9.0/bin"
> Performing Consistency Checks
> -----------------------------
> Checking old data directory (c:/program files/postgresql/8.4/data)ok
> Checking old bin directory (c:/program files/postgresql/8.4/bin)ok
> Checking new data directory (c:/program files/postgresql/9.0/data)ok
> Checking new bin directory (c:/program files/postgresql/9.0/bin)ok
> Checking for reg* system oid user data types                ok
> Checking for /contrib/isn with bigint-passing mismatch      ok
> Checking for large objects                                  ok
> Creating catalog dump                                       Access is den=
ied.
>=20
>=20
> There were problems executing ""c:/program files/postgresql/9.0/bin/pg_du=
mpall"
> --port 5432 --username "postgres" --schema-only --binary-upgrade > "C:\WI=
NDOWS\s
> ystem32/pg_upgrade_dump_all.sql""
>=20
> I'm not clear if it picked up the 8.4 -p 5432 and 9.0 -P 5433
>=20
> C:\WINDOWS\system32>pg_dumpall.exe --port 5433 username--"postgres" --sch=
ema-onl
> y >"c:/windows/system32/pg_upgrade_dump_all.sql"
> Access is denied.
>=20
> C:\WINDOWS\system32>pg_dumpall.exe --port 5433 username--"postgres" --pas=
sword "
> ********" --schema-only >"c:/windows/system32/pg_upgrade_dump_all.sql"
> Access is denied.
>=20
> C:\WINDOWS\system32>pg_dumpall.exe --port 5433 username--"postgres" --pas=
sword *
> ****** --schema-only >"c:/windows/system32/pg_upgrade_dump_all.sql"
> Access is denied.
>=20
> C:\WINDOWS\system32>pg_dumpall.exe --port 5432 username--"postgres" --pas=
sword *
> ****** --schema-only >"c:/windows/system32/pg_upgrade_dump_all.sql"
> Access is denied.
>=20
> C:\WINDOWS\system32>pg_dumpall.exe --port 5432 username--"postgres" --pas=
sword *
> ******* --schema-only >"c:/windows/system32/pg_upgrade_dump_all.sql"
> Access is denied.
>=20
> 8.4 Log
> 2010-10-11 18:14:28 EDTLOG:  database system was shut down at 2010-10-11 =
17:59:17 EDT
> 2010-10-11 18:14:29 EDTLOG:  database system is ready to accept connectio=
ns
> 2010-10-11 18:14:35 EDTLOG:  received fast shutdown request
> 2010-10-11 18:14:35 EDTLOG:  aborting any active transactions
> 2010-10-11 18:14:35 EDTLOG:  shutting down
> 2010-10-11 18:14:35 EDTLOG:  database system is shut down
>=20
> 9.0 Log
> 2010-10-11 17:14:18 EDT LOG:  database system was shut down at 2010-10-11=
 16:25:16 EDT
> 2010-10-11 17:14:18 EDT FATAL:  the database system is starting up
> 2010-10-11 17:14:19 EDT LOG:  database system is ready to accept connecti=
ons
> 2010-10-11 17:14:19 EDT LOG:  autovacuum launcher started
> 2010-10-11 17:34:58 EDT LOG:  received fast shutdown request
> 2010-10-11 17:34:58 EDT LOG:  aborting any active transactions
> 2010-10-11 17:34:58 EDT LOG:  autovacuum launcher shutting down
> 2010-10-11 17:34:58 EDT LOG:  shutting down
> 2010-10-11 17:34:58 EDT LOG:  database system is shut down
>=20
> And there we sit, dejected.  Any thoughts would be greatly appreciated.
>=20
> Chris English
>=20
>=20
>=20
>=20

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_dumpall -> by hand without --binary-upgrade or BUG #5690: pg_upgrade fails
Next
From: "Tino Kastbjerg Stigsen"
Date:
Subject: BUG #5706: Install error 1935 (Microsoft Visual C++ 2005)