×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Postgres 7.2.1 under Windows NT 4.0

Postgres 7.2.1 under Windows NT 4.0

Postgres 7.2.1 under Windows NT 4.0

(OP)
Hi,

I have downloaded cgywin using the setup program.  I installed most of cgywin including postgres 7.2.1.  However, I'm having trouble configuring postgres and getting it started under windows.  In particular I'm having trouble having postgres build the template1 database. I login to windows NT 4.0 using the postgres username and password.  Then I start cgywin.  At the $ prompt I type the following:

initdb -D /usr/share/postgresql/data

The above command results in a number of files and directories being created and initdb displays on the screen each directory and file created followed by ... ok, but it always hangs when trying to create the template1 database as follows:

creating template1 database in /usr/share/postgresql/data/base/1 ...

When I click on the task manager and check the performance page frame, it indicate that 100 percent of the CPU cycles are being used and that the process is running.  I've waited to a reasonable period of time for the process to complete but it never gets past creating the template1 database.  Can anyone shed some light on what might be going wrong.

Leland F. Jackson, CPA
Software - Master (TM)
http://www.smvfp.com
Nothing Runs Like the Fox

RE: Postgres 7.2.1 under Windows NT 4.0

(OP)
Hi HIH,

Thanks for your reply.  I finally came across a link to a step by step readme file about how to do a Windows install of postgres.  I installed postgres according to it and I have it working now.  I wasn't able to get it working completely as a NT service, but I can start it in the cygwin command window.  What I was missing mainly is I didn't know that the cygwin IPC Daemon had to be started before starting postgres.

Again, thanks for the reply.

Leland F. Jackson, CPA
Software - Master (TM)
http://www.smvfp.com
Nothing Runs Like the Fox

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close