Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

createInitialVolume.sh: 5: .: setAwsEnv.sh: not foun

fmontada September 2, 2015

Hi team

I am trying to configure my elastic instance to use EBS. I am getting an error when I try to run: "createInitialVolume.sh 100" as root user. I get the error message

"createInitialVolume.sh: 5: .: setAwsEnv.sh: not found"

 

the setAwsEnv.sh script is on the same location /opt/bamboo-elastic-agent/bin  

bamboo-elastic-agent getCustomData.sh runStartupScripts.sh
bamboo-elastic-agent.bat

mountEbsDevice.sh setAwsEnv.sh
bambooShellFunctions.sh

prepareInstanceForSaving.bat setupEbsSnapshot.sh
checkElasticAgent.sh prepareInstanceForSaving.sh setupEphemeralStorageStructure.sh
commonFunctions.sh restoreEbsSnapshotFromUserData.sh testIfStartedFromBamboo.sh
createInitialVolume.sh restoreSnapshot.sh unmountVolume.sh
generateSnapshot.sh rewarmEbsSnapshot.sh warmEbsSnapshot.sh

could you help us ? 

Thanks 

Francisco

 

1 answer

0 votes
fmontada September 3, 2015

Hi team I needed to edit the /createInitialVolume.sh with ./setAwsEnv.sh location and now is able to find the file, but I am getting other errors 

 

createInitialVolume.sh: 10: createInitialVolume.sh: assertRootUser: not found

createInitialVolume.sh: 12: createInitialVolume.sh: assertAccessKeysPresent: not found

Creating volume with size 100 GB...
Missing argument for option:region (use -h for usage)
An error occurred, no volume created...

 

could you help us ?

Thanks 

Francisco 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events