rsmusllp / king-phisher

Phishing Campaign Toolkit
BSD 3-Clause "New" or "Revised" License
2.27k stars 540 forks source link

Failed to start #469

Closed crian92 closed 3 years ago

crian92 commented 3 years ago

I'm trying to install and set up King-phisher on Kali GNU/Linux Rolling and was able to install successfully with all requirements. However, when attempted to start king-phisher.service, I got the following error.

"Job for king-phisher.service failed because a timeout was exceeded. See "systemctl status king-phisher.service" and "journalctl -xe" for details"

heres the error details root@kali:/opt/king-phisher# service king-phisher status ● king-phisher.service - King Phisher Server Loaded: loaded (/lib/systemd/system/king-phisher.service; enabled; vendor preset: disabled) Active: failed (Result: timeout) since Sat 2021-05-08 02:03:31 EDT; 31min ago Process: 2439 ExecStart=/usr/bin/python3 /opt/king-phisher/KingPhisherServer /opt/king-phisher/server_config.yml (code=exited, status=0/SUCCESS) CPU: 3.670s

May 08 02:02:25 kali su[2456]: (to postgres) root on none May 08 02:02:25 kali su[2456]: pam_unix(su:session): session opened for user postgres(uid=121) by (uid=0) May 08 02:02:29 kali su[2528]: (to postgres) root on none May 08 02:02:29 kali su[2528]: pam_unix(su:session): session opened for user postgres(uid=121) by (uid=0) May 08 02:02:29 kali su[2528]: pam_unix(su:session): session closed for user postgres May 08 02:02:31 kali python3[2454]: CRITICAL server failed to build with error: database initialization failed May 08 02:03:31 kali systemd[1]: king-phisher.service: start operation timed out. Terminating. May 08 02:03:31 kali systemd[1]: king-phisher.service: Failed with result 'timeout'. May 08 02:03:31 kali systemd[1]: Failed to start King Phisher Server. May 08 02:03:31 kali systemd[1]: king-phisher.service: Consumed 3.670s CPU time.