Trying to install postgresql in a Windows Server R2 Entreprise (64b) I get this:

Iniciando el servidor de bases de datos...
Executing cscript //NoLogo "C:\PostgreSQL\9.3\installer\server\startserver.vbs" postgresql-x64-9.3
Script exit code: 1

Script output:
 Starting postgresql-x64-9.3
Failed to start the database server (7)

Script stderr:
 Program ended with an error exit code

I tried every solution I found (all of stackoverflow I found and more) but I'm still getting this error.

Link to the complete log: http://pastebin.com/7t6dMEH0

Thanks for all.

  • Have you read the wiki: wiki.postgresql.org/wiki/… ? – Deer Hunter Sep 4 '14 at 9:02
  • Yes, I checked everything in the wiki, but still stuck with this problem. – cacafuti Sep 4 '14 at 9:11
  • Do you have any antivirus software on the machine, or a software firewall other than Windows Firewall? – Craig Ringer Sep 4 '14 at 9:32
  • The only thing the machine had was a Malwarebytes Anti-Malware software, but I removed it. This was one of the first steps I did once I saw the wiki. – cacafuti Sep 4 '14 at 9:33
  • Hm. I've never seen that particular exit code before. Can you pastebin "C:\PostgreSQL\9.3\installer\server\startserver.vbs too please and link to it here? – Craig Ringer Sep 4 '14 at 9:36

Per comments, the poster found a copy of msvbvm60.dll (a component of the Microsoft Visual Basic 6 runtime that should be a core part of the operating system) somewhere on the Internet when they had issues with the installer asking for it.

This sounds like a badly broken system that might be a candidate for a reinstall, or System Restore to an old state. While I doubt the msvbvm60.dll issue is the direct culprit, it suggests that this is likely a badly compromised system, as you should never be missing msvbvm60.dll. Whether it's file system corruption, malware, or user action, this might be a good time to reinstall a clean system.

| improve this answer | |
  • dll's broken. System Restore needed to solve this problem. Thanks for your help. – cacafuti Sep 5 '14 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.