| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 16 Aug 2010 11:53:37
|
Ruth_Enright
New member
Joined: 16 Aug 2010 11:43:53
Messages: 5
Offline
|
Hi, I'm new to this and trying to download PostgreSQL Version 8.4.4-1 onto a Windows XP computer. During the setup it asks for a password for the database supervisor and service account. I have not had PostgresSQL installed on this computer before and never set up a postgres user account but it seems to be automatically generated.
I've had a look through the forums and tried the suggestions of "net user postgres /del" but once the installation gets to the password screen the account is back without any notification of what the password is. I tried "net user postgres postgrespass" to change the password but I get a message saying "the password specified was incorrect, please enter the correct password for the postgres windows account" when I try to use "postgrespass" as the password. I get the same message when I try to change the password or delete the postgres user through Control Panel > Admin Tools > Computer Management.
Is there another solution that I haven't been able to find on the forums yet? How can I PostgresSQL past this password section of the setup and installed?
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 17 Aug 2010 01:39:43
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello,
Try.
net user postgres /delete
and when the installer gives you the password screen, give any password a new account 'postgres' is created with the given password.
Also,
net user postgres yournewpassword
should also work, Just give the yournewpassword when installer asks for a password.
You can also use, --serviceaccount and --servicepassword CLI options. For details see --help.
Hope it helps.
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 17 Aug 2010 04:40:07
|
Ruth_Enright
New member
Joined: 16 Aug 2010 11:43:53
Messages: 5
Offline
|
Hi
Thanks for the reply but I'm afraid it's still not installing for me. I delete the postgres user and start the setup wizard. The installation gets to the password screen. I check that the postgres user account is still deleted and it is. I enter a password (to be the password on the newly created postgres account) but when I press Next I get a message saying the password is incorrect and, if I check the list of users, the postgres user account is back.
How can I get this to install? Is there a way of finding out the password as deleting the account and changing the password isn't working for me?
Thanks for any help!!
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 17 Aug 2010 16:24:18
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello,
Can you post the content of the installation log file, it would be something like bitrock_installer_<somenumber>.log in the %TEMP% directory as the installation is aborted in between.
That will tell more where exactly the installer is failing.
Thanks for persisting with us on this.
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 18 Aug 2010 16:21:26
|
Ruth_Enright
New member
Joined: 16 Aug 2010 11:43:53
Messages: 5
Offline
|
Hi
Ok here's the contents of the file. It's quite long!!
Log started 08/16/10 at 15:46:47
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Data Directory. Setting variable iDataDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Service ID. Setting variable iServiceName to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Service Account. Setting variable iServiceAccount to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Super User. Setting variable iSuperuser to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Version. Setting variable brandingVer to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 Shortcuts. Setting variable iShortcut to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.4 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value
[15:47:42] Existing base directory:
[15:47:42] Existing data directory:
[15:47:42] Using branding: PostgreSQL 8.4
[15:47:42] Using Super User: postgres and Service Account: postgres
[15:47:42] Using Service Name: postgresql-8.4
Executing cscript //NoLogo "C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\installruntimes.vbs" "C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\vcredist_x86.exe"
Script exit code: 0
Script output:
Executing the runtime installer: C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\vcredist_x86.exe
installruntimes.vbs ran to completion
Script stderr:
Executing C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\getlocales.exe
Script exit code: 0
Script output:
AfrikaansxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Afrikaans, South Africa
AlbanianxxCOMMAxxxxSPxxAlbania=Albanian, Albania
AzerixxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxAzerbaijan=Azeri (Cyrillic), Azerbaijan
AzerixxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxAzerbaijan=Azeri (Latin), Azerbaijan
BasquexxCOMMAxxxxSPxxSpain=Basque, Spain
BelarusianxxCOMMAxxxxSPxxBelarus=Belarusian, Belarus
BosnianxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Bosnian, Bosnia and Herzegovina
BosnianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Bosnian (Cyrillic), Bosnia and Herzegovina
BulgarianxxCOMMAxxxxSPxxBulgaria=Bulgarian, Bulgaria
CatalanxxCOMMAxxxxSPxxSpain=Catalan, Spain
CroatianxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Croatian, Bosnia and Herzegovina
CroatianxxCOMMAxxxxSPxxCroatia=Croatian, Croatia
CzechxxCOMMAxxxxSPxxCzechxxSPxxRepublic=Czech, Czech Republic
DanishxxCOMMAxxxxSPxxDenmark=Danish, Denmark
DutchxxCOMMAxxxxSPxxBelgium=Dutch, Belgium
DutchxxCOMMAxxxxSPxxNetherlands=Dutch, Netherlands
EnglishxxCOMMAxxxxSPxxAustralia=English, Australia
EnglishxxCOMMAxxxxSPxxBelize=English, Belize
EnglishxxCOMMAxxxxSPxxCanada=English, Canada
EnglishxxCOMMAxxxxSPxxCaribbean=English, Caribbean
EnglishxxCOMMAxxxxSPxxIreland=English, Ireland
EnglishxxCOMMAxxxxSPxxJamaica=English, Jamaica
EnglishxxCOMMAxxxxSPxxNewxxSPxxZealand=English, New Zealand
EnglishxxCOMMAxxxxSPxxRepublicxxSPxxofxxSPxxthexxSPxxPhilippines=English, Republic of the Philippines
EnglishxxCOMMAxxxxSPxxSouthxxSPxxAfrica=English, South Africa
EnglishxxCOMMAxxxxSPxxTrinidadxxSPxxandxxSPxxTobago=English, Trinidad and Tobago
EnglishxxCOMMAxxxxSPxxUnitedxxSPxxKingdom=English, United Kingdom
EnglishxxCOMMAxxxxSPxxUnitedxxSPxxStates=English, United States
EnglishxxCOMMAxxxxSPxxZimbabwe=English, Zimbabwe
EstonianxxCOMMAxxxxSPxxEstonia=Estonian, Estonia
FYROxxSPxxMacedonianxxCOMMAxxxxSPxxFormerxxSPxxYugoslavxxSPxxRepublicxxSPxxofxxSPxxMacedonia=FYRO Macedonian, Former Yugoslav Republic of Macedonia
FaroesexxCOMMAxxxxSPxxFaroexxSPxxIslands=Faroese, Faroe Islands
FilipinoxxCOMMAxxxxSPxxPhilippines=Filipino, Philippines
FinnishxxCOMMAxxxxSPxxFinland=Finnish, Finland
FrenchxxCOMMAxxxxSPxxBelgium=French, Belgium
FrenchxxCOMMAxxxxSPxxCanada=French, Canada
FrenchxxCOMMAxxxxSPxxFrance=French, France
FrenchxxCOMMAxxxxSPxxLuxembourg=French, Luxembourg
FrenchxxCOMMAxxxxSPxxPrincipalityxxSPxxofxxSPxxMonaco=French, Principality of Monaco
FrenchxxCOMMAxxxxSPxxSwitzerland=French, Switzerland
FrisianxxCOMMAxxxxSPxxNetherlands=Frisian, Netherlands
GalicianxxCOMMAxxxxSPxxSpain=Galician, Spain
GermanxxCOMMAxxxxSPxxAustria=German, Austria
GermanxxCOMMAxxxxSPxxGermany=German, Germany
GermanxxCOMMAxxxxSPxxLiechtenstein=German, Liechtenstein
GermanxxCOMMAxxxxSPxxLuxembourg=German, Luxembourg
GermanxxCOMMAxxxxSPxxSwitzerland=German, Switzerland
GreekxxCOMMAxxxxSPxxGreece=Greek, Greece
HungarianxxCOMMAxxxxSPxxHungary=Hungarian, Hungary
IcelandicxxCOMMAxxxxSPxxIceland=Icelandic, Iceland
IndonesianxxCOMMAxxxxSPxxIndonesia=Indonesian, Indonesia
InuktitutxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxCanada=Inuktitut (Latin), Canada
IrishxxCOMMAxxxxSPxxIreland=Irish, Ireland
ItalianxxCOMMAxxxxSPxxItaly=Italian, Italy
ItalianxxCOMMAxxxxSPxxSwitzerland=Italian, Switzerland
KazakhxxCOMMAxxxxSPxxKazakhstan=Kazakh, Kazakhstan
KyrgyzxxCOMMAxxxxSPxxKyrgyzstan=Kyrgyz, Kyrgyzstan
LatvianxxCOMMAxxxxSPxxLatvia=Latvian, Latvia
LithuanianxxCOMMAxxxxSPxxLithuania=Lithuanian, Lithuania
LuxembourgishxxCOMMAxxxxSPxxLuxembourg=Luxembourgish, Luxembourg
MalayxxCOMMAxxxxSPxxBruneixxSPxxDarussalam=Malay, Brunei Darussalam
MalayxxCOMMAxxxxSPxxMalaysia=Malay, Malaysia
MaltesexxCOMMAxxxxSPxxMalta=Maltese, Malta
MaorixxCOMMAxxxxSPxxNewxxSPxxZealand=Maori, New Zealand
MapudungunxxCOMMAxxxxSPxxChile=Mapudungun, Chile
MohawkxxCOMMAxxxxSPxxCanada=Mohawk, Canada
MongolianxxCOMMAxxxxSPxxMongolia=Mongolian, Mongolia
NorthernxxSPxxSothoxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Northern Sotho, South Africa
NorwegianxxSPxxxxOBxxBokmålxxCBxxxxCOMMAxxxxSPxxNorway=Norwegian (Bokmål), Norway
NorwegianxxSPxxxxOBxxNynorskxxCBxxxxCOMMAxxxxSPxxNorway=Norwegian (Nynorsk), Norway
PolishxxCOMMAxxxxSPxxPoland=Polish, Poland
PortuguesexxCOMMAxxxxSPxxBrazil=Portuguese, Brazil
PortuguesexxCOMMAxxxxSPxxPortugal=Portuguese, Portugal
QuechuaxxCOMMAxxxxSPxxBolivia=Quechua, Bolivia
QuechuaxxCOMMAxxxxSPxxEcuador=Quechua, Ecuador
QuechuaxxCOMMAxxxxSPxxPeru=Quechua, Peru
RomanianxxCOMMAxxxxSPxxRomania=Romanian, Romania
RomanshxxCOMMAxxxxSPxxSwitzerland=Romansh, Switzerland
RussianxxCOMMAxxxxSPxxRussia=Russian, Russia
SamixxSPxxxxOBxxInarixxCBxxxxCOMMAxxxxSPxxFinland=Sami (Inari), Finland
SamixxSPxxxxOBxxLulexxCBxxxxCOMMAxxxxSPxxNorway=Sami (Lule), Norway
SamixxSPxxxxOBxxLulexxCBxxxxCOMMAxxxxSPxxSweden=Sami (Lule), Sweden
SamixxSPxxxxOBxxNorthernxxCBxxxxCOMMAxxxxSPxxFinland=Sami (Northern), Finland
SamixxSPxxxxOBxxNorthernxxCBxxxxCOMMAxxxxSPxxNorway=Sami (Northern), Norway
SamixxSPxxxxOBxxNorthernxxCBxxxxCOMMAxxxxSPxxSweden=Sami (Northern), Sweden
SamixxSPxxxxOBxxSkoltxxCBxxxxCOMMAxxxxSPxxFinland=Sami (Skolt), Finland
SamixxSPxxxxOBxxSouthernxxCBxxxxCOMMAxxxxSPxxNorway=Sami (Southern), Norway
SamixxSPxxxxOBxxSouthernxxCBxxxxCOMMAxxxxSPxxSweden=Sami (Southern), Sweden
SerbianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Serbian (Cyrillic), Bosnia and Herzegovina
SerbianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxSerbiaxxSPxxandxxSPxxMontenegro=Serbian (Cyrillic), Serbia and Montenegro
SerbianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Serbian (Latin), Bosnia and Herzegovina
SerbianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxSerbiaxxSPxxandxxSPxxMontenegro=Serbian (Latin), Serbia and Montenegro
SlovakxxCOMMAxxxxSPxxSlovakia=Slovak, Slovakia
SlovenianxxCOMMAxxxxSPxxSlovenia=Slovenian, Slovenia
SpanishxxCOMMAxxxxSPxxArgentina=Spanish, Argentina
SpanishxxCOMMAxxxxSPxxBolivia=Spanish, Bolivia
SpanishxxCOMMAxxxxSPxxChile=Spanish, Chile
SpanishxxCOMMAxxxxSPxxColombia=Spanish, Colombia
SpanishxxCOMMAxxxxSPxxCostaxxSPxxRica=Spanish, Costa Rica
SpanishxxCOMMAxxxxSPxxDominicanxxSPxxRepublic=Spanish, Dominican Republic
SpanishxxCOMMAxxxxSPxxEcuador=Spanish, Ecuador
SpanishxxCOMMAxxxxSPxxElxxSPxxSalvador=Spanish, El Salvador
SpanishxxCOMMAxxxxSPxxGuatemala=Spanish, Guatemala
SpanishxxCOMMAxxxxSPxxHonduras=Spanish, Honduras
SpanishxxCOMMAxxxxSPxxMexico=Spanish, Mexico
SpanishxxCOMMAxxxxSPxxNicaragua=Spanish, Nicaragua
SpanishxxCOMMAxxxxSPxxPanama=Spanish, Panama
SpanishxxCOMMAxxxxSPxxParaguay=Spanish, Paraguay
SpanishxxCOMMAxxxxSPxxPeru=Spanish, Peru
SpanishxxCOMMAxxxxSPxxPuertoxxSPxxRico=Spanish, Puerto Rico
SpanishxxCOMMAxxxxSPxxSpain=Spanish, Spain
SpanishxxCOMMAxxxxSPxxSpain=Spanish, Spain
SpanishxxCOMMAxxxxSPxxUruguay=Spanish, Uruguay
SpanishxxCOMMAxxxxSPxxVenezuela=Spanish, Venezuela
SwahilixxCOMMAxxxxSPxxKenya=Swahili, Kenya
SwedishxxCOMMAxxxxSPxxFinland=Swedish, Finland
SwedishxxCOMMAxxxxSPxxSweden=Swedish, Sweden
TatarxxCOMMAxxxxSPxxRussia=Tatar, Russia
TswanaxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Tswana, South Africa
TurkishxxCOMMAxxxxSPxxTurkey=Turkish, Turkey
UkrainianxxCOMMAxxxxSPxxUkraine=Ukrainian, Ukraine
UzbekxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxUzbekistan=Uzbek (Cyrillic), Uzbekistan
UzbekxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxUzbekistan=Uzbek (Latin), Uzbekistan
WelshxxCOMMAxxxxSPxxUnitedxxSPxxKingdom=Welsh, United Kingdom
XhosaxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Xhosa, South Africa
ZuluxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Zulu, South Africa
Script stderr:
Executing C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\createuser.exe "." "postgres" "****"
Script exit code: 0
Script output:
Successfully Hide the user 'postgres' on the logon screen.
Granted the 'Log on as a service' right to 'ECPLSC153\postgres'
User account 'ECPLSC153\postgres' added to 'Users' group.
C:\DOCUME~1\uccadmin\LOCALS~1\Temp\POSTGR~1\CREATE~1.EXE ran to completion
Script stderr:
Executing C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\validateuser.exe "." "postgres" "****"
Script exit code: 1
Script output:
Incorrect password for user 'ECPLSC153\postgres'.
Script stderr:
Program ended with an error exit code
Error running C:\Documents and Settings\uccadmin\Local Settings\Temp\postgresql_installer\validateuser.exe "." "postgres" "****" : Program ended with an error exit code
Deleting registry keys
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 1 Sep 2010 02:48:45
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello,
Sorry for replying late on this.
As i see from the log, Just after creating the user, it fails to validate the user with the same password. As we try to reproduce the case at our end, could you let us know whether your Windows XP is part of a domain? And you are running the installer with a local admin account?
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 1 Sep 2010 10:46:29
|
Ruth_Enright
New member
Joined: 16 Aug 2010 11:43:53
Messages: 5
Offline
|
Hi,
It might be part of a domain but I'm afraid I'm not 100% sure. It is my own laptop and I am the only one who uses it but as I bought it through my university it had to be sent to the computer centre here who set up an account for me and an admin account when they installed Windows XP, Office etc. I'm not sure what else they did or how.
Is this why postgreSQL isn't installing? Is there a way to fix it without interfering with the university's setup (as I'm not sure if I can do this)?
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 2 Sep 2010 05:04:06
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello,
You have to run the installer from a local administrator account. If you don't have that privilege on your laptop, there are other manual ways to install postgresql. Let me know if you want to go that way..
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 2 Sep 2010 05:15:15
|
Ruth_Enright
New member
Joined: 16 Aug 2010 11:43:53
Messages: 5
Offline
|
Hi,
I'll have to install it manually. How do I do this?
Thank you for your time and help!
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 3 Sep 2010 02:30:30
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello, 1) Download the binaries (not the installer) from our website. 2) Unzip the binaries to a directory. 3) Do initdb to create a cluster (http://www.postgresql.org/docs/8.4/static/app-initdb.html) 4) Register it as service (http://www.postgresql.org/docs/8.4/static/app-pg-ctl.html) 5) Start the service. 6) Use psql to connect to the database. You are more or less done with this. Though you wont get any menu icons with this manual install.
This message was edited 1 time. Last update was at 3 Sep 2010 02:31:30
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
|
|
|
|