昨天都一直正常运行,今天突然报错
CuckooCriticalError: Unable to bind ResultServer on 192.168.56.1:2042 [Errno 99] Cannot assign requested address. This usually happens when you start Cuckoo without bringing up the virtual interface associated with the ResultServer IP address.
解决办法
和Cuckoo v2.0.6搭建过程 - 简书的问题很相似:
过完年回来重启服务器,遇到新问题
按说一切配置都已完好,偏偏启动的时候遇到了以下问题:CuckooCriticalError: Unable to bind ResultServer on 192.168.56.1:2042 [Errno 99] Cannot assign requested address. This usually happens when you start Cuckoo without bringing up the virtual interface associated with the ResultServer IP address.
ResultServer的配置之前没有修改过,ip和port配置在cuckoo.conf的[resultserver]中,ip与virtualbox的网卡ip一致。后来我将ip和port配置在了virtualbox.conf的各客户机标签下的resultserver_ip和resultserver_port,再按要求将cuckoo.conf中的ip改为0.0.0.0,且将两处的port都进行了更换,就不再出现问题了。
我采用的解决方法是:
$ VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.56.1 --netmask 255.255.255.0
解决。