Repository navigation
FAQ
-
I cannot submit a job! When I try to do this, all I see is 500 error page.
You probably do not have correct permissions for the upload directory. Apache user should have write permissions on /var/www/hsn2/web/upload/
-
Is the Capture Service supposed to start port 31337?/Capture Service will not start without the log file.
Remember that you have to install Capture NG Server.
-
I cannot get the rb-archiveinflate (or some other) service started. It connects to port 5672 just fine, but can’t find the right queue. Log has entries similar to ERROR (404, "NOT_FOUND - no queue 'srv-rb-archiveinflate:l' in vhost '/'")
In /etc/hsn2/framework.conf you have to define all services that this particular installation uses. You should have a line that starts with AMQP.services= and has the following list of services: feeder-list, webclient, capture, swf-cve, shell-scdbg, js-sta, reporter, norm-url, rb-clamavnugget, rb-archiveinflate, rb-officecat, rb-pdffox, rb-swfscanner, rb-virustotal, url-feeder.
-
Razorback/Python-based services write a lot of logs along the lines of ERROR EXCEPTION - <type 'exceptions.NameError'> - global name 'log' is not defined
Due to a bug in Debian pika package, you have to apply a patch. Patch can be found here and pika can usually be found under /usr/lib/python2.7/dist-packages.
-
Why my jobs get rejected and framework.log file contains java.lang.NumberFormatException: null entry?
This bug was observed on our mailing list. Working solution is to edit the /opt/hsn2/framework/jobId.seq file if and only if it is empty. If there is a number inside that file this isn’t a solution for you. If you are sure that the file is empty, you have to stop the framework, reinstall it, edit the file and restart the framework:
# service hsn2-framework stop # apt-get install hsn2-framework --reinstall # python /var/www/hsn2/etc/scheduler.py stop # cat 1 > /opt/hsn2/framework/jobId.seq # service hsn2-framework start # cd /var/www/hsn2/etc/ # python scheduler.py start
-
Jobs using officecat are always in the "PROCESSING" status on an x64 platform.
To solve that, run the following:
# dpkg --add-architecture i386 # apt-get update # apt-get install wine-bin:i386