about createdb err

Поиск
Список
Период
Сортировка
Искать

about createdb err

От:
"楊 慧泉" <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




Re: about createdb err

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"楊 慧泉"  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

FAQ