Skip site navigation (1) Skip section navigation (2)

Re: problem install postgres7.03 on win2000!!!!

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: james <james(at)autotools(dot)com(dot)tw>
Cc: Pgsql-Ports <pgsql-ports(at)postgresql(dot)org>
Subject: Re: problem install postgres7.03 on win2000!!!!
Date: 2001-03-26 16:02:32
Message-ID: 20010326110232.E291@dothill.com (view raw or flat)
Thread:
Lists: pgsql-ports
James,

On Fri, Mar 23, 2001 at 11:17:44AM +0800, james wrote:
> thanks for your helping! sorry to bother you again.
> 
> i remove all cygwin and postgresql and reinstall again;
> 1. install cygwin 1.1.8
> 2. $tar zxvf cygipc-1.09-2.tar.gz  (at "/")
> 3. $cd /usr/src
> 3. $tar zxvf postgresql-7.1beta6.tar.gz
> 4. $cd postgresql-7.1beta6
> 5. $./configure --with-CXX
> 6. $make
> 7. $make install
> 8. $cp /usr/local/pgsql/lib/pq.dll /usr/local/pgsql/bin
> 9. $ wget -nd
> ftp://ftp.freesoftware.com/.0/sourceware/cygwin/snapshots/cygwin1-20010319.d
> ll.bz2
>     $ bunzip2 cygwin1-20010319.dll.bz2
>     $ # shutdown all Cygwin processes
>     $ # using cmd or Windows Explorer rename cygwin1-20010319.dll to
> cygwin1.dll
>     $ # using cmd or Windows Explorer move (new) cygwin1.dll to Cygwin's bin
> 10. editor to create .bashrc in / directory as belows:
>                   PATH=$PATH:/usr/local/pgsql/bin:/usr/local/bin
>                   PGDATA=/usr/local/pgsql/data
>                   PGLIB=/usr/local/pgsql/lib
>                   LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/local/lib
>                   export LD_LIBRARY_PATH PATH PGDATA PGLIB
> 11. $source /.bashrc,
> 12. $initdb    then show the message and hang....
> 13. i try to remove /usr/local/pgsql/data then initdb i got the same resoult
> 
> administrator(at)JAMES /usr/src
> $ initdb
> This database system will be initialized with username "administrator".
> This user will own all the data files and must also own the server process.
> Creating directory /usr/local/pgsql/data
> Creating directory /usr/local/pgsql/data/base
> Creating directory /usr/local/pgsql/data/global
> Creating directory /usr/local/pgsql/data/pg_xlog
> Creating template1 database in /usr/local/pgsql/data/base/1

The only suggestion that I can offer is to try the initdb when not
logged on as administrator.  Otherwise, may be someone on the list has a
better suggestion.

Sorry,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

In response to

Responses

pgsql-ports by date

Next:From: Jason TishlerDate: 2001-03-26 16:28:10
Subject: Re: Failed compile on NT
Previous:From: Tim DunningtonDate: 2001-03-26 14:55:56
Subject: Re: [7.1b6 on win2k] server crashes with mmap error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group