This is a discussion on "template1 does not exist" while installing 8.0RC5 on RH9 within the pgsql Admins forums, part of the PostgreSQL category; --> I'm trying to install 8.0RC5 from source on a RedHat9 system. I'm following the directions from the INSTALL file. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm trying to install 8.0RC5 from source on a RedHat9 system. I'm following the directions from the INSTALL file. Everything looks good, even the "initdb" command, which reports everything as ok. But the "createdb test" command fails, with error 'database "template1" does not exist' I'm not sure where I went wrong. |
| ||||
| "Rick Schumeyer" <rschumeyer@ieee.org> writes: > Everything looks good, even the "initdb" command, which reports > everything as ok. > But the "createdb test" command fails, with error > 'database "template1" does not exist' initdb executes half a dozen reconnections to template1 after the initial bootstrap, so it's real hard to see how a broken pg_database entry wouldn't have caused a failure during initdb. I'm wondering if maybe your createdb command is connecting to a different postmaster than you think it is. Check environment variables, path, etc. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) |