[FAIL] Metasploit worker is not running ... failed

        PS:看到的若有更好的方法,期待分享!php

    前日可能因爲虛擬機忽然關閉的緣由,致使metasploit下次啓動的時候報錯以下web

    以下圖,不管啓動服務仍是關閉服務的時候,都報worker服務啓動失敗。
shell

    其實在以前的時候,先是發生了web server服務沒法啓動,而後在網上找到了方法,沒法啓動是由於在metasploit忽然結束後,存在相關進程沒有徹底關閉,存在互斥,因此沒法啓動,根據後面的提示找到以下目錄文件app

    刪掉以下文件便可解決
post

/opt/metasploit/apps/pro/ui/log/thin.pid

        接下來須要處理的是worker服務的報錯,一直糾結了好久,網上找了許多相關問題都沒有獲得很好的解決,無奈最後經過從新安裝metasploit獲得解決(汗......)測試

apt-get purge metasploit -y
apt-get install metasploit
update-rc.d postgreSQL enable
update-rc.d metasploit enable(此處可能會報錯,無需執行亦可)

        在metasploit的安裝過程當中可能會發生一個LBS腳本的警告,經測試無關使用(後期待補)ui

    如上即可解決,搞的我費了很久最後仍是重裝蛋疼。spa

    貼幾個參考的帖子:code

    https://forums.kali.org/showthread.php?19390-metasploit-issues
server

    https://forums.kali.org/showthread.php?19479-Metasploit-service-remove_stale_pid_file-log-thin-pid-already-exists    

相關文章
相關標籤/搜索