Re: problems with debian testing install or documentation

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: problems with debian testing install or documentation
Дата
Msg-id 1388728731826-5785186.post@n5.nabble.com
обсуждение исходный текст
Ответ на problems with debian testing install or documentation  ("john.tiger" <john.tigernassau@gmail.com>)
Список pgsql-general
john.tiger wrote
> 4) su - postgres
>  > password --> submitted old one, worked
> $ psql
>
> psql: could not connect to server: No such file or directory
>          Is the server running locally and accepting
>          connections on Unix domain socket
> "/var/run/postgresql/.s.PGSQL.5432"?
>
> tried to start server:  sudo /etc/init.d/postgresql
>
> sudo] password for postgres:  xxxxxx
> postgres is not in the sudoers file.  This incident will be reported.
>
> 5) checked wiki.debian.org/postgresql  - no help
>
> any ideas ?

Don't run sudo when you have su'd to postgres.  The Postgres user created
during install is not given sudo privileges.  You have to use your
main/admin user.

See this

http://wiki.postgresql.org/wiki/Apt

For the most recent instructions for Debian/Ubuntu via PPA

Quick notes:

These packages allow the various PostgreSQL versions to play well together.

They provide cluster management tools.  Two of the most useful are:

pg_lsclusters
pg_ctlcluster

Files go into {base}/{version}/{name} directories which is why they play
well together.  A cluster is the combination of version-name

David J.







--
View this message in context:
http://postgresql.1045698.n5.nabble.com/problems-with-debian-testing-install-or-documentation-tp5785180p5785186.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: "john.tiger"
Дата:
Сообщение: problems with debian testing install or documentation
Следующее
От: xbzhang
Дата:
Сообщение: Why the size (PQ_BUFFER_SIZE) of backend send buffers is 8192 ?