Thread: Re: [GENERAL] Trouble porting postgreSQL to WinNT
Quoting Tom Lane <tgl@sss.pgh.pa.us>: > This doesn't make any sense, since genbki.sh has nothing to do with > creating the fmgr.h file. I think your rebuild probably cleaned up > something else ... hard to tell what though. On a similar vein, is anyone seeing initdb hanging under NT? So far everything compiles, but it just hangs (CPU isn't going anything either, so it's not looping etc). Peter -- Peter Mount peter@retep.org.uk PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/ RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
Peter, Yes I had the same problem, but for me the reason was that I forgot to start the ipc-daemon before running initdb. Last night I had no problems installing beta4 on WinNT 4.0. thanks, --Barry Peter T Mount wrote: > > Quoting Tom Lane <tgl@sss.pgh.pa.us>: > > > This doesn't make any sense, since genbki.sh has nothing to do with > > creating the fmgr.h file. I think your rebuild probably cleaned up > > something else ... hard to tell what though. > > On a similar vein, is anyone seeing initdb hanging under NT? So far everything > compiles, but it just hangs (CPU isn't going anything either, so it's not > looping etc). > > Peter > > -- > Peter Mount peter@retep.org.uk > PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/ > RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
On Tue, Jan 30, 2001 at 09:41:11AM -0800, Barry Lind wrote: > Yes I had the same problem, but for me the reason was that I forgot to > start the ipc-daemon before running initdb. Last night I had no > problems installing beta4 on WinNT 4.0. Also, AFAICT, ipc-daemon must be running under the same NT logon as the logon that you're using to run initdb (or postmaster), or else you'll see initdb hang (but use lots of CPU). This a major PITA for me, because I went by the book (figuratively) and set up the postgres service to run under a 'postgres' NT logon account created for just that purpose. That means I have to run ipc-daemon logged on as postgres as well. That's not so bad, but now when I want to run 'make check' to run regression tests I have to logon as postgres to do that as well (since the tests run initdb and postmaster). Since Cygwin doesn't have any su/sudo (again, AFAICT) this means logging off my usual development logon, losing all my pretty windows, and into the postgres login. (Makes me appreciate Linux all the more, as if I needed that.) I don't understand why a single ipc-daemon process can't serve processes for multiple NT logons at once. Or can it, and I just don't have it set up right? -- Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312 Principal Consultant www.OntoSys.com fax: +1.630.879.1370 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
At 14:07 30/01/01 -0600, Fred Yankowski wrote: >On Tue, Jan 30, 2001 at 09:41:11AM -0800, Barry Lind wrote: > > Yes I had the same problem, but for me the reason was that I forgot to > > start the ipc-daemon before running initdb. Last night I had no > > problems installing beta4 on WinNT 4.0. > >Also, AFAICT, ipc-daemon must be running under the same NT logon as >the logon that you're using to run initdb (or postmaster), or else >you'll see initdb hang (but use lots of CPU). Doh! That would explain it (although my CPU was idle). Anyhow, it's now running (my linux box still has problems - won't connect to the net - so I'm having to rely on NT to get JDBC sorted). Oh hum. >This a major PITA for me, because I went by the book (figuratively) >and set up the postgres service to run under a 'postgres' NT logon >account created for just that purpose. That means I have to run >ipc-daemon logged on as postgres as well. That's not so bad, but now >when I want to run 'make check' to run regression tests I have to >logon as postgres to do that as well (since the tests run initdb and >postmaster). Since Cygwin doesn't have any su/sudo (again, AFAICT) >this means logging off my usual development logon, losing all my >pretty windows, and into the postgres login. (Makes me appreciate >Linux all the more, as if I needed that.) I can't wait to get the linux box back up. Even though I like JBuilder for the IDE, I still prefer Linux for the serious backend stuff. >I don't understand why a single ipc-daemon process can't serve >processes for multiple NT logons at once. Or can it, and I just don't >have it set up right? Not sure on that one. Peter