Skip to main content

Questions tagged [aws]

Amazon Web Services (AWS) is a collection of commercial services centered around virtualized, commodity and clustered computing, networking, database and storage, as well as supporting tools that are offered through infrastructure as a service

Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

Ubuntu 20.04 (NICE DCV) mic audio quality very inconsistent

So I have this EC2 g4dn.xlarge instance set with NICE DCV and Ubuntu 20.04(it uses custom Intel Cascade Lake CPUs and NVIDIA T4 GPUs), I'm running Minecraft on it with a simple voice chat plugin. The ...
Charlie H's user avatar
0 votes
1 answer
36 views

Ansible AWX v17.0.1 running against EC2 instance -- ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'

I am trying to run a simple Ansible playbook against an EC2 instance using AWX. My Ansible AWX is version 17.0.1 (running in Docker, not the Kubernetes version). I ran a 'pip3 list | grep six' and it ...
Swampcritter's user avatar
0 votes
0 answers
23 views

Custom dns resolver isn't specific to Domain

I have a custom DNS resolver, similar to how Consul provides DNS. They have you set systemd-resolved like so. # File /etc/systemd/resolved.conf.d/consul.conf [Resolve] DNS=127.0.0.1:8600 DNSSEC=false ...
fideloper's user avatar
  • 101
0 votes
2 answers
162 views

Ssh Permission denied on EC2 Linux server (publickey)

Please I created 2 Ubuntu Linux EC2 instances(master and slave) when I tried to ssh from the master server to the slave I get the error Permission denied (publickey). Server Details ubuntu@ip-172-31-...
Godwin's user avatar
  • 1
0 votes
0 answers
115 views

Run Go app as service with systemd in AWS EC2 instance

I'm trying to set my Go app as a systemd service in an EC2 instance with Amazon Linux 2023 so that it restarts on crashing and system reboots. I was following the advice from here: I created a ...
Ronald's user avatar
  • 1
0 votes
1 answer
191 views

redirecting aws cli output

I'm trying to save the output of aws cli to the logfile. and it is working to some extent. The issue is that from below shared first commands execute it save output to the file but when second ...
jayvardhan's user avatar
0 votes
1 answer
86 views

Linux I/O issue? Multiple FFMPEG saving streams as HLS, lose segments despite low CPU and Memory consumption

I'm capturing an RTMP stream as HLS (saving playlist files) using FFMPEG wihout any stream processing, merely copying it. Thanks to such setup I'm able to run tens of processes (I've tried 80 at most),...
Yyyeey's user avatar
  • 1
0 votes
1 answer
23 views

assigning command result printed "on new session" to variable

I have a bash script that among other things executes this command: aws s3api list-objects --bucket my-bucket-name --output text that recovers a list of items and prints them in "a new session&...
xdev's user avatar
  • 3
0 votes
1 answer
285 views

Mount a filesystem in a K8S pod without privileged

I have a K8S deployment loading a volume as raw block (through volumeDevices): apiVersion: apps/v1 kind: Deployment ... spec: replicas: 1 ... containers: - name: somepod image: ubuntu:latest ...
Liquid's user avatar
  • 51
0 votes
4 answers
221 views

merge some line start with special character

I have some log like this: 2023-11-15T08:59:28.000000+00:00 database-1 # Time: 231115 8:59:28 # User@Host: rdsadmin[rdsadmin] @ localhost [] # Thread_id: 3 Schema: QC_hit: No # Query_time: 0....
dvthanh's user avatar
0 votes
0 answers
273 views

xargs cat a file with aws cli (amazon s3 move)

I have a file called file.csv, which is a list of the files (or more precisely, file paths path in an S3 Bucket) that need to be moved to another folder in s3. This file lists 53,00,000 files. I have ...
hanu's user avatar
  • 1
0 votes
1 answer
63 views

Low memory vs total memory in "free" command

I am trying to understand the output of the free command on an AWS Linux server. For example, free -h gives: total used free shared buff/cache available Mem: ...
EugeneO's user avatar
  • 103
0 votes
0 answers
265 views

ec2 instance curl request to the ec2 subdomain of its own region fails

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and ...
Thomas Stokes's user avatar
-1 votes
2 answers
367 views

delay/cancel linux shutdown

I know that similar questions were answered multiple times here, and my question may look weird, but my case is different. I would like to catch the linux shutdown command before another processes, ...
zappee's user avatar
  • 211
0 votes
2 answers
191 views

Unable to pass AWS CLI commands in double quotes in json syntax

I'm working with the below script,getting syntax error as unable to fetch credentials from secrets manager. "username":"AWS CLI command of access Key i have entered", "...
code userit's user avatar
0 votes
0 answers
22 views

How to Open Private Webpages on a Bitnami Lightsail Instance via SSH

I have a Bitnami Lightsail instance on AWS with Debian OS, where I have successfully installed the Google Chrome browser. My goal is to create a web application similar to Facebook or WhatsApp Web, ...
androidXP's user avatar
  • 101
-2 votes
1 answer
61 views

Configuring an AWS E2 proxy for SSH-tunnelling your web browser [closed]

A web browser usually connects to the Internet directly. Sometimes that's undesirable. On such occasions, routing traffic via another system is preferable. VPNs achieve the desired result, but ...
bs-'s user avatar
  • 43
1 vote
2 answers
130 views

DCV Viewer on Fedora 38 instalation error

I'm trying to install the Nice DCV 2023 Client such that I can remote into my remote workstation. Several installers are available, for distros like Ret Hat, SUSE, Ubuntu, but not for Fedora. ...
BHeijden's user avatar
0 votes
0 answers
71 views

Could not override the umask value for AWS Session Manager ssm-user

Currently when I connect to an EC2 instance through SSM from AWS console it connects with default user : ssm-user. The umask value for this user is 022. I am trying to update the default umask value ...
Rob Wilkinson's user avatar
0 votes
1 answer
34 views

Fargate Linux Github Runner cannot find specific URL (nslookup) from private network over VPN

I run the Worker container (Fargate Worker: https://docs.gitlab.com/runner/configuration/runner_autoscale_aws_fargate/). My problem is that the container (Gitlab-runner) is running on Fargate ('awsvpc'...
Ömer Sezer's user avatar
0 votes
1 answer
862 views

Debian 12 + AWS VPN client

I got debian 12 I am trying to set AWS VPN client version 3.4.0 # apt show awsvpnclient Package: awsvpnclient Version: 3.4.0 Status: install ok installed Priority: optional Section: misc Maintainer: ...
JPG's user avatar
  • 151
1 vote
1 answer
47 views

Linux system logs

In one of our AWS Linux virtual machines, the ca-certificate.crt file has been modified, and our private CA has been deleted. How can I determine who made these changes and deletions?
Ahmed's user avatar
  • 11
0 votes
1 answer
1k views

is Openssh 7.4p1 (CentOS) up to date with remediating vulnerabilities?

Currently using Amazon Linux 2, and our VA tool is stating that it has found multiple vulnerabilites with openSSH7.4p1, stating that the vulnerabilities have been patched with a later version of ...
User51432's user avatar
0 votes
0 answers
442 views

Where is Rsyslog programname set?

I am using AWS Elasticbeanstalk to run my java web application. In EC2 node under /etc/rsyslog.d/web.conf if $programname == 'web' then { *.=warning;*.=err;*.=crit;*.=alert;*.=emerg /var/log/web....
Jeevi's user avatar
  • 101
0 votes
0 answers
6k views

aws s3 copy failing with fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Copying a file from S3 bucket to EC2 Instance.EC2 Instance is in the same region us-east-2 as S3 Bucket in.S3 Bucket is ACL disabled and Allowed for public access. # /usr/local/bin/aws s3 cp s3://...
dbadmin's user avatar
  • 23
2 votes
1 answer
5k views

AWS EC2 Amazon Linux 2023: Installing PHP 7.4

I cannot seem to be able to find php7.4 as a package on Amazon Linux 2023. The latest version is PHP 8.1 but the application I'm using has compatibility issues with the latest version of PHP; hence ...
TechMafioso's user avatar
0 votes
0 answers
10 views

AWS Cloud EC2 server creating Automated backup of configuration files

Automated backup of configuration files (15) a. The backup location will be /root b. The backup should be done weekly i. /etc/passwd ii. /etc/group iii. /etc/fstab iv. /etc/yum.repos.d (...
shane's user avatar
  • 1
4 votes
1 answer
1k views

AWS VPN Client on Ubuntu (18.04 — 23.04) and Debian (8 — 12, sid): Unknown error ocurred

I've tried to launch AWS Client VPN on all Ubuntu releases, starting with 18.04 and up to 23.04 an everywhere I got Unknown error ocurred. Try again.. I've tried to launch it on all releases of Debian ...
Yaroslav Minieiev's user avatar
0 votes
0 answers
105 views

Failed to locate executable /~/.nvm/versions/node/v18.15.0/bin/node: No such file or directory

What is supposed to be the appropriate node executable path to use. My machine runs on windows but i am using Amazon linux as the app is hosted on an AWS EC2 intance. Whenever i start the app from ...
Sanmi Akande's user avatar
0 votes
0 answers
654 views

Why is systemd service failing on Amazon Linux 2?

I have a Node.js application cloned on an AWS EC2 instance running Amazon Linux 2. I can execute the project's server.js file just fine: [ec2-user@ip-*********** portfolio_v3]$ nvm use 16 Now using ...
Aaron Parisi's user avatar
0 votes
1 answer
849 views

Get parent of all matching value in JSON using jq

I am new to jq and I have a scenario to get the parent(at a particular level) of any matching value in the json file. Below is the sample data. { "DevOps": { "us-east-1"...
Murali SP's user avatar
-2 votes
1 answer
226 views

Which files are safe to delete?

so I used ncdu to help free up some storage and for the following log: --- / ----------------------------------------------------------------------------------------------------------------------------...
Mansidak's user avatar
1 vote
1 answer
462 views

port forward with openVPN to access local machine remotely

I have an OpenVPN server set up on my AWS Linux instance and I can successfully use the OpenVPN client to connect to the server using an .ovpn configuration file. My question is how can I set up port ...
seriously's user avatar
  • 113
0 votes
1 answer
2k views

What's the risk of running net.ipv4.route.flush

I'm setting up a Linux box through AWS and I'm exploring sysctl. When I run ip route I can see that there are already routes on the machine refering to 169.X.X.X addresses. Questions: What does ...
N. J's user avatar
  • 177
0 votes
2 answers
1k views

Where to set new UUID for PV & VG of LVM

I have 2 instances running on AWS. Instance A (main instance) and Instance B (rescue instance). I detached volume from Instance A and attached it to Instance B to perform some changes why because I am ...
Pritesh Vikram's user avatar
-8 votes
3 answers
143 views

I need to convert a large space-separated list of Debian packages into a newline-separated list [duplicate]

In a Amazon s3 bucket we have Debian packages stored in different folders. Each folder contains different amounts of files. While calling Debian packages from the s3 bucket (AWS) the packages are ...
Jaraar's user avatar
  • 1
0 votes
0 answers
124 views

Remove Unlisted Application

I am running Fedora 37 on my home computer, and have attempted to install Amazon Workspaces via Flatpak, which was successful (package: ‘app/com.amazon.Workspaces/x86_64/stable’). I was having issues ...
DankyNanky's user avatar
0 votes
2 answers
393 views

Could not add AWS codepipeline as a source for codebuild

want to create codebuild project, but i neeed build source to be codepipeline, not a specific codecommit branch, so that i want to force codebuild to get the source from the codepipeline source stage ...
karim's user avatar
  • 1
0 votes
1 answer
78 views

Stucked while testing for a file transfer speed of 10 TB of file from server1 to server 2

I'm doing a testing of transferring 10 TB of files from one server to other server via AWS. I have mounted the file system: lsblk file -s /dev/sdb mkfs -t xfs /dev/sdb mkdir /data mount /dev/sdb /data ...
user123 codebit's user avatar
1 vote
1 answer
344 views

IP Fragmentation with Jumbo frames

Is it possible to enable IP fragmentation for packet size greater than 9k when the mtu is configured as 9k? If yes, how can this be achieved in Linux?
Adarsh's user avatar
  • 133
1 vote
0 answers
895 views

Can no longer SSH to AWS EC2 instance

We have an AWS EC2 instance running Amazon Linux 2. This instance was running fine up until a couple days ago. Then we used an Ansible playbook to install a new version of our software. We have used ...
pacoverflow's user avatar
0 votes
1 answer
77 views

Keybindings in nanorc won't work in AWS EC2 Linux

I'm connected to a aws linux vm via ssh as you can see below. I want rebind key codes in .nanorc e.g. bind ^C copy main. But if I reopen nano I got message that there are mistakes in .nanorc. Those ...
Hölderlin's user avatar
  • 1,196
0 votes
1 answer
484 views

504 Gateway Time Out on Load Testing on Apache Instance

I have a Laravel app deployed over Apache Instance Instance Config is as follows, T3A.2xLarge (vCPU = 4, Memory 16 GIB) I have increased apache timeout to 600 Seconds, configured mpm_prefork as ...
Kashyap Patel's user avatar
1 vote
1 answer
358 views

Unable to make outbound connections on port 443

I have an old server on CentOS 5, with cPanel installed, hosted on Amazon AWS EC2: uname -a Linux 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux It wasn'...
synweap15's user avatar
  • 121
0 votes
0 answers
26 views

AWS CLI downloading lambda package as few bytes?

url=$(aws lambda get-function --function-name my_func --query 'Code.Location' --output text) When I do wget url, it shows: --2022-11-21 11:09:03-- http://url/ Resolving url (url)... 23.217.x.x, 23....
user avatar
0 votes
1 answer
127 views

Can't connect to any EC2 Linux instance

I'm facing a very simple issue here; I'm not able to connect to my Linux (bitnami-redmine-5.0.3-4-r06-linux-debian-11-x86_64) Virtual Machine. I've created another sister VM to check, and can't ...
mr. anderson's user avatar
1 vote
1 answer
166 views

bash unable to interpret cli command that uses curly braces in GitHub Ubuntu

What specific syntax needs to be changed in the aws s3api cli command below in order for the bash shell to interpret the command properly? The environment is an ubuntu-latest GitHub runner executing a ...
CodeMed's user avatar
  • 5,269
1 vote
0 answers
1k views

pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([Errno 99] Cannot assign requested address)")

I have a streamlit app that requires connection to MariaDB. When I run docker-compose up I get this error: pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([...
divyashie's user avatar
3 votes
1 answer
3k views

Postfix Error while loading shared libraries: libmysqlclient.so.18

When I try to start postfix I get these errors: /usr/sbin/postconf: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such...r directory /usr/bin/...
SeniorDeveloper's user avatar
1 vote
0 answers
857 views

How to fix clipboard problem in Amazon Linux 2 (CentOS)?

I have an AWS workstation with Linux on it and the "system" clipboard is not working so I cannot copy-paste text (ctrl+c/v etc.) between the applications running inside this workstation. I ...
wi2ard's user avatar
  • 61

1
2 3 4 5
9