-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jackhammer sidekiq error log #78
Comments
Sidekiq requires phantomjs to run web scan, you need to install phantomjs 2.1.1 |
should i install it as gem or how?? |
Refer web docker file , it has clear steps to install all dependencies. instead you could run docker-build.sh script from jackhammer root application. Its does the installation of dependencies and starting application . if your not clear about installation of jackhammer, please go through the jackhammer documentation , Documentation has clear installation steps and how to use it |
Point @1: phantomjs 2.1.1 is installed with docker-build.sh [2018-02-09 10:23:51 +0000] Running tasks in stage: live [2018-02-09 10:23:56 +0000] Running tasks in stage: done [2018-02-09 10:24:00 +0000] Have 0 items pre ZAP filter. [2018-02-09 10:24:00 +0000] Have 0 items post ZAP filter. [2018-02-09 10:24:00 +0000] Generating report...[:to_s] [2018-02-09 10:24:00 +0000] Running base reoprt... |
please remove all dockers , and do the fresh installation by following jackhammer documentation . do not run application in local system . we expect everything need to be run in dockers. |
Yeah I am running on this application docker only now. I have 2 environments. One is on docker and second one is local setup. but the same error i am getting. thanks, |
login to web docker and verify phantomjs version by running phantomjs --version. if it is not installed right version , somehow you need to install phantomjs in web docker . |
It is showing 2.1.1 and check gem environment also sampath@CDAC-Sampath MINGW64 ~/jackhammer (master) sampath@CDAC-Sampath MINGW64 ~/jackhammer (master)
*** LOCAL GEMS *** actionmailer (4.2.7.1) |
Will sidekiq dont run in the background?? When i run the sidekiq its running on the app console and not going to background |
if you run with -d option, it will run in the background . Ex: sidekiq -C config/sidekiq.yml -d from rails root directory |
How do I set the phantoms path at ../selenium/webdriver/phantomjs |
Dear @kmadhusudhan , |
@sampathmende , pls try creating soft link from /usr/bin/phantomjs to selenium/webdriver/phantomjs. |
I have tried it but getting error not such path or file folder exist |
I executed below command to know the gem contents. Please help me. why it is missing here root@258d81dd2857:/home/app# gem contents selenium-webdriver /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/CHANGES |
Yahoo I found the reason |
@kmadhusudhan any update????? |
[-] [LoadError] cannot load such file -- selenium/webdriver/phantomjs
'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:132:in
require' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:132:in
executable'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:126:in
has_executable?' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:50:in
host_has_browser?'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:65:in
use_browsers?' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:24:in
browser_cluster'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/audit.rb:167:in
audit' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework.rb:120:in
block in run'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/utilities.rb:408:in
exception_jail' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework.rb:120:in
run'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/framework.rb:62:in
block in run' [-] [Errno::EINVAL] Invalid argument @ rb_io_seek - /tmp/arachni20180208-70-zbqw8qafr [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:135:in
seek'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:135:in
block in load' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:134:in
open'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:134:in
load' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/reporter.rb:40:in
run'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/reporter.rb:25:in
initialize' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/bin/arachni_reporter:12:in
new'[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/bin/arachni_reporter:12:in
<top (required)>' [-] /root/.rbenv/versions/2.3.0/bin/arachni_reporter:23:in
load'[-] /root/.rbenv/versions/2.3.0/bin/arachni_reporter:23:in `
[2018-02-08 09:06:26 +0000] Running tasks in stage: live
[2018-02-08 09:06:31 +0000] Running tasks in stage: done
[2018-02-08 09:06:35 +0000] Have 0 items pre ZAP filter.
[2018-02-08 09:06:35 +0000] Have 0 items post ZAP filter.
[2018-02-08 09:06:35 +0000] Generating report...[:to_s]
[2018-02-08 09:06:35 +0000] Running base reoprt...
The text was updated successfully, but these errors were encountered: