Postgresql Installation through RDP

Postgresql will refuse to install through an RDP section and it will fail with a message below.

Failed to run initdb: !128
Please see the logfile in ‘C:program
FilesPostgreSQL8.2beta1tmpinitdb.log’.
Note! You must read/copy this logfile before yuo click OK, or it will be
automatically removed.

it is a known limitation that installation via remote desktop without /console does not work.

FIX
Use VNC or connect to RDP with Console

There are a few ways to get a console session in Windows 2000, XP, and Vista:

  • Open your default.rdp file (typically in My Documents) and add the following line to the bottom: connect to console:i:1
  • In the RDC window, after the address, use the switch /console
    From start, run, type: mstsc /console
  • Make a shortcut to RDC, edit it, and add the /console switch to it
This entry was posted in Database and tagged , , , . Bookmark the permalink.

Leave a comment