question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error startin king Phisher services

See original GitHub issue

Issue Description

installed King-phisher on Kali

Reproduction Steps

  1. Start King Phisher
  2. Do something to trigger the crash

Environment Details

Host OS: Kali 2, King Phisher Version

Jan 22 20:47:02 kingkali systemd[1]: king-phisher.service: Can’t open PID file /run/king-phisher.pid (yet?) after start: No such file or directory Jan 22 20:47:05 kingkali su[776]: (to postgres) root on none Jan 22 20:47:05 kingkali su[776]: pam_unix(su:session): session opened for user postgres by (uid=0) Jan 22 20:47:05 kingkali su[776]: pam_unix(su:session): session closed for user postgres Jan 22 20:47:05 kingkali su[803]: (to postgres) root on none Jan 22 20:47:05 kingkali su[803]: pam_unix(su:session): session opened for user postgres by (uid=0) Jan 22 20:47:05 kingkali su[803]: pam_unix(su:session): session closed for user postgres Jan 22 20:48:24 kingkali systemd[1]: king-phisher.service: start operation timed out. Terminating. Jan 22 20:48:24 kingkali systemd[1]: king-phisher.service: Failed with result ‘timeout’. Jan 22 20:48:24 kingkali systemd[1]: Failed to start King Phisher Server. e logs here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
kermanacommented, Jan 25, 2020

Sure thing! Here is the output:

root@ip-172-x-x-x:/opt/king-phisher# file data/server/king_phisher/GeoLite2-City.mmdb; ls -lha data/server/king_phisher/GeoLite2-City.mmdb
data/server/king_phisher/GeoLite2-City.mmdb: ASCII text
-rw-r--r-- 1 root king-phisher 133 Jan 23 17:05 data/server/king_phisher/GeoLite2-City.mmdb
root@ip-172-x-x-x:/opt/king-phisher# cat data/server/king_phisher/GeoLite2-City.mmdb
version https://git-lfs.github.com/spec/v1
oid sha256:a253d9cd68fe17b00087da24375f31f07cd4bb3852dc5fe3afe37b8f59e5abd0
size 61615395
0reactions
madafaka221commented, Jul 30, 2020

Using /usr/local/lib/python3.8/dist-packages/distribute-0.7.3-py3.8.egg Processing dependencies for distribute Finished processing dependencies for distribute INFO: Installing the client desktop application file INFO: Updating the GTK icon cache gtk-update-icon-cache: Cache file created successfully. INFO: Configuring the PostgreSQL server INFO: PostgreSQL configuration file found at /etc/postgresql/12/main/pg_hba.conf WARNING: The PostgreSQL king_phisher user already exists! The password will need WARNING: to be manually updated to match the one automatically generated by this WARNING: installation script (by using the ALTER ROLE PostgreSQL command) or WARNING: restored from a previously backed up server configuration file. INFO: Installing the King Phisher systemd service file in /lib/systemd/system/ INFO: Starting the King Phisher service Failed to enable unit: Unit file /etc/systemd/system/king-phisher.service is masked. Failed to start king-phisher.service: Unit king-phisher.service is masked.

INFO: You can start the King Phisher client with the following command: /opt/king-phisher/KingPhisher

pleas help

Read more comments on GitHub >

github_iconTop Results From Across the Web

King-phisher service fails · Issue #349 - GitHub
sysadmin@KingServer:/opt$ sudo service king-phisher start. Job for king-phisher.service failed because of unavailable resources or another system error.
Read more >
King Phisher refuses to launch - Kali Linux Forums
Hello, whenever i try to start king phisher and enter my credentials it always gives me this error "the server refused the connection"...
Read more >
King Phisher Documentation - Read the Docs
Handle a failure in starting the message sender thread and ... This provides authentication services to the King Phisher server through PAM.
Read more >
Public Knowledge - Known Phishing Scams
Below is a list of known email scams or spam that have been blocked by Information Resources & Technology. If you received one...
Read more >
Gone KingPhishin' Part 2 – KingPhisher 1.1.0 + TLS + Creds ...
A system capable of running king-phisher server (I'm using a Digital ... Starting the King Phisher service ... Ignore any non-fatal errors.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found