Neil Bibbins wrote:
> Hello,
>
> I'm having difficulty installing PostgreSQL 8.2 on Windows 2000. It
> gets most of the way through the installation and fails (I think)
> after trying to initialize the database. The log message is:
>
> The database cluster will be initialized with locale C.
>
> fixing permissions on existing directory C:/Program
> Files/PostgreSQL/8.2/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 10
> selecting default shared_buffers/max_fsm_pages ... 400kB/20000
> creating configuration files ... ok
> creating template1 database in C:/Program
> Files/PostgreSQL/8.2/data/base/1 ... Bad command or file name
> could not write to child process: Invalid argument
> Initdb: removing contents of data directory "C:/Program
> Files/PostgreSQL/8.2.data
>
> I have removed all virus software, although I hope to reinstall it
> after installation. (Can PostgresSQL really not run as an application
> with virus protection installed? Ouch...)
>
> I have tried deselecting the initialization box and initializing
> afterward, but this also doesn't work. Possibly I'm using the wrong
> command, which is one that I found from a post from Magnus several
> years ago.
>
> I have installed Cygwin, but this also didn't help.
>
> Can anyone assist? I've done many forum searches but nothing seems to
> work. I don't think I'm attempting the impossible!
>
> Thanks for any insight. Much appreciated.
I am running on XP, 2k and 2k3 with various different VirusScanners
without seeing issues (Symantec, AVG) Though 8.1.X not 8.2
Might you be hitting some permissions error on the folder/drive?
Are you logged on remotely (RDP?) or directly on the machine?
Oisin