MHN under Ubuntu 16.04 Issues

428 views
Skip to first unread message

forensi...@gmail.com

unread,
Mar 7, 2017, 4:34:58 PM3/7/17
to Modern Honey Network

I installed MHN under Ubuntu 16.04 and all went well during the installation. However, I ran into some issues after rebooting.

When I entered the command “sudo supervisorctl status”, I received the message:

unix:///var/run/supervisor.sock no such file

I was able resolve this issue by telling the system to start services at boot time using the command:

                sudo systemctl enable supervisor.service

               

Upon reboot and running the “sudo supervisorctl status” command, the following had fatal errors:

               

  hpfeeds-broker

                mhn-celery-beat

                mnemosyne

 

I tried sudo supervisorctl restart all but that did not work.

 

Running the following commands seemed to have corrected the “mhn-celery-beat” error:

 

sudo -u mongodb mongod --repair --dbpath /var/lib/mongodb/
sudo reboot

 

Unfortunately, hpfeed-broker and mnemosyne were still showing FATAL. I re-installed both and ran the command sudo supervisorctl restart all. This worked but upon reboot the status of the following changed to FATAL:

 

                geoloc

                hpfeeds-broker

                mhn-collector

                mnemosyne

 

I have tried several fresh installs of MHN, all attempts gave the same results. Has anyone been able to install MHN under Ubuntu 16.04? Anyone have a permanent solution?

 

Thanks

Jason Trost

unread,
Mar 7, 2017, 10:31:17 PM3/7/17
to Modern Honey Network, forensi...@gmail.com
Is mongo db running?  The services you are having trouble with will have fatal errors if mongo is not running.

Have you looked at the logs for the services with fatal errors?  It should indicate the problem

I have deployed or helped others deploy MHN on Ubuntu 16.04 without these issues.  Any chance you are running on a low resourced system (low RAM or not enough CPU)?

--
You received this message because you are subscribed to the Google Groups "Modern Honey Network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modern-honey-net...@googlegroups.com.
To post to this group, send email to modern-hon...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modern-honey-network/bbc80412-e707-4a5d-bc0a-5e015bb7fedc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

forensi...@gmail.com

unread,
Mar 8, 2017, 12:45:21 AM3/8/17
to Modern Honey Network, forensi...@gmail.com
You were correct, mongodb was not running. This was resolved using the command:

 

                sudo systemctl enable mongodb

 

The MHN-CELERY-BEAT.ERR log showed that celery.pid existed. I had to kill the PID using the kill -9 {PID} command. Running ‘supervisorctl start mhn-celery-beat’ resolved the issue.


Everything seems to be working now.


Thank you.

To unsubscribe from this group and stop receiving emails from it, send an email to modern-honey-network+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages