Questions tagged [aws]

Amazon Web Services (AWS)

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

Network 180x slower than Windows or VPN solution

I am having extremely low speed for AWS downloads on Ubuntu and I started to investigate. Here is what I found: OS Configuration S3 AWS eu-west-1 Oookla Speedtest Download Ubuntu 20.10 Kernel 5.8.0-...
0
votes
0answers
14 views

supervisor using all of cpu memory on aws

I am using supervisor on aws instance for larval job queues (backend process). Also installed Redis on my instance. but the problem is when I run supervisor on instance my instance stop working. then ...
2
votes
2answers
305 views

Ubuntu upgrade from 16.04 to 18.04 in AWS EC2

My AWS EC2 instance is running on Ubuntu 16.04. But recently I got an email from AWS that Canonical - the company that provides the support of Ubuntu 16.04 LTS - will stop its support on April 30, ...
0
votes
0answers
12 views

Nvidia driver missing

I have setup Cuda with Nvidia on AWS GPU instance it is working fine. But suddenly I am facing NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver and I need to reinstall ...
0
votes
1answer
94 views

Are there any AWS S3 browser for ubuntu 20.04?

Are there any AWS S3 browser for ubuntu 20.04? I saw a lot of options but most of the links are dead or are not maintained .
1
vote
1answer
22 views

Restore mysql db from AWS AMI?

We have one EC2 instance running our mysql database server. due to a security incident we had to delete the current EC2 instance as database was completely messed up with some sort of encryption. So ...
0
votes
0answers
227 views

How do I install NVIDIA drivers on an AWS EC2 g4dn instance

I have a G4DN instance running but I wanted to know how to install the NVIDIA drivers on it so I can get access to the complete processing power of the instance. It is running Ubuntu 20 focal and is a ...
1
vote
0answers
89 views

XRDP access to ubuntu instance produces “Oh no! Something went wrong” for some users

I am creating an EC2 AMI on AWS running Ubuntu 20.04 for a training workshop. The initialization of this instance includes the following: apt -y install ubuntu-desktop DEBIAN_FRONTEND=...
0
votes
0answers
23 views

Subscribing to Ubuntu Advantage - Essential from multiple AWS accounts

I'm having some difficulty in completing the subscription process for the Ubuntu Advantage - Essential product in more than one AWS account. I have subscribed to the AWS Marketplace SaaS offering for ...
1
vote
1answer
282 views

Mount an EBS Volume > 2TB on Ubuntu 18.04

I have an Ubuntu server running on EC2 with an EBS volume mounted on /. I resized the EBS volume to 16TB before realizing that using it as the root volume implies partitioning, and that I might need a ...
0
votes
1answer
51 views

Not able to ssh to aws ec2 instance using config and doing key less ssh

My config file /home/vidur/.ssh/config is as: Host ec2 HostName 54.69.86.125 User ubuntu Identity /home/vidur/Documents/SSH_PEM_FILES/tukacloud.pem Host * AddKeysToAgent yes ...
1
vote
0answers
37 views

Issue in installing SSL Certificate to Apache Linux 2 Lightsail instance

I have already installed Certbot. I have already addded a Virtual host with Servername : mywebsite.com and Server Alias etc. Currently, it has saved the httpd-vhosts.conf with these files. httpd-...
0
votes
1answer
576 views

Start Xubuntu Session in xrdp

I have Ubuntu 20.04 on the my AWS instance and I have installed xubuntu-desktop and xrdp. After putting exec startxfce4 into my user's ~/.xsession I can launch default XFCE4 session when I connecect ...
0
votes
0answers
181 views

AWS Lightsail Ubuntu 18.04 - sudo must be owned by uid 0 and have the setuid bit set

I know this may look like a duplicated question, but I haven't found anything regarding AWS Lightsail Ubuntu instances on this site, so I've read many answers about how to fix this issue but found ...
0
votes
0answers
63 views

ReactJS application - npm_module not updating after AWS code-deploy

I have setup AWS pipeline to deploy reactjs application, with AWS Code Commit-Code Build-Code Deploy. Whole code is getting update but not the npm_modules after the pipeline deployment and getting ...
0
votes
0answers
76 views

Squid is no longer active?

I am trying to get squid up and running. It was working at first, but then this started happening when i did some work with nano. How do i fix it. squid.service - Squid Web Proxy Server Loaded: ...
0
votes
0answers
43 views

Why does my AWS command work when I run it but doesn't work in root's crontab?

I am trying to sync a backup folder to AWS S3, so I run: sudo aws s3 sync --delete /var/backup/ s3://ssw-backup-bucket It asks my ubuntu password and works fine. But if I add it to sudo crontab-e it ...
0
votes
1answer
4k views

ModuleNotFoundError: No module named 'django_filters'

When I try to collect all of my static files in my project in one location with python manage.py collectstatic, I get the error ModuleNotFoundError: No module named 'django_filters django_filters is ...
0
votes
1answer
1k views

/dev/nvme0n1p1space is full how to clean it?

I just set up my site through AWS EC2 not that long ago from following YouTube tutorial. Now I have issue with no space left on the disk space and I tried to remove some of the old backup files I have....
0
votes
1answer
869 views

How to resolve nginx failure to restart after updating configuration files

I am having issues restarting nginx restart. I'm very new to ubuntu and nginix. I am trying to change the configuration of nginx.conf and default.conf(newly created). My main goal is to deploy my MERN ...
3
votes
1answer
9k views

cURL Received HTTP/0.9 when not allowed, but nghttp2 is installed

I'm trying to setup the wallet RPC for a Monero node, but when I use cURL to that port, I get this error: curl: (1) Received HTTP/0.9 when not allowed However, checking curl --version gives me this: ...
0
votes
1answer
528 views

sudo: unknown uid 1000: who are you? (sudo completely broken)

I am new to Linux environment and I need little guidance. I made a mistake while setting up the password and username of mosquito MQTT broker on AWS ubuntu 18.04 instance. I have altered the contents ...
0
votes
0answers
168 views

Connecting to SoftEther from Ubuntu 18

I have installed a Softether VPN server on AWS through its Marketplace click here to check the product. I set up the server. I have an Ubuntu 18 Machine which I want to set up a client to connect to ...
0
votes
1answer
35 views

Ubuntu saying failed dependencies even after installing — how can I fix?

I am currently trying to install the following github rpm on my Ubuntu 20 server on AWS. https://github.com/usrecnik/ddlfs Currently when I try to install I get an error: sudo rpm -Uvh https://github....
0
votes
0answers
1k views

PHP Startup: Unable to load dynamic library 'pdo_mysql'

I am using php 7.4 and ubuntu 16.04 which I have upgraded from 14.04. Here I am randomly getting pdo error like: PHP Core Warning 'yii\base\ErrorException' with message 'PHP Startup: Unable to load ...
2
votes
2answers
1k views

AWS EC2 Ubuntu 16.04.7 LTS Upgrade problems

I have an AWS EC2 instance that I am running a website on and I am running into issues while upgrading it. Here are the steps I have tried: $ sudo apt update $ sudo apt upgrade After the first part ...
0
votes
0answers
89 views

what is the best way to partition /tmp and /var/log in ubuntu 18.04?

Using aws ec2 ubuntu 18.04 OS. Need to perform CIS hardening task for file system where we need to partition /tmp /var/log /var directories and mount them to a separate file system partitions What is ...
0
votes
0answers
168 views

debug1: Authentications that can continue: publickey,password

I am trying to connect AWS EC2 which is launch with .pem key, But when I am trying to connect it using pem it is asking for ubuntu user which is a EC2 user from AWS. Previously I was able to login ...
0
votes
0answers
119 views

How to set umask for daemon only in ubuntu 18.04?

I am working on OS hardening tasks. Need to set umask value for all the daemon processes running in the ubuntu system. It would be great if someone can share the steps. Note: umask need not be set for ...
0
votes
1answer
67 views

Shell / awk how to pass some value across to results of another command

With this command, i get list of top ips from apache access log using AWK command, because it handles the first input variable ($1) which is ip. (then it does some things like sorting, counting etc.. ...
0
votes
0answers
130 views

AWS EC2 Operation timeout after installing SSl

I installed ssl certificate couple of days back using Let’s Encrypt. Before, that I was easily able to login and do everything. Now, Whenever I try to login it gives me following error ssh: connect to ...
0
votes
0answers
1k views

How to pass a variable into json file

I am trying to pass a variable into a json file. This is my script: #!/bin/sh for BucketName in `aws s3api list-buckets | jq '.Buckets[].Name' | sed 's/"//g'`; do if [ "$(aws s3api put-...
0
votes
0answers
102 views

Unable to execute passwordless sudo even when it appears enabled

I've had a look at this question, and it seems to be a very similar environment, except that I'm using Ubuntu 20.04.1. I'm trying to run a command through PHP as follows: exec("sudo -u ubuntu...&...
2
votes
1answer
100 views

How to resolve my DNS servers

I have setup an AWS EC2 instance (Ubuntu Server). This is the content of /etc/resolv.conf nameserver 127.0.0.53 options edns0 search ap-southeast-2.compute.internal now I connect my EC2 instance to a ...
0
votes
0answers
105 views

How to get OpenVPN in AWS to push DNS to a client gateway (ubuntu 16.04) when up using best practices

I would like to get Open VPN to correctly use a private DNS in AWS. I have seen various hacks to get this working but I'd be interested to achieve best practice and the most future proof solution. ...
0
votes
1answer
40 views

cant login amazion ec2 created with AMI

I can't log in my aws ec2 instances with password here ill explain what I did create new aws ec2 instances (remove key login and enable password login) create image again create new instances with ...
0
votes
0answers
65 views

Finding out which process is causing server out of memory?

We are using Ubuntu in an AWS EC2 instance and the server will periodically become unavailable, which requires a reboot to be done. While this does make the server available, it doesn't really solve ...
0
votes
1answer
189 views

Mariadb password in Ubuntu 18.04

I setup a password for Mariadb when I ran sudo mysql_secure_installation but when I try to run mariadb with mysql -u root -p I get the following error. ERROR 1698 (28000): Access denied for user 'root'...
2
votes
2answers
442 views

DNS server does not listen on IPv6 after a reboot

I have two newly created 20.04 instances on AWS (Amazon Web Services). One is of type t2, the other of type t3. These instances have both IPv4 and IPv6 configured. As you probably know, these ...
0
votes
0answers
91 views

“dotnet lambda” fails on Ubuntu

dotnet lambda fails asking for libhostfxr.so on Ubuntu: dima@ubu:~/proj $ dotnet lambda A fatal error occurred. The required library libhostfxr.so could not be found. If this is a self-contained ...
1
vote
2answers
1k views

How to grep JSON key's value in command-line?

This is my JSON output for this command aws logs list-log-groups and from this I need the first "arn" value to be grepped. How can I do this? { "logGroups": [ { ...
0
votes
0answers
23 views

Agent forwarding

I am trying to do agent forwarding. I have private instance in private subnet and public instance in public subnet. Both are in same VPC. In initial days I easily do that first connect my public ...
0
votes
0answers
58 views

Why my aws EC2 has no partition table? fdisk -l output blank

$ sudo fdisk -l $ which fdisk /sbin/fdisk $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 150G 0 disk / nvme1n1 259:1 0 80G 0 disk /mnt/xvdf $ df -h Filesystem ...
0
votes
0answers
239 views

Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement

{ "AWSTemplateFormatVersion": "2010-09-09", "Parameters": { "VpcId": { "Type": "AWS::EC2::VPC::Id", ...
1
vote
1answer
2k views

AWS-CLI installed but not working (Command 'aws' not found) Ubuntu 18.04. How to solve it?

Following these steps to install AWS-CLI in a brand new Ubuntu 18.04: sudo apt update sudo apt upgrade sudo apt install python3-pip sudo apt install npm (I will working with NodeJS) pip3 install ...
2
votes
0answers
106 views

How to extract all dependency files out of package instead of installing them

I need to extract dependency files for libdbus-glib-1-2 and libxt6 package because I need to ship these dependencies to AWS Lambda so I have to manually add these dependencies to my code. I have tried ...
0
votes
1answer
254 views

Cannot access to S3 bucket after upgrade to 20.04

I'm using the following line in /etc/fstab to mount an Amazon Web Services S3 bucket on boot. s3fs#codesurfer-fs:/s3-drive /shares/private-synced fuse _netdev,allow_other,passwd_file=/home/mkay/....
0
votes
0answers
22 views

How to identify if AWS EFS is the root volume for Ubuntu?

I have a Ubuntu 18.04 instance and df- h command returns below output. Filesystem Size Used Avail Use% Mounted on udev ...
0
votes
0answers
52 views

removing Docker images in AWS Cloud9

I am trying to free storage space in my AWS Cloud 9 environment that I use for Ruby on Rails development. I see that I have 1.1GB of reclaimable Docker images: ubuntu:/var/lib/docker $ docker system ...
0
votes
0answers
505 views

freeing storage space using apt-get purge of linux headers, autoclean, and autoremove in AWS Cloud9

I ran out of space in my AWS Cloud9 environment that I use for Ruby on Rails development. My understanding of AWS and Linux is weak, but I investigated by doing this: ubuntu:~/environment $ df -h ...

1
2 3 4 5
7