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

postgre 7.0 on WinXP error

postgre 7.0 on WinXP error

postgre 7.0 on WinXP error


I tried to install postgre 7.0 on WinXP.
I got postgre 7.0  binary for NT from postgresql.com.
I installed cygwin.
I started cygipc deamon.
I started cygwin and in $ prompt i write:
The steps i made are:
1)I copy postgresql in f:\pgsql directory
2)mkdir -p /usr/local/pgsql
3)mount -b f:/pgsql /usr/local/pgsql
4)Using an editor i create .bashrc in / directory as belows:
5)source /.bashrc
6)initdb –D /usr/local/pgsql/data/db –U www
The response was:
   invalid option –U
*administrator is Catalin
7)initdb –D /usr/local/pgsql/data/db
   executed from path /

The response was:
  The database system will be initialized with username “Catalin”
All it’s working fine.
Success. You can nou start the database server using :
/usr/local/pgsql/bin/postmaster –D /usr local/pgsql/db
/usr/local/pgsql/bin/pg_ctl –D /usr local/pgsql/db start
8)Edit the file /usr/local/pgsql/data/pg_hba.conf, such as:
host all trust

10)cd /usr/local/pgsql/bin
11)pg_ctl –D /usr local/pgsql/db start

The response was:
The program postmaster needed by pg_ctl could not be found. It was expected at : ./postmaster
12)create a directory postmaster and copy the postmaster file in it
13)pg_ctl –D /usr local/pgsql/db start

Tre response was
pg_ctl : is seems another postmaster is running.Try to start postmaster anyway
./postmaster:not found
pg_ctl:cannot start postmaster.Is another postmaster is running?
14)Pg_ctl status
Pg_ctl : postmaster is running(pid:6210)
Options are:
-p 5432
-D /usr/local/pgsql/data
-B 64
-b /usr/local/pgsql/bin/postgres
-N 32
15)Pg_ctl stop
Kill 6210:no such process
Postmaster successfully shut down

My question is:
What dimension must have postmaster? At me is 1K.
What i'm doing wrong?

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