Denis <denisa(at)mtlfab(dot)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