Re: initdb hangs even though ipc-daemon is running? - Mailing list pgsql-general

From Tom Gilbert
Subject Re: initdb hangs even though ipc-daemon is running?
Date
Msg-id B1C1C168F354D4119B7800508BD8B63B460E57@VMSNT4S001
Whole thread Raw
In response to initdb hangs even though ipc-daemon is running?  (Tom Gilbert <Tom.Gilbert@vmusicstores.com>)
List pgsql-general
I have just managed to get a working version of PostfreSQL by using the
PeerDirect PostgreSQL beta version.

see lower half of the page at:
http://techdocs.postgresql.org/guides/InstallingOnWindows


This version seems to better understand NT user management, as initdb
reports:

W:\>initdb
The files belonging to this database system will be owned by user
"GilbertT".
This user must also own the server process.

Not that I am running ipc-daemon as a service using --install-as-service
option on Win2K SP3. The other version of initdb got the user wrong,
thinking I was logged in as user Administrator, which is most certianly not
the case.

decent start to my day, anyway,

cheers,

Tom Gilbert

-----Original Message-----
From: Tom Gilbert [mailto:Tom.Gilbert@vmusicstores.com]
Sent: 27 February 2003 17:25
To: 'pgsql-general@postgresql.org'
Subject: [GENERAL] initdb hangs even though ipc-daemon is running?


Hi Guys,

I'm having trouble installing & running PostgreSQL for the first time on my
Win2K system. I'm running ipc-daemon as a service (following a reboot after
ipc-daemon --install-as-service) but initdb is still hanging at the point
shown below.

I'm guessing there may be a problem with logins/access rights here?


Administrator@GILBERTT ~
$ initdb -D test
The files belonging to this database system will be owned by user
"Administrator".
This user must also own the server process.

creating directory test... ok
creating directory test/base... ok
creating directory test/global... ok
creating directory test/pg_xlog... ok
creating directory test/pg_clog... ok
creating template1 database in test/base/1...


I am logged in to a company domain VMSW1 as user GilbertT (well, I type
gilbertt when logging on to Win2K but user manager shows it as GilbertT) who
belongs to Administrators group on the local machine. I installed everything
via this login. Could this be the problem, since initdb reports that the
files will belong to Administrator and requires that the same user must own
the server process?

thanks for any help - amazing how many hours (days) this sort of thing can
eat up...!

cheers,

Tom Gilbert


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

pgsql-general by date:

Previous
From: Arjen van der Meijden
Date:
Subject: Re: phpBB2 slow on postgres vs mysql ?
Next
From: Jean-Christian Imbeault
Date:
Subject: Locking rows