Skip to main content

Questions tagged [aws]

Amazon Web Services (AWS)

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

Python 3.12: ModuleNotFoundError: No module named 'setuptools' Ubuntu 24.04

i try to use a tool names awsume which i installer per pipx. unfortunately, i cant use the configure mode (awsume-configure). I get the following Error: Traceback (most recent call last): File &...
gdk-questions-ndr's user avatar
0 votes
0 answers
25 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 uses custom Intel Cascade Lake CPUs and NVIDIA T4 GPUs), I'm running Minecraft on it with a simple voice chat plugin. ...
Charlie H's user avatar
0 votes
0 answers
36 views

Can I know which is the correct command to upload the file to the Ubuntu server?

I am trying to upload the file using the terminal to the Ubuntu python3 virtual environment but I am below two getting error. 1. If I am not logged in using the terminal and trying to upload a file ...
user9437856's user avatar
0 votes
1 answer
81 views

No supported authentication methods available (server sent: publickey) while using FTP

I have created an EC2 instance and it's working. I have created the FTP users and passwords successfully. Now while connecting FTP using FileZilla. I am getting below error Command: open "...
user9437856's user avatar
-1 votes
1 answer
218 views

Storage issues ubuntu 24.04

I am using sudo apt-get clean, autoclean, and autoremove. My cache is full and only clears one percent. What is the correct way to free up some space from the command line? Here is the result of ...
user25043725's user avatar
0 votes
1 answer
510 views

Installing AWS CLI v1 on Ubuntu 24 does not work (but works fine on Ubuntu 22)

I have the following dockerfile, which installs AWS CLI according to Amazon's instructions On Ubuntu Jammy, this works fine. The image builds and aws command works as expected. FROM ubuntu:jammy RUN ...
sytech's user avatar
  • 133
0 votes
0 answers
22 views

Vitual host not working after adding the code in the apache2.conf file

I am trying to install SSL on my website but getting issues in the virtual host. I have added below code in /etc/apache2/apacha2.conf and saved it. Now when I try to restart the Apache then I am ...
user9437856's user avatar
-5 votes
1 answer
133 views

Fixing CVE without sudo apt-get upgrade in Ubuntu [closed]

For fix CVE-2024-28085 amazon suggests: Name util-linux Installed version / Fixed version For fix CVE-2024-28085 amazon suggests: Upgrade your installed software packages to the proposed fixed in ...
David's user avatar
  • 224
1 vote
0 answers
95 views

Issues Connecting to Snap Store on IPv6-only AWS Lightsail Instance running Ubuntu 22.04 LTS

I've been experiencing issues connecting to the Snap Store using snapd on an IPv6-only AWS Lightsail instance running Ubuntu. Despite successful IPv6 connectivity tests, snapd fails to connect to the ...
Dwindle7363's user avatar
0 votes
1 answer
2k views

accidentally did `sudo rm -r /*`, can I fix it? [duplicate]

I accidentally did sudo rm -r /* from a directory. I don't know what got deleted. Now I can no longer login to my instance via ssh. Is there a way to recover the instance or creating new one is the ...
Rana's user avatar
  • 1
1 vote
0 answers
97 views

(Some) applications not launching in Ubuntu using VNC on AWS EC2

I am using an Ubuntu 22.04 installation on an AWS EC2 instance (VM). I have installed VNC server and I am accessing the system using VNC Viewer. Initially, applications like Byobu Terminal and gedit ...
Avijit Jaiswal's user avatar
0 votes
1 answer
841 views

AWS EC2 Ubuntu crashing

I am using AWS EC2 with ubuntu 22. After running sudo apt-get update and sudo apt-get upgrade I have restarted the machine using sudo reboot. Then my server started crashing in every 2-3 hours. The ...
urfusion's user avatar
  • 279
0 votes
0 answers
119 views

How to sync an Ubuntu machine inside AWS using NTP

I have an Ubuntu instance inside AWS, which communicates with a third-party instance, also in AWS. I would like to ensure my instance's system time matches their's as close as possible. They have told ...
intrigued_66's user avatar
0 votes
0 answers
68 views

Handling DNS Resolution Failure after Releasing the Primary Public IP on Linux Machine with Multiple IPs

I am encountering an issue on my Linux machine with multiple network interfaces and IP addresses. Specifically, after releasing the primary public IP (let's call it 112. * .* .1) on the ens3 interface,...
鱼鱼鱼三条鱼's user avatar
1 vote
1 answer
356 views

Why has the latest Ubuntu Pro AMI and unsupported Kernel

Short The latest ubuntu pro AMI in eu-central-1 has an unsupported Kernel which has reached the end of its livepatch support. Which AMI should I use to start a recent, working LTS 22.04 Pro Ubuntu, ...
eigenbrodtm's user avatar
0 votes
1 answer
240 views

Ubuntu Pro 22.04 AMI not available?

We currently build a golden image from the Ubuntu 22.04 AMI offered from Canonical, however there are security patches that are only available through Ubuntu Pro. In researching creating an AMI from ...
Brad R's user avatar
  • 3
0 votes
0 answers
322 views

port 22: Connection refused, but only 60% of the time

I am running this: ssh_command = f'ssh -vvv -o StrictHostKeyChecking=no -i {private_key_file} ubuntu@{public_ip}' # Use os.system to execute the SSH command in a subshell os.system(ssh_command) ...
BigMistake's user avatar
0 votes
0 answers
378 views

AWS Ubuntu 22.04 Interface Down on Reboot

Using Ubuntu 22.04.01 via AWS and just did a kernel update (among other items in apt upgrade) to 6.2.0-1017-aws and rebooted. Had to console in because connectivity was failing with no network changes....
Joey's user avatar
  • 109
0 votes
0 answers
169 views

Ubuntu Pro on AWS | Temporary failure in name resolution

I created a new EC2 instance with Ubuntu Pro 22.04 image. After 1st access, I updated system packages and Audited/fixed using usg command. After usg fix command, I rebooted the system and upon 1st ...
Muhammad Laique Sario's user avatar
1 vote
1 answer
249 views

Deleting lines beginning with a string

I wrote a bash script that I use to backup certain directories to the cloud. I then direct that output to a log file. The log file consists of lines starting with either "upload" or "...
Kenneth Odle's user avatar
0 votes
0 answers
96 views

Acess Aws server files using FTP like filezilla without .pem file

My Manager sent me AWS server credentails and told me to connect with filezilla. He gave the Hostname & User : ubuntu , but when i asked for .pem or ssh key file, he told my system's key is ...
spylh9999ggr's user avatar
0 votes
1 answer
310 views

AWS userdata does not run on custom Ubuntu AMI

I've created a custom Ubuntu ISO with Autoinstall and userdata to set up a virtual machine (VM) in our VMware setup. This VM is then converted to OVA format, uploaded to AWS S3, and converted to an ...
Utz's user avatar
  • 79
0 votes
0 answers
139 views

Issue in nvidia-smi version and docker cuda ref in ubuntu 20.04

The issue in Ubuntu 20.04: Issue in Cuda Version: ERR! Issue in Cuda ref in Docker like: cudaloader gstcudaloader.c:169:gst_cuda_load_library: Could not open library libcuda.so.1, libcuda.so.1: ...
Vikram Jain's user avatar
0 votes
0 answers
67 views

Empty network related files appearing in home directory periodically

Why are these empty files appearing in my home directory periodically? -rw-rw-rw- 1 ubuntu ubuntu 0 Jun 22 05:40 ip-172-31-15-<censored>-9e994000.13551491757067348536736786 -rw-rw-rw- 1 ...
Gert's user avatar
  • 9
0 votes
0 answers
155 views

How to set a static IP on a `tunnel` network?

I am using amazon AWS VPN endpoint and I have a ubuntu 20.04 client for which I would like to have a static IP on the VPN network. I cannot find any examples on how to setup the /etc/netplan/50-cloud-...
matthieu's user avatar
0 votes
0 answers
104 views

Could not install packages due to an Environment Error: [Errno 28] No space left on device

I am trying to install the terserflow. I have a t2.xlarge instance type but every time I get an error. Can you please help me with how much storage I have to take? ERROR: Could not install packages ...
user9437856's user avatar
1 vote
1 answer
1k views

Cron not working in the new EC2 instance. If run manually then it's working

I have set up a new EC2 instance. Everything is working perfectly. Now this morning I have set the cron and below is an example of cron */5 * * * * /usr/bin/php https://www.xyz.in/api/cron/index.php ...
user9437856's user avatar
0 votes
0 answers
215 views

Unable to bind MAC Address with interfaces in ubuntu

I am running Ubuntu 20.04 on an AWS environment. While trying to bind MAC Address to interfaces in netplan YAML file. The changes are not working as expected. I followed the following configuration, ...
raw-bean's user avatar
0 votes
0 answers
90 views

Terraform AWS EC2 Instance stops installing remote commands because of Ubuntu Kernel Upgrade

I'm trying to boot up an EC2 instance on AWS using Terraform. So far the config is good and the instance works. SSH into the instance also works through Terraform security groups etc. However I want ...
busuu's user avatar
  • 101
2 votes
1 answer
758 views

What are these non-generic kernels ending in azure, aws, nvidia, oem, oracle, gcp and how did they get installed?

I run Ubuntu 22.04.3 LTS on a Dell laptop. I noticed that I have quite a few kernels that are non-generic, but I don't know how they got installed. The kernels ending in -azure, -aws, -nvidia, and -...
jmsjr's user avatar
  • 133
1 vote
1 answer
382 views

Can’t start IPFS daemon - ipfs.service: Failed with result ‘exit-code’

Even though I'm a noob, I decided to launch a new AWS Ubuntu instance for my IPFS node and encountering errors. I followed this tutorial - https://medium.com/textileio/tutorial-setting-up-an-ipfs-peer-...
bafew80778's user avatar
0 votes
1 answer
226 views

AWS EC2 ubuntu box authentication by using Azure AD

I need your help to integrate user account on AWS EC2 ubuntu box by using Azure AD Credentials. We have an azure account where we have created users which in used by email and other SSO services. we ...
bhupesh k's user avatar
0 votes
0 answers
404 views

Header set Access-Control-Allow-Origin code added but nothing is happening

I am trying to solve the below option on my website Strict-Transport-Security Content-Security-Policy X-Frame-Options X-Content-Type-Options Referrer-Policy Permissions-Policy I found the below ...
user9437856's user avatar
0 votes
0 answers
451 views

FATAL ERROR: Remote side sent disconnect message in filezila

I am using FileZilla to connect my Ubuntu server using the PPK file but every time I am getting the below error. Yesterday it was working but today I tried several times but not working. I have ...
user9437856's user avatar
0 votes
0 answers
567 views

Can't increase the root partition size on Ubuntu 20.04

I am currently using ubuntu 20.04 (AWS Ec2) machine. My root filesystem has no more space as per the below output sudo df -h Filesystem Size Used Avail Use% Mounted on /dev/root 7.6G 7....
Alakananda S's user avatar
0 votes
0 answers
155 views

Plesk Web Admin SE

I have install the Plesk Web Admin SE Ubuntu for AWS Lightsail. Prior I had no issues but now after 3 months it no longer works and asks for a paid key. I emailed AWS and they said I need to contact ...
Gene Teigland's user avatar
1 vote
1 answer
1k views

SSH access to Ubuntu Permission denied (publickey)

I'm trying to create a new user in ubuntu with keybased authentication and to configure Github actions (via ssh) to deploy any new change done on my branch, however am stuck with SSH connection to ...
Harry's user avatar
  • 121
0 votes
1 answer
1k views

UnicodeEncodeError: 'utf-8' codec can't encode characters in position 4-6: surrogates not allowed

I have written a small code snippet to check the aws cli version #!/bin/bash if [ -e "/usr/local/bin/aws" ]; then myAWS="/usr/local/bin/aws" else myAWS="/usr/bin/aws&...
AashkaTe's user avatar
0 votes
1 answer
2k views

Problem with SFTP: "Credentials were not accepted by the server"

I'm using an instance of Ubuntu 22.04.1 LTS via AWS, having enabled ports 22 and 443 in Ubuntu via ufw, and I'm using a Security Group with those same ports enabled. Although I'm able to connect via ...
Wayne Smallman's user avatar
1 vote
0 answers
137 views

ip-10-100-28-20 login: [ 17.201999] overlayfs: missing 'lowerdir'

Ubuntu 22.04 running on an AWS instance which is shutdown most evenings and restarted in the morning. Has been running without issue for @6 months Failed to start this morning with the error as shown: ...
999frogs's user avatar
1 vote
1 answer
2k views

aws ubuntu 22.04 jammy ec2s can't apt-get update from aws archive 503s

As per title, unable to apt-get / apt anything and index appears down for ap-southeast-2. I have a collection of ec2s for a kubernetes lab cluster for a workshop, so I'm bringing it up and down every ...
GorginZ's user avatar
  • 11
0 votes
0 answers
174 views

Installing LAMP stack without MySQL on AWS

I want to host basic websites on AWS. I got my head around creating an instance, choosing a distro (Ubuntu) and installing Apache. I want to install PHP, but these basic websites don't require a ...
Neil Meyer's user avatar
0 votes
1 answer
9k views

Created vm with virt-manager but it won't boot. Says on bootable device

I am running dual boot Windows 11 Pro and Ubuntu 20.04. Everything works when I boot to Windows, but I can't set up the VM on ubuntu. Created vm with virt-manager but it won't boot. Says on bootable ...
Anna Naden's user avatar
1 vote
1 answer
1k views

How do I get rid of the AWS CloudWatch agent from my server?

When using htop, I can see this process: /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent I don't need the cloudwatch agent on this server, how do I remove it?
PavKR's user avatar
  • 161
0 votes
0 answers
130 views

debugng 2GB AWS server hang with Netbox, Python 3.8

I have a AWS t3.micro 2GB 20.04 machine, that i want to use for Netbox software. I created a RDS instance in AWS, so no DB problem on computing, back-end side. When i complete all steps in the Netbox ...
frknl's user avatar
  • 1
0 votes
1 answer
451 views

How to setup port to subdomain in AWS?

I have a domain (e.g. example.com) registered with godaddy.com and use AWS for hosting. Nameserver on Godaddy later added to AWS I have an ubuntu (t2.medium) apache server installed. My project in ...
Gobinda Nandi's user avatar
1 vote
0 answers
291 views

issue with aws cli on wsl2 (windows subsystem for Linux)

I am using wsl2 on windows 10, but I am unable to access some eks features through AWS cli. I have credentials set on the windows system and everything works. I installed aws cli on wsl2 ubuntu 20.04 ...
piernik's user avatar
  • 111
0 votes
2 answers
548 views

How can I increase Ubuntu hard drive space on AWS when resize2fs says there is nothing to do?

I've looked at a few tutorials, they say - Step 1) run df -h $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 7.7G 6.1G 1.7G 79% / devtmpfs 3.9G 0 3.9G 0% /dev ...
alilland's user avatar
  • 123
1 vote
0 answers
51 views

Ubuntu downgrade on encrypted drive

On my laptop I have dualboot with win10. Win10 partition is encrypted with Bitlocker and Ubuntu partition is installed on encrypted LUKS partition (boot is not encrypted, home and other folders are in ...
doggy's user avatar
  • 11
2 votes
0 answers
715 views

Unable to apt-get update on IPv6-only ubuntu server

Whenever I try to apt-get update on my IPv6-only ubuntu server, the command fails with connect (101: Network is unreachable) Cannot initiate the connection to us-east-2.ec2.archive.ubuntu.com:80 (52....
Benjamin Lloyd's user avatar

1
2 3 4 5
8