Обсуждение: initdb failed

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

initdb failed

От
"帅猛"
Дата:
i download postgres_win32_7.5_devel,when initdb ,it failed, the error message
is as folllow:

fixing permissions on existing directory C:/Downloads/postgres_win32_7.5_devel/d
ata ... ok
creating directory C:/Downloads/postgres_win32_7.5_devel/data/global ... ok
creating directory C:/Downloads/postgres_win32_7.5_devel/data/pg_xlog ... ok
creating directory C:/Downloads/postgres_win32_7.5_devel/data/pg_clog ... ok
creating directory C:/Downloads/postgres_win32_7.5_devel/data/base ... ok
creating directory C:/Downloads/postgres_win32_7.5_devel/data/base/1 ... ok
creating directory C:/Downloads/postgres_win32_7.5_devel/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in C:/Downloads/postgres_win32_7.5_devel/data/base/1
 ... FATAL:  syntax error in file "postgresql.conf" line 241, near token "s"
(the error message is not clear enough for me,i looked up the podtgresql.conf.sample
there seems no error:-( )
child process was terminated by signal 1
initdb: failed
initdb: removing contents of data directory "C:/Downloads/postgres_win32_7.5_dev
el/data"



        致
礼!


        帅猛
        shuaimeng@db.pku.edu.cn
          2004-07-04



Re: initdb failed

От
Weiping
Дата:
may be you need to set the timezone:

set TZ=CST

or your local timezone

regards

laser