Обсуждение: how to install postgresql!!

Поиск
Список
Период
Сортировка

how to install postgresql!!

От
liutengjiao
Дата:
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/)

Re: how to install postgresql!!

От
"Nick Fankhauser"
Дата:
Try:

ls -al /tmp

make sure the permissions on /tmp are: drwxrwxrwt


>    please answer in chinese

That's a skill I don't have- I hope you can work with this...

-Nick

--------------------------------------------------------------------------
Nick Fankhauser  nickf@ontko.com  Phone 1.765.935.4283  Fax 1.765.962.9788
Ray Ontko & Co.     Software Consulting Services     http://www.ontko.com/



Re: how to install postgresql!!

От
bangh
Дата:

Nick Fankhauser wrote:

> Try:
>
> ls -al /tmp
>
> make sure the permissions on /tmp are: drwxrwxrwt
>
> >    please answer in chinese
>
> That's a skill I don't have- I hope you can work with this...

I think there is the document in Chinese. Please check the home site of
postgres.

>
>
> -Nick
>
> --------------------------------------------------------------------------
> Nick Fankhauser  nickf@ontko.com  Phone 1.765.935.4283  Fax 1.765.962.9788
> Ray Ontko & Co.     Software Consulting Services     http://www.ontko.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html