Questions tagged [amazon-linux-2]

251 questions
0
votes
0 answers

Install MySQL WorkBench on Amazon Linux 2

After the mysql-server and other mysql libs have been installed on the Aws Linux machine, I wanted to install the Mysql WorkBench. Guess what ? It was a process full of failures.. Basically I've tried with multiple versions from…
brebDev
  • 774
  • 10
  • 27
0
votes
1 answer

How do I uninstall NPM v10.0.0 from Amazon Linux 2 4.14.322-244.536.amzn2.x86_64?

I recently tried to upgrade my node version from v16.20.2 to v18.7.1 by compiling from the source code. I have since given up on that idea and I'm just going to use packages compatible with Node v16.20.2 and npm-8.19.2-1.16.18.1.3.el7.x86_6 to be on…
0
votes
1 answer

Web.stdout logs stopping randomly on Amazon linux

My EC2 insurance is started by beanstalk and my logging just stops randomly after successfully loghing for a few minutes. But I know my app is still running due to database entries. I restarted journald using systemctl restart systemd-journald and…
0
votes
0 answers

Facing SSL issue with Qpid Python Proton library when using Amazon Linux 2 / Lambda using Python 3.10

We are building an AWS ActiveMQ project using Lambda (runs on Amazon Linux 2), which uses Qpid proton library from Apache. The issue ultimately seems to be that the Qpid library is unable to locate SSL on the system. The same code works fine in…
0
votes
0 answers

Zerofree in Amazon Linux 2

I'm going to preface this, that I'm trying to work within the confines of our current eco-system (ie: trying to ONLY use AL2). We have a very specific use-case in which we are converting a vmdk that gets generated from an AMI and gets downloaded to…
raithedavion
  • 127
  • 1
  • 12
0
votes
0 answers

Cucumber Selenium tests taking longer duration in multi-Threaded mode on latest chrome versions and on AL2 Linux

Our automation scripts are developed using Cucumber and Selenium (4.6 version). These scripts are run first in multi-threaded mode (4 threads) in the Jenkins pipeline (EC2 instance, Amazon Linux2 OS) with headful chrome. Then the failed scripts are…
0
votes
0 answers

jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. target instance OS amazon linux 2023

When I am trying to SSH from jenkins to EC2 instance its giving the below error: jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [Frontend-Exa].…
0
votes
0 answers

CURL does not show all OPENSSL engines on Linux

When I run bash-4.2# openssl engine (rdrand) Intel RDRAND engine (dynamic) Dynamic engine loading support (pkcs11) pkcs11 engine But when I run bash-4.2# OPENSSL_CONF=/etc/pki/tls/openssl.cnf curl --engine list Build-time engines: rdrand …
0
votes
0 answers

Elastic Beanstalk Laravel cache owner problem

I have a Laravel 9 project running on ElasticBeanstalk with Amazon Linux 2. In the post deploy hook I recursively set the file owner for the cache directory to web app:webapp. Then I log the directory to Cloudwatch. I can see that the owner of the…
0
votes
0 answers

Compiling GD 2.3.3 for existing PHP 7.2.34

The Amazon Linux 2 AMI server has php with version 7.2.34. It contains the GD 2.1 bundled GD Support => enabled GD Version => bundled (2.1.0 compatible) Now I would like to upgrade the GD to version 2.3.3…
complez
  • 7,882
  • 11
  • 48
  • 56
0
votes
0 answers

How to install python3.11 and update Pylint on Amazon Cloud9 IDE?

How to install python3.11 on Amazon Cloud9 IDE? and make the IDE's Pylint module recognize Python's new feature/keywords, such as "match"? Is there any simpler solutions? I have found a solution with following steps: Step One: install…
0
votes
0 answers

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:58971 from chrome not reachable

I am running the following Python script in AWS EC2: import undetected_chromedriver as uc uc_options = uc.ChromeOptions() uc_options.add_argument("--headless=new") driver = uc.Chrome(options = uc_options, version_main = 114) My…
0
votes
0 answers

Deployment error from local to connect server: proj_api.h not found in standard or given locations

I am trying to use terra library in my code which is working locally but while deploying code to posit connect server (2023.01.0) getting error - proj_api.h not found in standard or given locations Connect server is hosted in AWS EC2 Amazon Linux…
Nitin
  • 1
0
votes
0 answers

Amazon Linux 2 Crontab not working Properly

I am trying to Execute a script though crontab : At every minute on every day-of-month from 1 through 5 and every day-of-month from 16 through 23 and on every day-of-week from Monday through Friday. So my expression is * * 1-5,16-23 * 1-5. Today is…
0
votes
0 answers

Unable to find an exact match for CDP version 114, so returning the closest version found: 112

I am running testcases in selenium, installed dependencies i.e. java, maven, google-chrome. When running command mvn clean test , an error occurs while executing the test case and ends up in build failure. Error : Unable to find an exact match for…