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

King-phisher time out on postgres initialization #479

Closed
Knekro opened this issue Feb 12, 2022 · 1 comment
Closed

King-phisher time out on postgres initialization #479

Knekro opened this issue Feb 12, 2022 · 1 comment
Labels

Comments

@Knekro
Copy link

Knekro commented Feb 12, 2022

Issue Description

After installing and doing 'systemctl start king-phisher' the king-phisher server times out at the moment of initializing the postgres session, at least thats what I think it's happening.

Reproduction Steps

  1. Start King Phisher
  2. Fails

Environment Details

Host OS: Kali GNU/Linux Rolling x86_64
Kernel: 5.15.0-kali3-amd64
King Phisher Version: 1.16.0-beta

Error Details / Stack Trace

journalctl -u output:
Feb 12 15:22:41 kali systemd[1]: Starting King Phisher Server...
Feb 12 15:22:41 kali su[1886]: (to postgres) root on none
Feb 12 15:22:41 kali su[1886]: pam_unix(su:session): session opened for user postgres(uid=124) by (uid=0)
Feb 12 15:22:42 kali su[1886]: pam_unix(su:session): session closed for user postgres
Feb 12 15:22:42 kali su[1911]: (to postgres) root on none
Feb 12 15:22:42 kali su[1911]: pam_unix(su:session): session opened for user postgres(uid=124) by (uid=0)
Feb 12 15:22:42 kali systemd[1]: king-phisher.service: Can't open PID file /run/king-phisher.pid (yet?) after start: Operation not permitted
Feb 12 15:22:42 kali su[1911]: pam_unix(su:session): session closed for user postgres
Feb 12 15:22:42 kali KingPhisherServer[1884]: CRITICAL server failed to build with error: database initialization failed
Feb 12 15:24:11 kali systemd[1]: king-phisher.service: start operation timed out. Terminating.
Feb 12 15:24:11 kali systemd[1]: king-phisher.service: Failed with result 'timeout'.
Feb 12 15:24:11 kali systemd[1]: Failed to start King Phisher Server.
Feb 12 15:24:11 kali systemd[1]: king-phisher.service: Consumed 1.022s CPU time.

Thanks!

@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 17, 2022
@stale stale bot closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant