Questions tagged [amazon-linux]

139 questions
1
vote
1 answer

Problems installing gems with native extensions on Amazon Linux

When I try to install gems like ohai and fpm on my Amazon Linux EC2 instance I get the error message: [ec2-user@ip-172-31-43-16 ~]$ sudo gem install ohai Building native extensions. This could take a while... ERROR: Error installing ohai: …
Ernest Mueller
  • 1,199
  • 2
  • 12
  • 25
1
vote
0 answers

Best way to handle PHP-FPM with a ton of Pools

We recently upgraded to Apache 2.4 and want to move away from the Prefork + mpm-itk setup we had in 2.2 . The problem is we host about 60 domains, and while we control the PHP development, we still want to have them isolated per domain, as over the…
David Eisen
  • 643
  • 5
  • 21
1
vote
1 answer

Amazon Linux instance running beanstalkd

What's the best way to run beanstalkd on an instance of Amazon Linux in EC2? Beanstalkd doesn't exist in the yum repository and the upstart script included with beanstalkd doesn't seem to work out of the box. I'm wondering if someone has already…
Mr. T
  • 119
  • 4
1
vote
1 answer

Using ionice on Amazon Linux

My cronjob consumes 100% cpu even using ionice. Did I do something wrong? for db in ${databases}; do ionice -c 3 nice -19 mysqldump -h localhost... wait done PS. Amazon Linux
Claytinho
  • 513
  • 1
  • 4
  • 6
1
vote
0 answers

How do I install third party packages from non-default repositories in Amazon Linux?

My ultimate goal is to create a Docker image with a particular binary installed (loudgain) that I can run functions on. As above, pkgs.org claims the binary is available from both "fedora-updates" and "RPM Fusion Free" repositories. I've tried…
1
vote
0 answers

Is there a way to read dmesg.old with absolute timestamps

Is there a way, using dmesg or otherwise to see the data in /var/log/dmesg.old with an absolute timestamp? I'm trying to get the same effect as dmesg -T but on older data. I'm using Amazon Linux AMI release 2018.03. The -F option for opening a…
Uberhumus
  • 213
  • 1
  • 11
1
vote
3 answers

Reducing Amazon EBS Root Volume Size on Amazon Linux 1

I have been trying to reduce the size of my Amazon Linux 1 AMI root volume using the procedure in this documentation (with some modifications made after failing to do so) and continuously run into errors with the step: $ sudo grub-install…
1
vote
1 answer

Error getting the correct Python3 dependency

I get this error when trying to install HTCondor on Amazon Linux 2 instance: Error: Package: python3-condor-8.8.15-1.el7.x86_64 (htcondor-stable) Requires: libpython3.6m.so.1.0()(64bit) I tried installing python 3.6 on my own (given that the…
Caterina
  • 123
  • 5
1
vote
1 answer

Install certbot nginx in Amazon Linux AMI

i have a really old amazon linux ami in which i need to install certbot for my nginx which is running a php website. Now i need to install ssl on this website. But i cannot install certbot-nginx on my server. whenever i try to install sudo yum…
MD Nasirul Islam
  • 145
  • 1
  • 12
1
vote
1 answer

Instance created from (working) Lightsail snapshot will not respond to nginx requests

I'm trying to scale up a Lightsail instance. It's a basic Wordpress site on an Amazon Linux 2 AMI running nginx and mariadb. It's using a static IP. Works fine. When I create a snapshot of it, use it to launch a larger instance, and then attach the…
1
vote
1 answer

Where to find/how to install `libclang-*.so.1` on CentOS?

I am trying to find a library of libclang-*.so.1 on centOS, but didn't find it anywhere. I have already installed clang and llvm-toolset-7.0. Any suggestions are welcome.
John M.
  • 133
  • 4
1
vote
1 answer

Let's Encrypt problems with Bitnami stack and Lego, on an Amazon Linux (not 2) instance

We have an Amazon Linux (not Amazon Linux 2) instance, running a fairly old Bitnami Trac/SVN stack, and also running a Tomcat server. It has two instances of httpd: the one that's part of the Bitnami stack, and the one that came with the OS. Tomcat…
hbquikcomjamesl
  • 259
  • 2
  • 16
0
votes
0 answers

Tomcat 8.5.40 does not work after Amazon linux O.S. upgrade to Version 3.1.6

I am a java developer, and our web application have been running on AWS Beanstalk over AWS EC2 instances with Java-8, Tomcat 8.5 and 64-bit Amazon Linux/3.0.1. Recently, as per security team's recommendations,we had upgraded Amazon linux to version…
0
votes
1 answer

Apache graceful restart is failing with no errors

I'm writing a script to gracefully restart Apache in a AWS Elastic Beanstalk application every hour. This is needed so that new SSL certificates are loaded. The app serves multiple websites on multiple domains so each needs its own certificates and…
Vic
  • 101
  • 4
0
votes
1 answer

Configured repository failed for Icinga2 on Amazon Linux EC2

added the epel release repo and the Icinga2 repo into my instance based on this guide while installing Icinga2 with sudo yum install icinga2 i am getting http://packages.icinga.com/epel/latest/release/repodata/repomd.xml: [Errno 14] HTTP Error 404…