What do you get from "psql -l", or from "select * from pg_database"after connecting to template1?
regards, tom lane