pentestgeek / phishing-frenzy

Ruby on Rails Phishing Framework
www.phishingfrenzy.com
GNU General Public License v3.0
797 stars 297 forks source link

Failed to start sidekiq.service: Unit sidekiq.service not found. #379

Closed mantis-le-sin closed 6 years ago

mantis-le-sin commented 6 years ago

Hi guys, I was installing PF using this howto: https://www.phishingfrenzy.com/resources/install_kali_linux I have an issue with SIDEKIQ and when I try to browse PF, all I can see is the Apache default page.

root@kali:/var/www/phishing-frenzy/config# bundle exec sidekiq -C sidekiq.yml No such file or directory @ rb_sysopen - ./log/sidekiq.log /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:711:in initialize' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:711:inopen' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:711:in create_logfile' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:705:inrescue in open_logfile' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:702:in open_logfile' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:695:inset_dev' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:635:in initialize' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:353:innew' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/logger.rb:353:in initialize' /usr/local/rvm/gems/ruby-2.3.0/gems/sidekiq-4.1.4/lib/sidekiq/logging.rb:39:innew' /usr/local/rvm/gems/ruby-2.3.0/gems/sidekiq-4.1.4/lib/sidekiq/logging.rb:39:in initialize_logger' /usr/local/rvm/gems/ruby-2.3.0/gems/sidekiq-4.1.4/lib/sidekiq/cli.rb:348:ininitialize_logger' /usr/local/rvm/gems/ruby-2.3.0/gems/sidekiq-4.1.4/lib/sidekiq/cli.rb:40:in parse' /usr/local/rvm/gems/ruby-2.3.0/gems/sidekiq-4.1.4/bin/sidekiq:11:in<top (required)>' /usr/local/rvm/gems/ruby-2.3.0/bin/sidekiq:23:in load' /usr/local/rvm/gems/ruby-2.3.0/bin/sidekiq:23:in

' /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in eval' /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in
'

root@kali:/var/www/phishing-frenzy/config# touch ./log/sidekiq.log touch: cannot touch './log/sidekiq.log': No such file or directory

root@kali:/var/www/phishing-frenzy/config# mkdir ./log

root@kali:/var/www/phishing-frenzy/config# touch ./log/sidekiq.log

root@kali:/var/www/phishing-frenzy/config# bundle exec sidekiq -C sidekiq.yml

root@kali:/var/www/phishing-frenzy/config# service sidekiq start Failed to start sidekiq.service: Unit sidekiq.service not found.

any idea?

mantis-le-sin commented 6 years ago

found the issue. I was not in the right folder. Following the how to I was in /var/www/phishing-frenzy/redis-stable/utils. To launch the command I need to be in /var/www/phishing-frenzy

probably the howto need to be modified :)