about createdb err

Started by 楊 慧泉almost 25 years ago2 messagesbugs
Jump to latest
#1楊 慧泉
yanghq@gmo.jp

$ bash createdb test
NOTICE: database directory '/usr/local/pgsql/data/base/18749' could not be
removed
ERROR: CREATE DATABASE: could not initialize database directory; delete
failed as well
NOTICE: database directory '/usr/local/pgsql/data/base/18749' could not be
removed
ERROR: CREATE DATABASE: could not initialize database directory; delete
failed as well
createdb: database creation failed

Regards,

Yang

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: 楊 慧泉 (#1)
Re: about createdb err

"=?iso-2022-jp?B?GyRCTUwhITdFQHQbKEI=?=" <yanghq@gmo.jp> writes:

$ bash createdb test
NOTICE: database directory '/usr/local/pgsql/data/base/18749' could not be
removed
ERROR: CREATE DATABASE: could not initialize database directory; delete
failed as well
NOTICE: database directory '/usr/local/pgsql/data/base/18749' could not be
removed
ERROR: CREATE DATABASE: could not initialize database directory; delete
failed as well
createdb: database creation failed

Look in the postmaster log (its stderr output) to see why 'cp' or 'rm'
failed.

regards, tom lane