Skip to content

Can't connect to socket @localhost/.s.PGSQL.5432 #2722

@bozhinov

Description

@bozhinov

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I did read the README!
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)
  • I have read and checked all configs (with all optional parts)
  • Asked and no solution about my issue with deepwiki

Expected Behavior

Norma operation post install

Current Behavior

Runnig Ubuntu 22 (latest at the moment of reporting)
I can't run 24 due to lacking AVX on my HP DL340 G7
Fully updated before attempting
Changed the required variables in the installer. Nothing else. This is a fresh OS installation.
This is a first attempt at installation Cape. Once installed, the server was rebooted.
Trying to start poetry as per the guide I get a connection refused CuckooDatabaseError exception
I see it is trying to connect to a socket @localhost/.s.PGSQL.5432
I see in the postgre config the socket dir is /var/run/postgresql/
I can see a hidden .s.PGSQL.5432 socket in there.
the postgresql service is running. I have tried restarting it.
I did not redirect the output of the installation to a log file.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Install Ubuntu 22
  2. Install Capev2
  3. sudo -u cape /etc/poetry/bin/poetry run python3 cuckoo.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions