fixing permissions on existing directory d:/base/netscope/pg/data ... ok * creating subdirectories ... initdb: could not create directory "d:/base/netscope/pg": File exists *initdb: data directory "d:/base/netscope/pg/data" not removed at user's request
Could it be that the "..../data" directory isn't empty? I think initdb will fail if this is the case.
its empty or i say its newly created.
Because you're using the -n flag, after you run initdb once, the directory is left there. Delete the 'data' directory and try again.