Я не могу создать базу данных i postgresql из pgadmin. Я выполнил много процедур, но я не смог это исправить. Моя ОС - Manjaro KDE 'ARCH LINUX'
, и ошибка выглядит следующим образом. когда я хочу создать сервер, я не могу понять, в чем конкретно проблема
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432? ```
журнал ошибок systemctl status postgresql.service
● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-04-13 16:22:46 +0545; 15s ago
Process: 4041 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=0/SUCCESS)
Process: 4043 ExecStart=/usr/bin/postgres -D ${PGROOT}/data (code=exited, status=1/FAILURE)
Main PID: 4043 (code=exited, status=1/FAILURE)
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: could not bind IPv6 address "::1": Address a>
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] HINT: Is another postmaster already running on po>
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: could not bind IPv4 address "127.0.0.1": Add>
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] HINT: Is another postmaster already running on po>
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] WARNING: could not create listen socket for "loca>
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] FATAL: could not create any TCP/IP sockets
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: database system is shut down
Apr 13 16:22:46 rijalboy systemd[1]: postgresql.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 16:22:46 rijalboy systemd[1]: postgresql.service: Failed with result 'exit-code'.
Apr 13 16:22:46 rijalboy systemd[1]: Failed to start PostgreSQL database server.
lines 1-17/17 (END)...skipping...
● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-04-13 16:22:46 +0545; 15s ago
Process: 4041 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=0/SUCCESS)
Process: 4043 ExecStart=/usr/bin/postgres -D ${PGROOT}/data (code=exited, status=1/FAILURE)
Main PID: 4043 (code=exited, status=1/FAILURE)
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: could not bind IPv6 address "::1": Address already in use
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: could not bind IPv4 address "127.0.0.1": Address already in use
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] WARNING: could not create listen socket for "localhost"
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] FATAL: could not create any TCP/IP sockets
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: database system is shut down
Apr 13 16:22:46 rijalboy systemd[1]: postgresql.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 16:22:46 rijalboy systemd[1]: postgresql.service: Failed with result 'exit-code'.
Apr 13 16:22:46 rijalboy systemd[1]: Failed to start PostgreSQL database server.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-17/17 (END)...skipping...
● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-04-13 16:22:46 +0545; 15s ago
Process: 4041 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=0/SUCCESS)
Process: 4043 ExecStart=/usr/bin/postgres -D ${PGROOT}/data (code=exited, status=1/FAILURE)
Main PID: 4043 (code=exited, status=1/FAILURE)
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: could not bind IPv6 address "::1": Address already in use
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: could not bind IPv4 address "127.0.0.1": Address already in use
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] WARNING: could not create listen socket for "localhost"
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] FATAL: could not create any TCP/IP sockets
Apr 13 16:22:46 rijalboy postgres[4043]: 2020-04-13 16:22:46.391 +0545 [4043] LOG: database system is shut down
Apr 13 16:22:46 rijalboy systemd[1]: postgresql.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 16:22:46 rijalboy systemd[1]: postgresql.service: Failed with result 'exit-code'.
Apr 13 16:22:46 rijalboy systemd[1]: Failed to start PostgreSQL database server.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-17/17 (END)
, поэтому я не могу понять, что проблема в? пожалуйста, помогите мне решить эту проблему