Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu - aws location #124

Open
toby1kenobi opened this issue Mar 14, 2016 · 3 comments
Open

Ubuntu - aws location #124

toby1kenobi opened this issue Mar 14, 2016 · 3 comments

Comments

@toby1kenobi
Copy link

On a fresh install of Ubuntu server (14.04.4), when you install the AWS CLI using pip the executable seems to end up in /usr/local/bin, so when using ec2-automate-backup.sh cron-primer.sh needs to be modified to reflect this; maybe worth adding a comment to this effect?

@diegoscl
Copy link

I have this problem. How do I can fix?

@toby1kenobi
Copy link
Author

In cron-primer.sh add the bin location to the PATH variable:

export PATH=/bin:/usr/bin:/usr/local/bin

@insiderq
Copy link

I spent a damn load of time trying to resolve this issue. Somehow my script does not catch/execute cron-primer file, even if i specify it with -c /path/to/cron-primer.sh. In addition my command seems to redirect only STDOUT output to log file only and i saw an empty file that pissed me off.

As a final workaround-solution i just used sudo ln -s /usr/local/bin/aws /usr/bin/aws and everything went good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants