Skip to content

Instantly share code, notes, and snippets.

@nikhilsinha
Created November 8, 2017 20:26
Show Gist options
  • Save nikhilsinha/458e1c2c0dbdd403f90d2e1c9621510c to your computer and use it in GitHub Desktop.
Save nikhilsinha/458e1c2c0dbdd403f90d2e1c9621510c to your computer and use it in GitHub Desktop.
Can't find java
Starting cloud-init: Cloud-init v. 0.7.6 running 'modules:final' at Wed, 08 Nov 2017 20:13:08 +0000. Up 38.44 seconds.
+ yum update -y aws-cfn-bootstrap
Loaded plugins: priorities, update-motd, upgrade-helper
No packages marked for update
+ /opt/aws/bin/cfn-init -v --stack Jenkins-Test-20171108 --resource JenkinsServer --configsets install_all --region us-east-1
+ wget --no-cookies --header 'Cookie: gpw_e24=xxx; oraclelicense=accept-securebackup-cookie;' http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm
--2017-11-08 20:13:15-- http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm
Resolving download.oracle.com (download.oracle.com)... 23.215.130.50, 23.215.130.59, 23.215.130.40
Connecting to download.oracle.com (download.oracle.com)|23.215.130.50|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm [following]
--2017-11-08 20:13:15-- https://edelivery.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.49.182.138, 2600:1408:10:297::2d3e, 2600:1408:10:286::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.49.182.138|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm?AuthParam=1510172115_166f5ef6aa6e9505759bb7df48c20770 [following]
--2017-11-08 20:13:15-- http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm?AuthParam=1510172115_166f5ef6aa6e9505759bb7df48c20770
Connecting to download.oracle.com (download.oracle.com)|23.215.130.50|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-08 20:13:17 ERROR 404: Not Found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment