Comments (3)
@Dilshandila
It seems one of your instances is not running. jackhammer depend on multiple Docker containers (ex Database, Redis ..) which runs independently. please make sure all instances are up and running.
you can check the status of each instance by running docker ps command.
from jackhammer.
@kmadhusudhan I ran the command you have me. here is the output:
root@ubuntu:/home/test/jackhammer# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ea97b219095e jackhammer_web "bash -c 'mkdir -p..." 11 hours ago Up 11 hours 0.0.0.0:5000->3000/tcp jackhammer_web_1
a037d1d55788 mysql "docker-entrypoint..." 11 hours ago Up 11 hours (unhealthy) 0.0.0.0:3306->3306/tcp jackhammer-db
cd4d5ab269bb redis "docker-entrypoint..." 11 hours ago Up 11 hours 0.0.0.0:32768->6379/tcp jackhammer_redis_1
root@ubuntu:/home/test/jackhammer#
I removed the mysql container and image and reinstalled it, yet still gives the same error. Also i've disabled the mysql health check but didn't work either.
Jackhammer web logs-
root@ubuntu:/home/test/jackhammer# docker logs c51b296050ba
Puma starting in single mode...
- Version 3.11.0 (ruby 2.3.0-p0), codename: Love Song
- Min threads: 0, max threads: 16
- Environment: production
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:458: warning: already initialized constant Readline::HISTORY
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:486: warning: already initialized constant Readline::FILENAME_COMPLETION_PROC
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:517: warning: already initialized constant Readline::USERNAME_COMPLETION_PROC
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.1/lib/readline.rb:523: warning: already initialized constant Readline::VERSION - Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
root@ubuntu:/home/test/jackhammer#
When i checked mysql logs i noticed ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'root'@'%'
can this be an issue?
Pls. advice.
from jackhammer.
@Dilshandila
Yes , creating user table is must for running jackhammer. please run db migration manually by login to web docker .
Steps to Run migration:
- docker exec -it jackhammer_web_1 bash
2)RAIL_ENV=production bundle exec rake db:drop
3)RAIL_ENV=production bundle exec rake db:create
4)RAIL_ENV=production bundle exec rake db:migrate
5)RAIL_ENV=production bundle exec rake db:seed
from jackhammer.
Related Issues (20)
- Jackhammer CLI HOT 33
- For those looking to get this working currently... docker-compose.yml replacement HOT 9
- Arachni scanning HOT 1
- docker-build failed,please help me
- Starting jackhammer-db ... error
- Could not find gem 'mocha ' HOT 6
- WPScan Error HOT 1
- unable to start docker HOT 3
- branch jch-v2 login not working for signup or default credentials HOT 4
- Can't Run Remotely HOT 1
- Getting Error For static scan HOT 1
- Remote access to Jackhammer
- website is down
- Can you scan range or entire network? HOT 1
- ERROR: Dockerfile parse error line 27: Unknown instruction: PACKAGE HOT 1
- I am getting below error while installing due to which i m not able to launch jackhammer HOT 1
- I am trying to install it in ubuntu 16.4 with docker but by far no luck can you please guide me with the steps? HOT 5
- Error while cloning repo from gitlab HOT 3
- Mysql2::Error: Can't connect to MySQL server on 'mysqldb' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jackhammer.