Обсуждение: Problems with fatal errors on startup of postmaster.
Help. I am getting the following errors from my postmaster when I try to start it up. How do I fix this. [postgres@aries bin]$ ./postmaster -i DEBUG: Data Base System is starting up at Fri Jun 30 11:06:24 2000 FATAL 2: Control file context is broken FATAL 2: Control file context is broken Startup failed - abort [postgres@aries bin]$ I currently have 2 databases running my website. Hence with this down I have some problems. The postgress version is 7.0.2 running on yellow-dog Linux Champion server 1.2. -------------------------------------------------------------------------------- Eric Naujock CCNA, CCDA, A+, Network +, I-Net + Abacus II 5610 Monroe St. Sylvania, Ohio 43560 <http://www.abacusii.com> E-mail - naujocke@abacusii.com Phone - 419-885-0082 X 241 Fax : 419-885-2717
Вложения
"Eric Naujock " <naujocke@abacusii.com> writes: > How do I fix this. > [postgres@aries bin]$ ./postmaster -i > DEBUG: Data Base System is starting up at Fri Jun 30 11:06:24 2000 > FATAL 2: Control file context is broken > FATAL 2: Control file context is broken > Startup failed - abort > [postgres@aries bin]$ Hmm. Your pg_control file is messed up, apparently. Not sure how it could have gotten that way; this is the first report of such a failure that I can recall hearing about. Probably your best bet for fixing this is to initdb a fresh database directory and then use pg_upgrade to move your existing user data into the new database. Read the pg_upgrade directions *carefully* --- it's a little bit tricky to use correctly. regards, tom lane