Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faraday-manage initdb failed! #480

Closed
JayMiguel opened this issue Dec 25, 2023 · 1 comment
Closed

faraday-manage initdb failed! #480

JayMiguel opened this issue Dec 25, 2023 · 1 comment

Comments

@JayMiguel
Copy link

I have started PostgreSQL. Then I execute the 'faraday manage initdb' command. It runs incorrectly:
┌──(kali㉿attacker)-[~] └─$ faraday-manage initdb 2023-12-25T02:48:32-0500 - faraday.server.app - INFO {MainThread} [pid:50311] [app.py:479 - create_app()] Missing [database] section on server.ini. Please configure the database before running the server. /nix/store/q77nskf89iv0ararp6ab87h48qldhw1a-python3.10-flask-sqlalchemy-2.5.1/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py:851: UserWarning: Neither SQLALCHEMY_DATABASE_URI nor SQLALCHEMY_BINDS is set. Defaulting SQLALCHEMY_DATABASE_URI to "sqlite:///:memory:". warnings.warn( This script will create a new postgres user and save faraday-server settings (server.ini). [sudo] kali 的密码: ERROR: psql: 错误: 连接到套接字"/var/run/postgresql/.s.PGSQL.5432"上的服务器失败:没有那个文件或目录 Is the server running locally and accepting connections on that socket?

@ezk06eer
Copy link

@JayMiguel have you followed the steps in: https://docs.faradaysec.com/Install-guide-Linux/
If you will use kali, the installation doesnt need an initdb, because its already up. If you will do a reinstall you should remove the old kali install.

@ezk06eer ezk06eer closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants