The files belonging to this database system will be owned by user “postgres”.
This user must also own the server process.The database cluster will be initialized with locale Chinese_People’s Republic of China.936.
fixing permissions on existing directory D:/Program Files/PostgreSQL/8.2/data … ok
creating subdirectories … initdb: invalid locale name “Chinese_People’s Republic of China.65001”
initdb: invalid locale name “Chinese_People’s Republic of China.65001”
initdb: invalid locale name “Chinese_People’s Republic of China.65001”
initdb: invalid locale name “Chinese_People’s Republic of China.65001”
initdb: invalid locale name “Chinese_People’s Republic of China.65001”
initdb: invalid locale name “Chinese_People’s Republic of China.65001”
initdb: could not create directory “D:/Program Files”: File exists
initdb: removing contents of data directory “D:/Program Files/PostgreSQL/8.2/data”
折腾来折腾去,却是目录权限的缘故。
为了安全我把X61新装win2k3的各分区全设成只SYSTEM和Administrators有权限,没想到惹了这么大的祸,现已根据重新安装win2k3的C盘权限重设了D盘的权限,问题立刻得到了解决。