Re: initdb failure

Поиск
Список
Период
Сортировка
От Pankaj Mandal (pmandal)
Тема Re: initdb failure
Дата
Msg-id 2873D0DE40695D48B76CDF7C6620A1540A2D5799@xmb-sjc-226.amer.cisco.com
обсуждение исходный текст
Ответ на Re: initdb failure  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: initdb failure  (Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>)
Список pgsql-admin
Hi Kevin,

I have checked this several times. The installer is executed by user
Administrator (which apparently has all Administrator privileges)
The user postgres is also being created and the data directory is owned
by this user, which does have read, write, execute, modify, list folder
contents and they are all inheritable. Here I am copying few more lines
from the logs, upto when initdb failed.


"
    Ensuring we can write to the data directory (using cacls):
    processed dir:
C:\PROGRA~1\CISCOS~1\CSCONccm\objects\PostgreSQL\8.4\data

    The files belonging to this database system will be owned by
user "Administrator".
    This user must also own the server process.

    The database cluster will be initialized with locale
English_United States.1252.
    The default text search configuration will be set to "english".

    fixing permissions on existing directory
C:/PROGRA~1/CISCOS~1/CSCONccm/objects/PostgreSQL/8.4/data ... ok
    creating subdirectories ... ok
    selecting default max_connections ... 10
    selecting default shared_buffers ... 400kB
    creating configuration files ... ok
    creating template1 database in
C:/PROGRA~1/CISCOS~1/CSCONccm/objects/PostgreSQL/8.4/data/base/1 ...
initdb: could not execute command
""C:/PROGRA~1/CISCOS~1/CSCONccm/objects/PostgreSQL/8.4/bin/postgres.exe"
--boot -x1 -F ": No error
    initdb: removing contents of data directory
"C:/PROGRA~1/CISCOS~1/CSCONccm/objects/PostgreSQL/8.4/data"


"

Thank you
Pankaj

-----Original Message-----
From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov]
Sent: Friday, April 09, 2010 7:27 AM
To: Pankaj Mandal (pmandal); pgsql-admin@postgresql.org
Subject: Re: [ADMIN] initdb failure

"Pankaj Mandal (pmandal)" <pmandal@cisco.com> wrote:

> initdb: could not execute command
> ""C:/PROGRA~1/CISCOS~1/CSCONccm/objects/PostgreSQL/8.4/bin/
> postgres.exe" --boot -x1 -F ": No error

I would check permissions related to the user and that postgres.exe
file.

-Kevin

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Handling of images via Postgressql
Следующее
От: Khangelani Gama
Дата:
Сообщение: Re: Re: database restoration problem- data became incorrect caused by incorrect date in the server