tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/3345-web-interface-not-workingArachni: Discussion 2015-03-18T22:01:06Ztag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T18:17:20Z2015-02-11T18:17:20ZWeb interface not working<div><p>Hello, when you say "installed", did you do something other than
just extract the package? Also, what arch are you using?</p>
<p>Cheers</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T19:22:17Z2015-02-11T19:22:17ZWeb interface not working<div><p>I did the prereqs (which were challenging on ubuntu), untarred
the package to /usr/local/arachni-1.0.6-0.5.6/, and did a gem
install arachni. To start the web interface, I do a
bin/arachni_web.</p>
<p>Arch is amd64.</p></div>arac.10.stormtag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T19:26:09Z2015-02-11T19:26:09ZWeb interface not working<div><p>Erm...there are no prereqs. The packages are self-contained, you
just extract them and run the executables under the
<code>bin/</code> directory. No need to install anything.</p>
<p>Did you make any changes to the directory of the package?<br>
Also, what arch are you using? 32 or 64bit?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T19:31:40Z2015-02-11T19:31:41ZWeb interface not working<div><p>As for the prereqs, according to the wiki:</p>
<p>Users of Debian-based distributions can run the following to
install them:</p>
<p>sudo apt-get install build-essential curl libcurl3
libcurl4-openssl-dev ruby ruby-dev</p>
<p>This is what I did.</p>
<p>Both the arachni package and the architecture are 64 bit.</p></div>arac.10.stormtag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T19:35:04Z2015-02-11T19:35:22ZWeb interface not working<div><p>The wiki lists all the available ways to grab Arachni, you
didn't need to go down the whole list, just the <a href=
"https://github.com/Arachni/arachni/wiki/Installation#linux">Linux</a>
section and grab the package.</p>
<p>Also, did you alter anything in the directory of the extracted
package?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T19:38:31Z2015-02-11T19:38:32ZWeb interface not working<div><p>I also had to, by the way, do update-alternatives to get the
both ruby and gem to point to the 1.9.3 version, as it was directed
to 1.8, as Debian and Ubuntu are wont to do.</p>
<p>I did not alter anything. Should I delete the directory tree and
untar it again? Or perhaps did the gem install arachni break
it?</p></div>arac.10.stormtag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T19:43:25Z2015-02-11T19:43:25ZWeb interface not working<div><p>Yeah try extracting it somewhere that your user has write
access.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T22:41:54Z2015-02-11T22:41:55ZWeb interface not working<div><p>Tasos,</p>
<p>Since my original goal was to set this VM up as a server to
allow others to run scans, I was running Arachni as root, who does
have access to the /usr/local tree.</p></div>arac.10.stormtag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-11T23:27:03Z2015-02-11T23:27:29ZWeb interface not working<div><p>This is really strange, this error in particular doesn't make
sense. Either no-one or everyone should get this, but I've never
heard of it before and I just tested the package and it works
fine.</p>
<p>Would it be too much trouble to reset the VM to a clean state
and retry after just extracting the package? I just want to rule
out any sort of interference.</p>
<p>To get more technical, it's as if a DB entry is missing from
your package, but that's impossible because you get the same
package a everyone else, and that entry is there.</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-12T02:21:55Z2015-02-12T02:21:56ZWeb interface not working<div><p>I will try and do this tomorrow.</p></div>arac.10.stormtag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-17T19:05:18Z2015-02-17T19:05:20ZWeb interface not working<div><p>Tasos,</p>
<p>I finally got a chance to get back to this. I deleted and
rebuilt the KVM machine, and did a clean install. Did not get any
gems, just untarred the arachni-1.0.6-0.5.6-linux-x86_64.tar.gz
tarball (which I freshly downloaded from the site and checked the
sha1sum) to /usr/local. Made the necessary database connections to
our psql db server (it is on another machine) in database.yaml, and
started bin/arachni_web.</p>
<p>When I tried to hit the web site, again, I got "We're sorry,
something went wrong." and the logs show</p>
<p>tarted GET "/d/users/sign_in" for 192.168.8.50 at 2015-02-17
13:36:41 -0500<br>
Processing by Devise::SessionsController#new as HTML<br>
Rendered devise/sessions/new.html.erb within layouts/application
(7.5ms) Completed 500 Internal Server Error in 17ms</p>
<p>ActionView::Template::Error (undefined method <code>welcomed?'
for nil:NilClass): 1: <h2>Sign in</h2> 2: 3: <% if
!Settings.welcomed? %> 4: <p class="alert alert-info"> 5:
Please consult the 6: <a target="_blank"
href="https://github.com/Arachni/arachni-ui-web/wiki#default-credentials">Wiki</a>
lib/settings.rb:22:in</code>block (2 levels) in singleton class'
app/views/devise/sessions/new.html.erb:3:in
`_app_views_devise_sessions_new_html_erb___3876329194843953946_57769040'</p>
<p>Suggestions?</p>
<p>Thanks,<br>
--b</p></div>arac.10.stormtag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-02-17T19:08:16Z2015-02-17T19:08:16ZWeb interface not working<div><p>Did you follow the instructions at: <a href=
"https://github.com/Arachni/arachni-ui-web/wiki/database#postgresql">
https://github.com/Arachni/arachni-ui-web/wiki/database#postgresql</a>
?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/360228032015-03-18T22:01:05Z2015-03-18T22:01:05ZWeb interface not working<div><p>Closing this due to lack of feedback.</p>
<p>Feel free to re-open if the instructions in the link didn't
solve your problem.</p>
<p>Cheers</p></div>Tasos Laskos