dbTalk Databases Forums  

[BUGS] BUG #1873: "Invalid username specified" during install

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1873: "Invalid username specified" during install in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gus Gutoski
 
Posts: n/a

Default [BUGS] BUG #1873: "Invalid username specified" during install - 12-03-2006 , 01:24 PM






Hi,

Warning: I'm a total noob.
See below for the original bug report.

I was able to reproduce this problem on postgres 8.1.5 and I think I
have a fix. Here's how I reproduced it:

1. Install postgres as a windows service (create the default posgres
WinXP account, etc)
2. Uninstall postgres.
3. Attempt to install postgres again

Result:
The installer cannot create the default postgres WinXP account.
Error message: "Invalid username specified: Logon failure: unknown
username or bad password."
However, if you change to any other account name then the installer will
finish as normal.

Fix:
The problem is that uninstalling postgres does *not* delete the postgres
WinXP account that was created during installation. You have to
manually delete that account yourself before postgres installation can
successfully recreate that account.

Here's some advice that might save you some time:
It is *not* sufficient to merely delete the user *profile* via control
panel -> system -> advanced -> "settings" button under "user profiles".
You *must* delete the *whole account* via control panel ->
administrative tools -> computer management -> navigate to "users" via
(System tools -> local users and groups) and delete the account that way.

I hope that helps.

Gus

====================
original bug report found at
http://archives.postgresql.org/pgsql...9/msg00061.php
====================

The following bug has been logged online:

Bug reference: 1873
Logged by: Lee Benson
Email address: lee ( dot ) benson ( at ) issinc ( dot ) com
PostgreSQL version: 8.0.3
Operating system: Windows XP Pressional
Description: "Invalid username specified" during install
Details:

I am trying to reinstall Postgres 8.0.3 after developing a problem using
psql (command line) where I was getting the "password authentication
failure" message. When I tried to reinstall, I got the "Invalid username
specified: Logon failure: unknown user name or bad password" error. If I
change the default user from "postgres" to something else, the installer
will move on and finish, but I still can't use psql at the command line.
What am I missing?


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.