MHN-Troubleshooting
أهم الاوامر المستخدمة لحل المشاكل في تقنية مصائد الاختراق Modern Honey Network
Troubleshooting : =============== sudo supervisorctl status sudo supervisorctl stop all sudo supervisorctl start all sudo supervisorctl update sudo supervisord sudo service supervisor status sudo service supervisor start sudo service supervisor reload sudo systemctl status nginx.service sudo systemctl enable nginx.service sudo systemctl start nginx.service
Fix Error in mhn-celery-worker : ============================== cd /var/log/mhn/ sudo chown www-data mhn.log sudo supervisorctl start mhn-celery-worker sudo supervisorctl restart mhn-celery-worker
Disable Collector Data : ====================== cd /opt/mhn/scripts sudo ./disable_collector.sh
Delete Data From MHN : ==================== mongo mnemosyne db.session.remove({}) db.metadata.remove({}) db.counts.remove({}) db.file.remove({}) db.hpfeed.remove({}) db.dork.remove({}) db.url.remove({}) db.daily_stats.remove({})
Remove MHN : ========== sudo supervisorctl stop all sudo rm -rf /opt/mhn /opt/hpfeeds* /opt/honeymap /var/log/mhn /etc/supervisor/conf.d/*.conf /opt/mnemosyne sudo supervisorctl update