Re: problem install postgres7.03 on win2000!!!!
От | Jason Tishler |
---|---|
Тема | Re: problem install postgres7.03 on win2000!!!! |
Дата | |
Msg-id | 20010326110232.E291@dothill.com обсуждение исходный текст |
Ответ на | Re: problem install postgres7.03 on win2000!!!! (Jason Tishler <Jason.Tishler@dothill.com>) |
Ответы |
Re: problem install postgres7.03 on win2000!!!!
|
Список | 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@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.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
В списке pgsql-ports по дате отправления: