Questions tagged [amazon-linux-2]

251 questions
0
votes
0 answers

Uncatchable MQTT aws-crt-nodejs crash

I am using the MQTT client in aws-crt to subscribe and publish, but every once in a while the server crashes with an error I have not been able to catch in JavaScript, but seems to be thrown in the C libraries of the package. Does anyone have any…
0
votes
0 answers

Amazonlinux2 can't "find" in a specific directory

When the find command is issued at the $HOME location as shown below, there is an issue that the file cannot be printed even though it exists. [myaccount@instance-01 ~]$ cd ~ [myaccount@instance-01 ~]$ find /usr/local/path/ -maxdepth 1 -name…
0
votes
0 answers

How to configure celery on amazon linux 2?

I tried several ways to configure a celery worker service to run on beanstalk amazon linux 2, I followed this tutorial, however it doesn't work for me, I got the following error: Failed at step EXEC spawning /var/app/current:$PYTHONPATH/celery: No…
GustavoNogueira
  • 389
  • 1
  • 3
  • 16
0
votes
1 answer

AWS Codebuild Installing Upgraded Version of Package but Old Version Still Detected/Used

I have a Django App deployed via AWS' elastic beanstalk, that uses the CodePipeline service to build. As part of that pipeline, the CodeBuild service is used to build the app that gets deployed to the ElasticBeanstalk environment. The build failed,…
alphazwest
  • 3,483
  • 1
  • 27
  • 39
0
votes
1 answer

after installing Certbot (nginx) my domain is showing default Amazon Linux 2 page

I have successfully installed certbot on amazon linux 2 and my domain has padlock but it is not showing the node app which was hosted on my domain. now it is showing default amazon linux 2 page. before installing certbot my domain was showing the…
madara uchiha
  • 202
  • 2
  • 9
0
votes
1 answer

Ruby on Rails app runs only as a root user and errors out when run as ec2-user

Background: I have a ruby application in an EC2 instance running Amazon Linux 2. My application is using Ruby 2.7.6. I am trying to run the application as ec2-user. When I run bundle install the packages load fine but error our when I run rails s…
0
votes
0 answers

How can I capture screen shots of user's visible screen on button click from a web app using django/python hosted on amazon linux 2 CLI

I'm trying to create a screenshot taking web app written in python django, meant for user work monitoring. It is supposed to take screenshots of the whole visible screen, not just the browser, in 5minute interval. The web app is to be built using…
0
votes
0 answers

How to create a JFrog Artifactory remote repository for amazon linux yum packages

I would like my EC2 in an isolated private subnet to access my JFrog Artifactory for amazon linux yum packages. Towards that, is it possible to create a remote repository in JFrog Artifactory to access amazonlinux yum package repo mirror site. I…
0
votes
0 answers

How to install geos_c on Amazon Linux when it is not appearing in EPEL?

I'm running some python code on EC2 that uses shape files and has a dependency on the geos_c library. It's raising a Could not find lib geos_c or load any of its variants error. I've applied updates and followed the steps from…
Chris Lill
  • 11
  • 2
0
votes
0 answers

Record of mount points when restoring from a snapshot?

Let's say I have an ec2 instance with a boot disk and an additional volume mounted somewhere. I take a snapshot of the boot disk and spin up a new instance using that snapshot to create the boot disk. Does linux (specifically AL2 in my case) have…
Kilbo
  • 333
  • 1
  • 12
0
votes
1 answer

update php and php-fpm in nginx server

I have a requirement where I need to update the PHP and PHP-fpm to the latest version of the server. this server is hosted using Nginx and WordPress. We are using amazon Linux 2 when I disable php7.4 and enable php8 in amazon-Linux-extras and…
Ramkumar
  • 1
  • 6
0
votes
1 answer

How to install Nginx on Amazon linux 2 with the correct compiler options?

I'm trying to build a docker image with Amazon linux 2 as the base image, the build is failing during the installation of Nginx, the error is ./configure: error: the invalid value in --with-ld-opt="-Wl,-E" What should be the value? The installation…
kirlev
  • 680
  • 1
  • 7
  • 17
0
votes
0 answers

Setting environment properties from SSM parameters in Elastic beanstalk(rails) (Amazon linux 2)

In amazon linux 1 you could change the environment properties of rails application by changing the file /opt/elasticbeanstalk/deploy/configuration/containerconfiguration.So i could easily get the properties stored in SSM(aws system store manager)…
0
votes
0 answers

upgrade docker-compose CENT OS 8 ERROR: Version in "./docker-compose.yaml" is unsupported

I am trying to run airflow server in my local using docker-compose. I have Amazon Linux 2 OS (Cent OS 8). I'm getting the following error: ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using…
Zabir Al Nazi
  • 10,298
  • 4
  • 33
  • 60
0
votes
1 answer

How often timezone database is updated in EC2 Amazon Linux 2

I have a scheduling use case that deals with end user local time. I couldn’t find information on how EC2/Amazon Linux 2 updates its timezone database. (Most likely based on IANA one) Does Amazon Linux 2 guarantee that timezone (TZ) changes (ex:…