From: | liutengjiao <liutengjiao(at)sina(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | how to install postgresql!! |
Date: | 2002-05-27 10:43:10 |
Message-ID: | 20020527104310.24530.qmail@sina.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
now I have install postgreSQL7.2.tar.gz,but can't run it
my step:
1 # ./confugure
2 # make
3 # make install (prompt succed!!)
4 #LD_LIBRARY_PATH=/usr/local/pgsql/lib
# export LD_LIBRARY_PATH
#/sbin/ldconfig /usr/local/pgsql/lib
# MANPATH=/usr/local/pgsql/man:$MANPATH
(above command according to the INSTALL file of postgresql7.2 all no problem)
5 #adduser postgres
6 #mkdir /usr/local/pgsql/data
#chown postgres /usr/local/pgsql/data
#su - postgres
7 $ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
prompt:success, you can now start the database server using:
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
8 $/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
error:FATAL 1:Can't read lock file /tmp/.s.PGSQL.5432.lock:Permission denied
why?????????
can you help me? I can't input chinese in linux
please answer in chinese
3x!!
______________________________________
===================================================================
(http://mail.sina.com.cn)
(http://classad.sina.com.cn/2shou/)
From | Date | Subject | |
---|---|---|---|
Next Message | Ferdinand Smit | 2002-05-27 11:50:20 | How to rotate postgres logfiles |
Previous Message | l.malaspina | 2002-05-27 07:38:59 | Réf. : Re: File systems backup problem |