Обсуждение: initdb fails
Hello, After going through all the steps in the INSTALL manual, I'm getting stuck at the following: Fixing permissions on existing directory /usr/local/pgsql/data... ok creating directory /usr/local/pgsql/data/base... ok creating directory /usr/local/pgsql/data/global... ok creating directory /usr/local/pgsql/data/pg_xlog... ok creating directory /usr/local/pgsql/data/pg_clog... ok creating template1 database in /usr/local/pgsql/data/base/1... initdb failed. Can someone help please? denis
Denis <denisa@mtlfab.com> writes: > initdb failed. > Can someone help please? Not without a lot more information. What PG version are you using? On what platform? How did you build or acquire the executables? Also, try initdb [same args as before plus] -d 2>initdb.out which will produce extremely voluminous debugging output in initdb.out. We don't want to see the whole thing, but the last dozen or two lines might yield a clue. regards, tom lane