Usually, when postgres is installed a service/daemon is created in the system so, there is no need to launch the server by hand. You are getting the error because the service is already running.
Try to connect to the database using psql
Related Posts:
- PostgreSQL: Show tables in PostgreSQL
- Psql could not connect to server: No such file or directory, 5432 error?
- Getting error: Peer authentication failed for user “postgres”, when trying to get pgsql working with rails
- What is the format for the PostgreSQL connection string / URL?
- “use database_name” command in PostgreSQL
- PSQLException: current transaction is aborted, commands ignored until end of transaction block
- psql: FATAL: Ident authentication failed for user “postgres”
- fe_sendauth: no password supplied
- How can I drop all the tables in a PostgreSQL database?
- How to restart PostgreSQL in Ubuntu 18.04
- FATAL: password authentication failed for user “postgres” (postgresql 11 with pgAdmin 4)
- Postgresql: Scripting psql execution with password
- postgresql duplicate key violates unique constraint
- “psql: could not connect to server: Connection refused” Error when connecting to remote database
- How to change PostgreSQL user password?
- No function matches the given name and argument types
- PostgreSQL error: Fatal: role “username” does not exist
- How to change PostgreSQL user password?
- How to exit from PostgreSQL command line utility: psql
- psql: FATAL: database “
” does not exist - eroku “psql: FATAL: remaining connection slots are reserved for non-replication superuser connections”
- Permission denied for relation
- input file appears to be a text format dump. Please use psql
- PG COPY error: invalid input syntax for integer
- Postgres: INSERT if does not exist already
- What’s the default superuser username/password for postgres after a new install?
- How to see active connections and “current activity” in PostgreSQL 8.4
- pg_dump and pg_restore: input file does not appear to be a valid archive
- What is this JavaScript “require”?
- What is this JavaScript “require”?
- PostgreSQL “DESCRIBE TABLE”
- How to UPSERT (MERGE, INSERT … ON DUPLICATE UPDATE) in PostgreSQL?
- How to restart Postgresql
- Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
- What is the default password for Postgres
- Postgresql 9.2 pg_dump version mismatch
- missing FROM-clause entry for table
- PostgreSQL: Remotely connecting to Postgres instance using psql command
- Simple Random Samples from a Sql database
- Insert text with single quotes in PostgreSQL
- ERROR: there is no unique constraint matching given keys for referenced table “bar”
- Cannot simply use PostgreSQL table name (“relation does not exist”)
- Can’t find the ‘libpq-fe.h header when trying to install pg gem
- Simulate CREATE DATABASE IF NOT EXISTS for PostgreSQL?
- could not connect to server: No such file or directory (PG::ConnectionBad)
- Postgresql tables exists, but getting “relation does not exist” when querying
- PG::ConnectionBad: fe_sendauth: no password supplied
- “extra data after last expected column” while trying to import a csv file into postgresql
- postgresql: error duplicate key value violates unique constraint
- psql: command not found Mac
- pg_ctl: no database directory specified and environment variable PGDATA unset
- psql: FATAL: role “postgres” does not exist
- Postgres Error: More than one row returned by a subquery used as an expression
- PostgreSQL: Query has no destination for result data
- What is the difference between LATERAL JOIN and a subquery in PostgreSQL?
- PostgreSQL create table if not exists
- updating table rows in postgres using subquery
- PostgreSQL visual interface similar to phpMyAdmin?
- java.lang.ClassNotFoundException: org.postgresql.Driver, Android
- GROUP BY and COUNT using ActiveRecord
- Postgresql column reference “id” is ambiguous
- What is a postgres superuser
- GRANT SELECT to all tables in postgresql
- Is there an equivalent of MySQL’s SHOW CREATE TABLE in Postgres?
- Postgres equivalent to MySQL’s \G?
- Postgresql: what does GRANT ALL PRIVILEGES ON DATABASE do?
- Postgres equivalent to MySQL’s \G?
- Postgres equivalent to MySQL’s \G?