{"action":"created","issue":{"url":"https://api.github.com/repos/postgrespro/pg_probackup/issues/30","repository_url":"https://api.github.com/repos/postgrespro/pg_probackup","labels_url":"https://api.github.com/repos/postgrespro/pg_probackup/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/postgrespro/pg_probackup/issues/30/comments","events_url":"https://api.github.com/repos/postgrespro/pg_probackup/issues/30/events","html_url":"https://github.com/postgrespro/pg_probackup/issues/30","id":329357072,"node_id":"MDU6SXNzdWUzMjkzNTcwNzI=","number":30,"title":"подключение через UNIX soket","user":{"login":"sgrinko","id":10084993,"node_id":"MDQ6VXNlcjEwMDg0OTkz","avatar_url":"https://avatars2.githubusercontent.com/u/10084993?v=4","gravatar_id":"","url":"https://api.github.com/users/sgrinko","html_url":"https://github.com/sgrinko","followers_url":"https://api.github.com/users/sgrinko/followers","following_url":"https://api.github.com/users/sgrinko/following{/other_user}","gists_url":"https://api.github.com/users/sgrinko/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrinko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrinko/subscriptions","organizations_url":"https://api.github.com/users/sgrinko/orgs","repos_url":"https://api.github.com/users/sgrinko/repos","events_url":"https://api.github.com/users/sgrinko/events{/privacy}","received_events_url":"https://api.github.com/users/sgrinko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-05T08:44:34Z","updated_at":"2018-06-05T08:49:21Z","closed_at":null,"author_association":"NONE","body":"Почему-то не получается подключиться...\r\nокружение: pg_probackup 2.0.17 (собран из исходников github)\r\nсервер ваниль 10.4\r\n```\r\n-bash-4.2$ psql\r\npsql.bin (10.4)\r\nType \"help\" for help.\r\n\r\npostgres=# select name, setting from pg_settings where name = 'unix_socket_directories';\r\n          name           | setting\r\n-------------------------+---------\r\n unix_socket_directories | /tmp\r\n(1 row)\r\n\r\npostgres=# \\q\r\n-bash-4.2$ ls -a /tmp/.s.*\r\n/tmp/.s.PGSQL.5432  /tmp/.s.PGSQL.5432.lock  /tmp/.s.PGSQL.6432\r\n-bash-4.2$ pg_probackup backup  -b full --stream --instance=10\r\nINFO: Backup start, pg_probackup version: 2.0.17, backup ID: P9UDEF, backup mode: full, instance: 10, stream: true, remote: false\r\nERROR: could not connect to database postgres: could not connect to server: No such file or directory\r\n        Is the server running locally and accepting\r\n        connections on Unix domain socket \"/var/run/postgresql/.s.PGSQL.5432\"?\r\n\r\n-bash-4.2$ pg_probackup version\r\npg_probackup 2.0.17 (PostgreSQL 10.3)\r\n-bash-4.2$\r\n```\r\nпочему pg_probackup ищет Unix domain socket  по пути `\"/var/run/postgresql/.s.PGSQL.5432\"?`\r\nмне нужно принудительно в конфигах постгресса поменять настройку?"},"comment":{"url":"https://api.github.com/repos/postgrespro/pg_probackup/issues/comments/394632037","html_url":"https://github.com/postgrespro/pg_probackup/issues/30#issuecomment-394632037","issue_url":"https://api.github.com/repos/postgrespro/pg_probackup/issues/30","id":394632037,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDYzMjAzNw==","user":{"login":"sgrinko","id":10084993,"node_id":"MDQ6VXNlcjEwMDg0OTkz","avatar_url":"https://avatars2.githubusercontent.com/u/10084993?v=4","gravatar_id":"","url":"https://api.github.com/users/sgrinko","html_url":"https://github.com/sgrinko","followers_url":"https://api.github.com/users/sgrinko/followers","following_url":"https://api.github.com/users/sgrinko/following{/other_user}","gists_url":"https://api.github.com/users/sgrinko/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrinko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrinko/subscriptions","organizations_url":"https://api.github.com/users/sgrinko/orgs","repos_url":"https://api.github.com/users/sgrinko/repos","events_url":"https://api.github.com/users/sgrinko/events{/privacy}","received_events_url":"https://api.github.com/users/sgrinko/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T08:49:21Z","updated_at":"2018-06-05T08:49:21Z","author_association":"NONE","body":"При попытке подключиться с указанием хоста и пользователя получаю другую ошибку\r\n```\r\n# echo $PGDATA\r\n/var/lib/postgresql/10\r\n# echo $BACKUP_PATH\r\n/mnt/pgbak\r\n# pg_probackup backup -b full --stream -h localhost -U postgres -d postgres --instance=10\r\nINFO: Backup start, pg_probackup version: 2.0.17, backup ID: P9UDRU, backup mode: full, instance: 10, stream: true, remote: false\r\npg_probackup: symbol lookup error: pg_probackup: undefined symbol: PQconninfo\r\n#\r\n```"}}
{"actor":{"display_login":"sgrinko"}}