Welcome to the Linux Foundation Forum!

LAB 2.1 - unable to resolve host address error

edward.savarinathan
edited April 2019 in LFD259 Class Forum

Any comment, why I'm getting this error?

edward_savarinathan@instance-1:~$ wget https://training.linuxfoundation.org/cm/LFD259/LFD259 V2019-03-11 SOLUTIONS.
tar.bz2 \

--user=xxxxxxxxx --password=xxxxxxxxxxx

--2019-04-03 14:57:12-- https://training.linuxfoundation.org/cm/LFD259/LFD259
Resolving training.linuxfoundation.org (training.linuxfoundation.org)... 151.101.1.5, 151.101.65.5, 151.101.129.5,
...
Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.1.5|:443... connected.
HTTP request sent, awaiting response... 401 Restricted
Authentication selected: Basic realm="Linux Training"
Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.1.5|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-04-03 14:57:12 ERROR 404: Not Found.
--2019-04-03 14:57:12-- http://v2019-03-11/
Resolving v2019-03-11 (v2019-03-11)... failed: Name or service not known.
wget: unable to resolve host address 'v2019-03-11'
--2019-04-03 14:57:12-- http://solutions.tar.bz2/
Resolving solutions.tar.bz2 (solutions.tar.bz2)... failed: Name or service not known.
wget: unable to resolve host address 'solutions.tar.bz2'
edward_savarinathan@instance-1:~$

Comments

  • serewicz
    serewicz Posts: 1,000

    Hello Edward,

    If you look at the error you'll note is is viewing target site as v2019-03-11. This is because if you copy/paste from a PDF the underscore does not always paste correctly. I think if you read the comments in the book closely you'll find a note mentioning the copy paste issue with underscores and single quotes.

    Please run the command with the underscores in place and let us know if you continue to receive an error.

    Regards,

  • Yes, that was the issue. After typing the command, it worked. Let me continue and reach out if any issues.

  • If someone else is still facing the same issue, here's the command for Lab 2_1:
    wget https://training.linuxfoundation.org/cm/LFD259/LFD259_V2019-06-27_SOLUTIONS.tar.bz2 --user=**** --password=****

Categories

Upcoming Training