Questions tagged [amazon-linux]
139 questions
2
votes
0 answers
Docker storage re-mounted in read-only mode when container is generating a lot of large file(20G+)
I am getting stuck with an issue for a couple of days, and hope someone here could help or give some hints.
So here is the issue: when I am running some docker images which performs large I/O operations, the container become read-only in the middle…

UTS-AnQ
- 21
- 2
2
votes
0 answers
Trying to run php-fpm 5.6 alongside php7.2 for different Apache virtual hosts on EC2 amazon linux , what am I missing?
I'm working on amazon linux on an EC2 instance.
I installed php72 using yum, apache worked fine.
I have installed php5.6 at /opt/php5.6 configured it as fpm and done the make install whcih all went fine, I can start and stop it fine but I'm unclear…

Tofuwarrior
- 239
- 1
- 3
- 10
2
votes
1 answer
Can I add Centos or Redhat main repositories to Amazon Linux?
I’m trying to use AWS Cloud 9 for development, however it forces you to use Amazon Linux, instead of my familiar Ubuntu.
The major limitation is the lack of available packages.
Is it possible to add the main CentOS or redhat repos in order to…

chrism2671
- 2,579
- 9
- 34
- 45
2
votes
1 answer
How to install samba-tool on Amazon Linux
I am using Amazon Linux on AWS and wish to install the CLI application of samba-tool. On Linux distributions including Ubuntu, this is included by default with installing samba, but does not appear to be available after running yum install samba. It…

Jake
- 121
- 4
2
votes
0 answers
Unassigned secondary IP stuck on AWS Linux EC2
I have a couple of c5.large instances with two network interfaces each, running the latest Amazon Linux 2 AMI as of 2018-03. They used to have 8 IP addresses on each interface, which is now changed to 7. When adding IP addresses and interfaces, this…

Legogris
- 129
- 5
2
votes
0 answers
Strange Linux disk statistics on EBS i/o credit exhaustion
We have T2 instances (Linux 4.9.20-11.31.amzn1.x86_64) on AWS EC2 which exhaust their i/o credits due to disk reads. It may well be that we have excessive reads on these nodes, so nothing strange about this in itself, but the result on the processes…

Bittrance
- 3,070
- 3
- 24
- 27
2
votes
1 answer
How to run fail2ban on Amazon Linux - No module named fail2ban.version
I installed fail2ban using this command on Amazon Linux
yum install fail2ban
My epel repository is defined as
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
I got this error when I tried to start the…

Tim
- 31,888
- 7
- 52
- 78
2
votes
2 answers
How to fix dependency issue with partially completed yum update of glibc
I attempted to update my production web server this morning (t2 running Amazon Linux) but it failed because I ran out of RAM (php-fpm had it all). I stopped php-fpm to free up some RAM, but the yum update won't complete. The server is running ok,…

Tim
- 31,888
- 7
- 52
- 78
2
votes
1 answer
Installing Debian package tools (dpkg-buildpackage) on Amazon Linux?
I am setting up a web server which packages and hosts different installers for client applications on Windows, Mac OS X, and Linux.
I am using EC2 so I went with Amazon Linux for my base image.
I have the repackaging working fine for creating…

ashgromnies
- 151
- 1
- 1
- 7
2
votes
1 answer
Postfix's received emails put in /var/mail/user/.Sent Messages
For some reason, emails that I receive on my Amazon Linux EC2 instance, running postfix and dovecot, are put in the directory /var/mail//.Sent\ Messages, instead of the expected /var/mail/.
Postfix's master.cf contains the following…

Jojodmo
- 131
- 6
2
votes
1 answer
Amazon Linux builds using Packer?
I've been trying to chase this down but evidently have not found the right documentation. It it possible (and how) to build Amazon Linux machines with Packer? Would this be just mirror AMI's that are prebuilt if so? I know that Amazon Linux does not…

ehime
- 597
- 2
- 7
- 15
2
votes
1 answer
Disabling SSLv3 in ELB on Amzon linux ec2
Hi I have Elastic Load Balancer on which I've deployed my ssl certificates
and when i check on the web it say site is vulnerable because of SSLv3 is enabled on the site.
So my question is What exactly needs to be done in my environment so that it…

Shailesh Sutar
- 1,517
- 5
- 23
- 41
2
votes
1 answer
vagrant plugin install error
I'm trying to install a vagrant plugin
$ vagrant plugin install vagrant-aws
which exits with this error:
Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling.
When I try that command
$ gem install nokogiri -v '1.6.3.1'
It…

andrewtweber
- 449
- 1
- 10
- 18
2
votes
2 answers
How to get Zabbix to report out of date packages?
How do I configure Zabbix to report for Linux servers that have out of date packages?
The following shell command reports if package updates are available:
/usr/bin/yum --debuglevel 2 --security check-update 2>/dev/null \
| grep -P '(?

Greg Pagendam-Turner
- 973
- 2
- 13
- 20
2
votes
5 answers
Amazon Linux: Can't log background task output?
We recently moved to AWS EC2 instances w/ the Amazon Linux distro.
On our old servers (RH Enterprise), we've been able to run a command in the background (&) and also redirect the output to a log file, such as the below:
php /path/to/script >…

DOOManiac
- 791
- 6
- 12
- 26