Search Postgresql Archives

Re: problems with debian testing install or documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux