Questions tagged [amazon-linux]
139 questions
0
votes
0 answers
How to autoreboot an ec2 amazon linux instance after 1st start during autoscaling? (to start working with it from the 2nd start only)
I have a problem, that when I launch an instance from an AMI, the instance doesn't respond on ssh or http, but it works normally after I restart it (so from the 2nd start).
I'm still troubleshooting this behaviour, so I decided to try to ask the…

GTXBxaKgCANmT9D9
- 415
- 1
- 7
- 16
0
votes
2 answers
Using base Amazon linux AMI seems to use GPU AMI?
I having been setting up our prod infrastructure and have noticed that when using the ami-1c47407f ap-southeast-2 image, it seems to be using this within the ec2 instances themselves - amzn-ami-hvm-2016.09.1.20170119-x86_64-gp2 (ami-1c47407f). Just…

Harrison Lucas
- 155
- 6
0
votes
0 answers
MySQL server failing in install on Amazon Linux machine due to missing systemd
I'm currently trying to install Redmine on a machine running the latest Amazon Linux.
One of the first steps I'm told to do is to install MySQL server using the command sudo yum install mysql-server.
However when I run this I am getting the…

shaneoh
- 414
- 3
- 7
- 19
0
votes
1 answer
Permissions on chrooted user not working after update on Amazon Linux
I setup chrooted users on an Amazon Linux development instance to grant them access to the /var/www folder. It was working fine, but after a yum update (November I think), the users can no longer edit/create files and folders in the /var/www…

Complectia
- 1
- 2
0
votes
0 answers
uninstalled cracklib-dicts, sudo gone, how to recover
I was trying to install the packer utility to build AWS AMI's. However it was conflicting with a builtin utility of the same name, which is part of the cracklib-dicts package.
I used yum to remove cracklib-dicts, however for some reason this also…

user1751825
- 365
- 6
- 13
0
votes
2 answers
Installing Lame on Amazon Linux - command not found
I'm trying to install Lame on Amazon Linux. I've downloaded lame-3.99.5.tar.gz, uploaded it to the server, and tried to install it.
I followed this example:
make sure you have the tools necessary to build from source:
yum update
yum install gcc…

SPRBRN
- 571
- 4
- 12
- 28
0
votes
1 answer
Browser is not showing my site using public DNS on Amazon EC2 instance [This site can’t be reached]
Couple of weeks back i launched an instance on AWS free tier and i was running a wordpress site, I dont have much knowledge about so i followed all the AWS guide and did this step by step everything was working perfect but today am not able to…

Tayyab
- 11
0
votes
1 answer
503 Bad gateway for php only html works fine
I have configured aws instance from amazon ec2 linux image and configured nginx and php on server. Server serves html pages normally but don't serve php pages and also shows 503 Bad gateway error when open in browser.
Below is my nginx server…

Shailesh Sutar
- 1,517
- 5
- 23
- 41
0
votes
2 answers
How to find online support for Amazon Linux AMI
I am a beginner to Linux, but am currently deciding on a distro for my AWS EC2 web server. My question is how to find online support to Amazon Linux AMI should I decide to use it?
I know that it is an evolution of Red Hat and CentOS, but does that…

Jeffrey Cordero
- 103
- 2
0
votes
1 answer
Adding cron jobs using crontab from several different files
I have two files where in I have listed my cronjobs:
cron.dev1.txt
cron.dev2.txt
Now I am using crontab in the following manner:
crontab cron.dev1.txt and
crontab cron.dev2.txt
When I do crontab -e, I see that only the jobs listed in crontab…

kosta
- 163
- 1
- 2
- 7
0
votes
1 answer
RAID10 array lost after reboot | Amazon Linux
I carefully followed this procedure to setup RAID10 on Amazon Linux:
https://mongodb-documentation.readthedocs.org/en/latest/ecosystem/tutorial/install-mongodb-on-amazon-ec2.html
I also upgraded MongoDB to 3.2 and followed this procedure to…

APE
- 129
- 5
0
votes
0 answers
setting up ssl on amazon ec2 linux instance
I have been struggling to setup ssl on my amazon ec2 server from 2 days. I have gone to aws docs for setting it up.
I have generated private key and csr and got ssl certificate from www.ssl.com.
I have configured my security groups and load…

Raghunandan J
- 111
- 3
0
votes
2 answers
Amazon Linux : Autoscalling server deleting policy
I have tried many things but not able to save my files.
I have an account in aws and I have created an autoscaling group.I
want to copy my log files to s3 but when any of the server deleted
through autoscaling my 30 minutes log files loss so I…

Hassan Sohail
- 101
- 5
0
votes
1 answer
Varnish GeoIP (vmod_geoip) + Amazon Linux
I'm trying to install vmod_geoip via amazon linux, but so far no luck.
I've installed geoip geoip-devel. I've downloaded the vmod_geoip source. I'm able to ./autogen.sh but ./configure constantly halts at:
No package 'geoip' found
Consider…

Michael Mikhjian
- 185
- 1
- 1
- 12
0
votes
2 answers
Yum is not working on Amazon instances
Yum is failing on some of my amazon instances, I tried to followup with the amazon guys but not able to get it fixed yet. Below is the error,python and yum version info:
[root@myhost_test.cache]# yum list
Loaded plugins: priorities, s3iam,…

Ramesh Kumar
- 1,770
- 5
- 19
- 29