<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: We got an error &amp;quot;standard_init_linux.go:207: exec user process caused &amp;quot;exec format error&amp;quot;&amp;quot;. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/We-got-an-error-quot-standard-init-linux-go-207-exec-user/m-p/238640#M200451</link>
    <description>&lt;P&gt;I run this script&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;#!/usr/bin/env bash&lt;/P&gt;&lt;P&gt;#This script downloads HDP sandbox along with their proxy docker container&lt;/P&gt;&lt;P&gt;set -x&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# CAN EDIT THESE VALUES&lt;/P&gt;&lt;P&gt;registry="hortonworks"&lt;/P&gt;&lt;P&gt;name="sandbox-hdp"&lt;/P&gt;&lt;P&gt;version="3.0.1"&lt;/P&gt;&lt;P&gt;proxyName="sandbox-proxy"&lt;/P&gt;&lt;P&gt;proxyVersion="1.0"&lt;/P&gt;&lt;P&gt;flavor="hdp"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# NO EDITS BEYOND THIS LINE&lt;/P&gt;&lt;P&gt;# housekeeping&lt;/P&gt;&lt;P&gt;echo $flavor &amp;gt; sandbox-flavor&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# create necessary folders for nginx and copy over our rule generation script there&lt;/P&gt;&lt;P&gt;mkdir -p sandbox/proxy/conf.d&lt;/P&gt;&lt;P&gt;mkdir -p sandbox/proxy/conf.stream.d&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# pull and tag the sandbox and the proxy container&lt;/P&gt;&lt;P&gt;docker pull "$registry/$name:$version"&lt;/P&gt;&lt;P&gt;docker pull "$registry/$proxyName:$proxyVersion"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# start the docker container and proxy&lt;/P&gt;&lt;P&gt;if [ "$flavor" = "hdf" ]; then&lt;/P&gt;&lt;P&gt; hostname="sandbox-hdf.hortonworks.com"&lt;/P&gt;&lt;P&gt;elif [ "$flavor" = "hdp" ]; then&lt;/P&gt;&lt;P&gt; hostname="sandbox-hdp.hortonworks.com"&lt;/P&gt;&lt;P&gt;fi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;version=$(docker images | grep $registry/$name  | awk '{print $2}');&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# Create cda docker network&lt;/P&gt;&lt;P&gt;docker network create cda 2&amp;gt;/dev/null&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;# Deploy the sandbox into the cda docker network&lt;/P&gt;&lt;P&gt;docker run --privileged --name $name -h $hostname --network=cda --network-alias=$hostname -d "$registry/$name:$version"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;echo " Remove existing postgres run files. Please wait"&lt;/P&gt;&lt;P&gt;sleep 2&lt;/P&gt;&lt;P&gt;docker exec -t "$name" sh -c "rm -rf /var/run/postgresql/*; systemctl restart postgresql-9.6.service;"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;#Deploy the proxy container.&lt;/P&gt;&lt;P&gt;sed 's/sandbox-hdp-security/sandbox-hdp/g' assets/generate-proxy-deploy-script.sh &amp;gt; assets/generate-proxy-deploy-script.sh.new&lt;/P&gt;&lt;P&gt;mv -f assets/generate-proxy-deploy-script.sh.new assets/generate-proxy-deploy-script.sh&lt;/P&gt;&lt;P&gt;chmod +x assets/generate-proxy-deploy-script.sh&lt;/P&gt;&lt;P&gt;assets/generate-proxy-deploy-script.sh 2&amp;gt;/dev/null&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;#check to see if it's windows&lt;/P&gt;&lt;P&gt;if uname | grep MINGW; then &lt;/P&gt;&lt;P&gt; sed -i -e 's/\( \/[a-z]\)/\U\1:/g' sandbox/proxy/proxy-deploy.sh&lt;/P&gt;&lt;P&gt;fi&lt;/P&gt;&lt;P&gt;chmod +x sandbox/proxy/proxy-deploy.sh 2&amp;gt;/dev/null&lt;/P&gt;&lt;P&gt;sandbox/proxy/proxy-deploy.sh &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 20:44:54 GMT</pubDate>
    <dc:creator>chetan_gehlot</dc:creator>
    <dc:date>2019-04-19T20:44:54Z</dc:date>
  </channel>
</rss>

