-2

I am trying to clone lttng by running the command

git clone git://git.lttng.org/lttng-modules.git

and what i get is

$ git clone git://git.lttng.org/lttng-modules.git
Cloning into 'lttng-modules'...
fatal: unable to connect to git.lttng.org:
git.lttng.org[0: 167.114.142.139]: errno=No such file or directory

I have tried to replace git:// with http:// and a username and password is requested. Could you please help me with this issue?

Thanks, Bogdan.

axiac
  • 68,258
  • 9
  • 99
  • 134
user3523954
  • 307
  • 1
  • 2
  • 12

1 Answers1

0

Maybe the Default-Port for the git Protocol is closed on your firewall. Try use https instead of the git protocol

git clone https://git.lttng.org/lttng-modules.git

This has given the following result to me:

$ git clone https://git.lttng.org/lttng-modules.git
Cloning into 'lttng-modules'...
remote: Counting objects: 8044, done.
remote: Compressing objects: 100% (2616/2616), done.
remote: Total 8044 (delta 5855), reused 7474 (delta 5330)
Receiving objects: 100% (8044/8044), 1.79 MiB | 0 bytes/s, done.
Resolving deltas: 100% (5855/5855), done.
Checking connectivity... done.

If still not works you have eventually a too old git version. A good idea is to use a newer portable version of git (for Windows Users for example https://sourceforge.net/projects/gitportable/)

Oswald
  • 1,252
  • 20
  • 32
  • i used http and i have to give a username and password which i dont know. – user3523954 Aug 24 '16 at 13:12
  • I've cloned this repository right now with this command. Everything worked. My Log: $ git clone http://git.lttng.org/lttng-modules.git Cloning into 'lttng-modules'... remote: Counting objects: 8044, done. remote: Compressing objects: 100% (2616/2616), done. remote: Total 8044 (delta 5855), reused 7474 (delta 5330) Receiving objects: 100% (8044/8044), 1.79 MiB | 0 bytes/s, done. Resolving deltas: 100% (5855/5855), done. Checking connectivity... done. – Oswald Aug 24 '16 at 13:14
  • This is what i get $ git clone http://git.lttng.org/lttng-modules.git Cloning into 'lttng-modules'... Username for 'http://git.lttng.org': – user3523954 Aug 24 '16 at 13:15
  • specify the http protocol like me in the code snippet – Oswald Aug 24 '16 at 13:16
  • I did exactly like you and I have to put a username and password. I have git 1.9.5 if this helps. I cannot get Another version. – user3523954 Aug 24 '16 at 13:17
  • same ... $ git clone https://git.lttng.org/lttng-modules.git Cloning into 'lttng-modules'... fatal: unable to access 'https://git.lttng.org/lttng-modules.git/': Failed connect to git.lttng.org:443; No error – user3523954 Aug 24 '16 at 13:59
  • I'm sure you find a newer, portable Version of git on the internet. check with that. – Oswald Aug 24 '16 at 14:02