Install problem: "is_tcp_sock_free_check 0.0.0.0:80"... FAIL


#1

Hello.

Im trying to install globaleaks to make a test enviroment for jounalist agency in Guatemala. I justo got a new VPS from Eclipsis platform with ubuntu 16.04
After run: ./install-globaleaks.sh I got the following output.

Checking preliminary packaging GlobaLeaks requirements

  • apt-key requirement met
  • apt-get requirement met
    Detected OS: Ubuntu - xenial
    Running: “apt-get update -y”… SUCCESS
  • curl requirement met
  • netstat requirement met
    Running: “is_tcp_sock_free_check 0.0.0.0:80”… FAIL
    Ouch! The installation failed.
    COMBINED STDOUT/STDERR OUTPUT OF FAILED COMMAND:
    For Professional Support requests please visit: https://www.globaleaks.org/contact/
    Please report encountered issues to the Community Forum at https://forum.globaleaks.org

Any ideas on how to fix it.

Thanks a lot.

D.


#2

Hi David,

it’s not installing because there’s some process listening on port 80.

You can find the process by issuing the command “netstat -ntlp | grep :80” and proceed to shut it down.

I opened an improvement request to do all of this automatically, see https://github.com/globaleaks/GlobaLeaks/issues/2276

Please let us know if it works fine and consider after the platform is publicly out, to suggest it’s inclusion on https://www.globaleaks.org/who-uses-it/ .

If you wish to join our support chat https://slack.hermescenter.org


#3

Hi. Thanks for the reply

I run netstat -ntlp | grep :80 and got:

tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5478/python
tcp 0 0 127.0.0.1:8082 0.0.0.0:* LISTEN 5478/python
tcp 0 0 127.0.0.1:8083 0.0.0.0:* LISTEN 5478/python

Then i kill 5478 process. re run ./install-globaleaks.sh and got:
Checking preliminary packaging GlobaLeaks requirements

  • apt-key requirement met
  • apt-get requirement met
    Detected OS: Ubuntu - xenial
    Running: “apt-get update -y”… SUCCESS
  • curl requirement met
  • netstat requirement met
    Running: “is_tcp_sock_free_check 0.0.0.0:80”… SUCCESS
    Running: “is_tcp_sock_free_check 0.0.0.0:443”… SUCCESS
    Running: “is_tcp_sock_free_check 127.0.0.1:8082”… SUCCESS
    Running: “is_tcp_sock_free_check 127.0.0.1:8083”… SUCCESS
  • required TCP sockets open
    Adding GlobaLeaks PGP key to trusted APT keys
    Running: “apt-key add /tmp/tmp.X4rCnufigx/globaleaks_key”… SUCCESS
    Running: “rm /tmp/tmp.X4rCnufigx/globaleaks_key”… SUCCESS
    Installing software-properties-common
    Running: “apt-get install software-properties-common -y”… SUCCESS
    Adding Tor PGP key to trusted APT
    Running: “apt-key add /tmp/tmp.X4rCnufigx/torproject_key”… SUCCESS
    Running: “rm /tmp/tmp.X4rCnufigx/torproject_key”… SUCCESS
    Running: “apt-get update -y”… SUCCESS
    Running: “apt-get install globaleaks -y”… SUCCESS
    Ouch! The installation is complete but GlobaLeaks failed to start.
    For Professional Support requests please visit: https://www.globaleaks.org/contact/
    Please report encountered issues to the Community Forum at https://forum.globaleaks.org

it looks like it is installed but not starting. Any ideas?

Thanks for open the improvement request.

D.