# New install of Dradis on Kali not working

**URL:** <https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572>\
**Category:** Community Edition\
**Created:** [July 27, 2018, 8:41pm UTC](https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572 "2018-07-27T20:41:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philomorph](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/philomorph/32/142_2.png) [@Philomorph](https://discuss.dradis.com/u/Philomorph)\
**Post date:** [July 27, 2018, 8:41pm UTC](https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572/1 "2018-07-27T20:41:19Z")

</div>

Hello,

I’m fairly new to Kali and completely new to Dradis. I couldn’t find a solution by searching, so I thought I’d ask here. I’m trying to set Dradis up on a WLS instance of Kali.

I went through the install steps [here](https://dradis.com/ce/documentation/install_kali.html) and then [here](https://dradis.com/ce/documentation/install_git.html).

Everything seemed to go fine. But when I run the last command to set up the app: **bundle exec rails server**

I get this:

```
 => Booting Unicorn
 => Rails 5.1.6 application starting in development on http://localhost:3000
 => Run `rails server -h` for more startup options
 E, [2018-07-27T13:25:42.051664 #17203] ERROR -- : [::1]:3000 {:tcp_defer_accept=>1, :accept_filter=>"httpready", :backlog=>1024, :tcp_nopush=>nil, :tcp_nodelay=>true}: Protocol not available - setsockopt(2) (Errno::ENOPROTOOPT)

```

Followed by a number of socket commands, ending in this:

```
 I, [2018-07-27T13:25:42.054428 #17203] INFO -- : listening on addr=[::1]:3000 fd=14
 I, [2018-07-27T13:25:42.055080 #17203] INFO -- : worker=0 spawning...
 I, [2018-07-27T13:25:42.071841 #17203] INFO -- : master process ready
 I, [2018-07-27T13:25:42.073974 #17215] INFO -- : worker=0 spawned pid=17215
 I, [2018-07-27T13:25:42.074682 #17215] INFO -- : worker=0 ready
 E, [2018-07-27T13:25:42.075288 #17215] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)

```

It then displays an infinite loop of unicorn socket commands and that same “listen loop error”.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [July 30, 2018, 9:19pm UTC](https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572/2 "2018-07-30T21:19:49Z")

</div>

Hey @Philomorph, thanks for reaching out! I’m completely sure what’s happening just yet but we’ll get this sorted! First, could you try running Dradis on a different port?

```auto
$ bundle exec rails server -p 1234

```

If that doesn’t do the trick, can you give me more details on what version of Kali you’re running? I tested using the latest version of Dradis CE on Kali rolling but that may not be replicating your setup well. Keep me posted!

---

<div class="post-metadata">

**Author:** ![Philomorph](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/philomorph/32/142_2.png) [@Philomorph](https://discuss.dradis.com/u/Philomorph)\
**Post date:** [July 31, 2018, 3:02pm UTC](https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572/3 "2018-07-31T15:02:26Z")

</div>

> [@rachkor](#):
>
> bundle exec rails server -p 1234

I get the same result ☹

I’m running the Windows Linux Subsystem (WLS) version of [Kali](https://www.kali.org/news/kali-linux-in-the-windows-app-store/), available from Offensive Security via the Windows Store.

lsb\_release returns:

> No LSB modules are available.  
> Distributor ID: Kali  
> Description: Kali GNU/Linux Rolling  
> Release: kali-rolling  
> Codename: kali-rolling

---

<div class="post-metadata">

**Author:** ![aapomm](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/aapomm/32/126_2.png) [@aapomm](https://discuss.dradis.com/u/aapomm)\
**Post date:** [August 17, 2018, 10:41am UTC](https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572/4 "2018-08-17T10:41:09Z")

</div>

Hi @Philomorph. Unfortunately, we can’t replicate this issue in Kali. I’m guessing there is something with the WLS version of Kali that’s not working with the app server here. Have you tried a different approach with virtualizing a Kali Linux instance, say using VirtualBox/VMWare with the latest Kali image?

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [August 21, 2018, 4:42pm UTC](https://discuss.dradis.com/t/new-install-of-dradis-on-kali-not-working/572/5 "2018-08-21T16:42:13Z")

</div>

Hey @Philomorph, sorry about the delay! I’m currently fighting with a Windows error (imagine that!) to try to get the OffSec Windows Store version downloaded and running on my local system. While I work on that, want to try a possible fix? [Unable to execute `rails` in WSL(Windows Subsystem for Linux) · Issue #26054 · rails/rails · GitHub](https://github.com/rails/rails/issues/26054#issuecomment-277284732)
