Dradis service issue

Hi! i have some problems trying to connect my web interface on dradis service. the default loopback port used by dradis is 3000, same as the beef-xss, how can i configure those ports in order to be cohexisting between them?

"
#service dradis start
#service dradis status
● dradis.service - Dradis web application
Loaded: loaded (/lib/systemd/system/dradis.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-17 08:19:56 -03; 11s ago
Process: 25316 ExecStartPre=/bin/sh -c test -e /var/lib/dradis/secretkey || (umask 077; echo “SECRET_KEY_BASE=$(pwgen -1 -s -n 100)”
Process: 25317 ExecStart=/usr/bin/bundle exec rails server webrick (code=exited, status=1/FAILURE)
Main PID: 25317 (code=exited, status=1/FAILURE)

sep 17 08:19:56 USER bundle[25317]: from /usr/lib/dradis/ruby/2.5.0/gems/railties-5.1.7/lib/rails/command.rb:44:in invoke' sep 17 08:19:56 USER bundle[25317]: from /usr/lib/dradis/ruby/2.5.0/gems/railties-5.1.7/lib/rails/commands.rb:16:in<top (requ
sep 17 08:19:56 USER bundle[25317]: from bin/rails:4:in require' sep 17 08:19:56 USER bundle[25317]: from bin/rails:4:in
sep 17 08:19:56 USER bundle[25317]: => Booting WEBrick
sep 17 08:19:56 USER bundle[25317]: => Rails 5.1.7 application starting in development on http://localhost:3000
sep 17 08:19:56 USER bundle[25317]: => Run rails server -h for more startup options
sep 17 08:19:56 USER bundle[25317]: Exiting
sep 17 08:19:56 USER systemd[1]: dradis.service: Main process exited, code=exited, status=1/FAILURE
sep 17 08:19:56 USER systemd[1]: dradis.service: Failed with result ‘exit-code’.
"
Look at this:
#cd /usr/sbin/

./dradis

[i] Something is already using port: 3000/tcp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ruby 1507 beef-xss 16u IPv4 34948 0t0 TCP *:3000 (LISTEN)

UID PID PPID C STIME TTY STAT TIME CMD
beef-xss 1507 1 0 07:09 ? Ssl 0:06 ruby /usr/share/beef-xss/beef

[] Please wait for the Dradis service to start.
[
]
[] You might need to refresh your browser once it opens.
[
]
[*] Web UI: http://127.0.0.1:3000

● dradis.service - Dradis web application
Loaded: loaded (/lib/systemd/system/dradis.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-17 08:31:51 -03; 158ms ago
Process: 25765 ExecStartPre=/bin/sh -c test -e /var/lib/dradis/secretkey || (umask 077; echo “SECRET_KEY_BASE=$(pwgen -1 -s -n 100)” >/var/lib/dradis/secretkey) (code=exited, status=0/SUCCESS)
Process: 25766 ExecStart=/usr/bin/bundle exec rails server webrick (code=exited, status=1/FAILURE)
Main PID: 25766 (code=exited, status=1/FAILURE)

sep 17 08:31:51 USER bundle[25766]: from /usr/lib/dradis/ruby/2.5.0/gems/railties-5.1.7/lib/rails/command.rb:44:in invoke' sep 17 08:31:51 USER bundle[25766]: from /usr/lib/dradis/ruby/2.5.0/gems/railties-5.1.7/lib/rails/commands.rb:16:in …equired)>' sep 17 08:31:51 USER bundle[25766]: from bin/rails:4:inrequire’
sep 17 08:31:51 USER bundle[25766]: from bin/rails:4:in <main>' sep 17 08:31:51 USER bundle[25766]: => Booting WEBrick sep 17 08:31:51 USER bundle[25766]: => Rails 5.1.7 application starting in development on http://localhost:3000 sep 17 08:31:51 USER bundle[25766]: => Runrails server -h` for more startup options
sep 17 08:31:51 USER bundle[25766]: Exiting
sep 17 08:31:51 USER systemd[1]: dradis.service: Main process exited, code=exited, status=1/FAILURE
sep 17 08:31:51 m471 systemd[1]: dradis.service: Failed with result ‘exit-code’.
Hint: Some lines were ellipsized, use -l to show in full.

[*] Opening Web UI (http://127.0.0.1:3000) in: 5… 4… 3… 2… 1…
"
I understand that something is already using port: 3000/tcp, but trying to stop beef service before i have the same result. I wish my doubt are explained clearly. Please any suggestion are welcome. Many thanks

Hey there! We’d love to help but we need more information. Please fill out the support form in accordance with our support guidelines so we can better assist you.

cat /etc/os-release
PRETTY_NAME="Parrot GNU/Linux 4.7"
NAME="Parrot GNU/Linux"
ID=parrot
ID_LIKE=debian
VERSION="4.7"
VERSION_ID="4.7"
HOME_URL="https://www.parrotsec.org/"
SUPPORT_URL="https://community.parrotsec.org/"
BUG_REPORT_URL="https://nest.parrotsec.org/"

    Install method:Debian Standard

It's not a multiboot config

No similar issues or solutions.

Not any more error messages or relevant logs than posted 

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.